Home
last modified time | relevance | path

Searched refs:PhiNode (Results 1 – 4 of 4) sorted by relevance

/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1531 CAMLprim value llvm_add_incoming(value Incoming, LLVMValueRef PhiNode) { in llvm_add_incoming() argument
1532 LLVMAddIncoming(PhiNode, in llvm_add_incoming()
1540 CAMLprim value llvm_incoming(LLVMValueRef PhiNode) { in llvm_incoming() argument
1547 for (I = LLVMCountIncoming(PhiNode); I != 0; ) { in llvm_incoming()
1549 Store_field(Hd, 0, (value) LLVMGetIncomingValue(PhiNode, --I)); in llvm_incoming()
1550 Store_field(Hd, 1, (value) LLVMGetIncomingBlock(PhiNode, I)); in llvm_incoming()
2187 LLVMValueRef FirstValue, PhiNode; in llvm_build_phi() local
2193 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
2198 LLVMAddIncoming(PhiNode, (LLVMValueRef*) &Field(Hd, 0), in llvm_build_phi()
2202 return PhiNode; in llvm_build_phi()
[all …]
/external/llvm/include/llvm-c/
DCore.h2515 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues,
2521 unsigned LLVMCountIncoming(LLVMValueRef PhiNode);
2526 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index);
2531 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index);
/external/llvm/lib/IR/
DCore.cpp2135 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument
2137 PHINode *PhiVal = unwrap<PHINode>(PhiNode); in LLVMAddIncoming()
2142 unsigned LLVMCountIncoming(LLVMValueRef PhiNode) { in LLVMCountIncoming() argument
2143 return unwrap<PHINode>(PhiNode)->getNumIncomingValues(); in LLVMCountIncoming()
2146 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingValue() argument
2147 return wrap(unwrap<PHINode>(PhiNode)->getIncomingValue(Index)); in LLVMGetIncomingValue()
2150 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingBlock() argument
2151 return wrap(unwrap<PHINode>(PhiNode)->getIncomingBlock(Index)); in LLVMGetIncomingBlock()
/external/llvm/test/Bindings/OCaml/
Dcore.ml1415 (* CHECK: PhiNode{{.*}}P1{{.*}}PhiBlock1{{.*}}P2{{.*}}PhiBlock2
1425 let phi = build_phi [(p1, b1)] "PhiNode" at_jb in