summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetCallingConv.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/TargetCallingConv.td')
-rw-r--r--llvm/lib/Target/TargetCallingConv.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetCallingConv.td b/llvm/lib/Target/TargetCallingConv.td
index 94193200eaa..176a848ec02 100644
--- a/llvm/lib/Target/TargetCallingConv.td
+++ b/llvm/lib/Target/TargetCallingConv.td
@@ -45,6 +45,10 @@ class CCIfCC<string CC, CCAction A>
/// the specified action.
class CCIfInReg<CCAction A> : CCIf<"ArgFlags & ISD::ParamFlags::InReg", A> {}
+/// CCIfNest - If this argument is marked with the 'nest' attribute, apply
+/// the specified action.
+class CCIfNest<CCAction A> : CCIf<"ArgFlags & ISD::ParamFlags::Nest", A> {}
+
/// CCIfNotVarArg - If the current function is not vararg - apply the action
class CCIfNotVarArg<CCAction A> : CCIf<"!State.isVarArg()", A> {}
OpenPOWER on IntegriCloud