Revert "InstrProf: When reading, copy the data instead of taking a reference. NFC"
[oota-llvm.git] / include / llvm / Target / TargetCallingConv.td
index d785aa8f453e559d8410b13f2f8612d3eec21f97..2e766c448b34a7a44f5f411ce75a0b57cf0b3b10 100644 (file)
@@ -67,6 +67,9 @@ class CCIfSplit<CCAction A> : CCIf<"ArgFlags.isSplit()", A> {}
 /// the specified action.
 class CCIfSRet<CCAction A> : CCIf<"ArgFlags.isSRet()", A> {}
 
+/// CCIfVarArg - If the current function is vararg - apply the action
+class CCIfVarArg<CCAction A> : CCIf<"State.isVarArg()", A> {}
+
 /// CCIfNotVarArg - If the current function is not vararg - apply the action
 class CCIfNotVarArg<CCAction A> : CCIf<"!State.isVarArg()", A> {}