Searched refs:PhiNode (Results 1 – 4 of 4) sorted by relevance
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 1520 CAMLprim value llvm_add_incoming(value Incoming, LLVMValueRef PhiNode) { in llvm_add_incoming() argument 1521 LLVMAddIncoming(PhiNode, in llvm_add_incoming() 1529 CAMLprim value llvm_incoming(LLVMValueRef PhiNode) { in llvm_incoming() argument 1536 for (I = LLVMCountIncoming(PhiNode); I != 0; ) { in llvm_incoming() 1538 Store_field(Hd, 0, (value) LLVMGetIncomingValue(PhiNode, --I)); in llvm_incoming() 1539 Store_field(Hd, 1, (value) LLVMGetIncomingBlock(PhiNode, I)); in llvm_incoming() 2176 LLVMValueRef FirstValue, PhiNode; in llvm_build_phi() local 2182 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi() 2187 LLVMAddIncoming(PhiNode, (LLVMValueRef*) &Field(Hd, 0), in llvm_build_phi() 2191 return PhiNode; in llvm_build_phi() [all …]
|
/external/llvm/include/llvm-c/ |
D | Core.h | 2583 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, 2589 unsigned LLVMCountIncoming(LLVMValueRef PhiNode); 2594 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index); 2599 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index);
|
/external/llvm/lib/IR/ |
D | Core.cpp | 2111 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument 2113 PHINode *PhiVal = unwrap<PHINode>(PhiNode); in LLVMAddIncoming() 2118 unsigned LLVMCountIncoming(LLVMValueRef PhiNode) { in LLVMCountIncoming() argument 2119 return unwrap<PHINode>(PhiNode)->getNumIncomingValues(); in LLVMCountIncoming() 2122 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingValue() argument 2123 return wrap(unwrap<PHINode>(PhiNode)->getIncomingValue(Index)); in LLVMGetIncomingValue() 2126 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingBlock() argument 2127 return wrap(unwrap<PHINode>(PhiNode)->getIncomingBlock(Index)); in LLVMGetIncomingBlock()
|
/external/llvm/test/Bindings/OCaml/ |
D | core.ml | 1415 (* CHECK: PhiNode{{.*}}P1{{.*}}PhiBlock1{{.*}}P2{{.*}}PhiBlock2 1425 let phi = build_phi [(p1, b1)] "PhiNode" at_jb in
|