summaryrefslogtreecommitdiff
path: root/include/llvm/IR/IntrinsicsPowerPC.td
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/IR/IntrinsicsPowerPC.td')
-rw-r--r--include/llvm/IR/IntrinsicsPowerPC.td5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/IR/IntrinsicsPowerPC.td b/include/llvm/IR/IntrinsicsPowerPC.td
index 5664f79250..49ddfb8b61 100644
--- a/include/llvm/IR/IntrinsicsPowerPC.td
+++ b/include/llvm/IR/IntrinsicsPowerPC.td
@@ -30,6 +30,11 @@ let TargetPrefix = "ppc" in { // All intrinsics start with "llvm.ppc.".
// sync instruction
def int_ppc_sync : Intrinsic<[], [], []>;
+
+ // Intrinsics used to generate ctr-based loops. These should only be
+ // generated by the PowerPC backend!
+ def int_ppc_mtctr : Intrinsic<[], [llvm_anyint_ty], []>;
+ def int_ppc_is_decremented_ctr_nonzero : Intrinsic<[llvm_i1_ty], [], []>;
}