Searched refs:PhiNode (Results 1 – 4 of 4) sorted by relevance
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 1229 CAMLprim value llvm_add_incoming(value Incoming, LLVMValueRef PhiNode) { in llvm_add_incoming() argument 1230 LLVMAddIncoming(PhiNode, in llvm_add_incoming() 1238 CAMLprim value llvm_incoming(LLVMValueRef PhiNode) { in llvm_incoming() argument 1245 for (I = LLVMCountIncoming(PhiNode); I != 0; ) { in llvm_incoming() 1247 Store_field(Hd, 0, (value) LLVMGetIncomingValue(PhiNode, --I)); in llvm_incoming() 1248 Store_field(Hd, 1, (value) LLVMGetIncomingBlock(PhiNode, I)); in llvm_incoming() 1869 LLVMValueRef FirstValue, PhiNode; in llvm_build_phi() local 1875 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi() 1880 LLVMAddIncoming(PhiNode, (LLVMValueRef*) &Field(Hd, 0), in llvm_build_phi() 1884 return PhiNode; in llvm_build_phi()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 2233 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, 2239 unsigned LLVMCountIncoming(LLVMValueRef PhiNode); 2244 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index); 2249 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index);
|
/external/llvm/lib/VMCore/ |
D | Core.cpp | 1691 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument 1693 PHINode *PhiVal = unwrap<PHINode>(PhiNode); in LLVMAddIncoming() 1698 unsigned LLVMCountIncoming(LLVMValueRef PhiNode) { in LLVMCountIncoming() argument 1699 return unwrap<PHINode>(PhiNode)->getNumIncomingValues(); in LLVMCountIncoming() 1702 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingValue() argument 1703 return wrap(unwrap<PHINode>(PhiNode)->getIncomingValue(Index)); in LLVMGetIncomingValue() 1706 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingBlock() argument 1707 return wrap(unwrap<PHINode>(PhiNode)->getIncomingBlock(Index)); in LLVMGetIncomingBlock()
|
/external/llvm/test/Bindings/Ocaml/ |
D | vmcore.ml | 1264 (* RUN: grep "PhiNode.*P1.*PhiBlock1.*P2.*PhiBlock2" < %t.ll 1274 let phi = build_phi [(p1, b1)] "PhiNode" at_jb in
|