Add CCIfSRet calling convention predicate.

The blackfin calling convention uses a different register for sret arguments.

llvm-svn: 75417
This commit is contained in:
Jakob Stoklund Olesen 2009-07-12 13:15:50 +00:00
parent 69208f0f9e
commit db953aacc7
1 changed files with 4 additions and 0 deletions

View File

@ -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> {}