forked from OSchip/llvm-project
Add CCIfSRet calling convention predicate.
The blackfin calling convention uses a different register for sret arguments. llvm-svn: 75417
This commit is contained in:
parent
69208f0f9e
commit
db953aacc7
|
@ -58,6 +58,10 @@ class CCIfNest<CCAction A> : CCIf<"ArgFlags.isNest()", A> {}
|
|||
/// the specified action.
|
||||
class CCIfSplit<CCAction A> : CCIf<"ArgFlags.isSplit()", A> {}
|
||||
|
||||
/// CCIfSRet - If this argument is marked with the 'sret' attribute, apply
|
||||
/// the specified action.
|
||||
class CCIfSRet<CCAction A> : CCIf<"ArgFlags.isSRet()", A> {}
|
||||
|
||||
/// CCIfNotVarArg - If the current function is not vararg - apply the action
|
||||
class CCIfNotVarArg<CCAction A> : CCIf<"!State.isVarArg()", A> {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue