Home
last modified time | relevance | path

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

/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1392 CAMLprim value llvm_add_incoming(value Incoming, LLVMValueRef PhiNode) { in llvm_add_incoming() argument
1393 LLVMAddIncoming(PhiNode, in llvm_add_incoming()
1401 CAMLprim value llvm_incoming(LLVMValueRef PhiNode) { in llvm_incoming() argument
1408 for (I = LLVMCountIncoming(PhiNode); I != 0; ) { in llvm_incoming()
1410 Store_field(Hd, 0, (value) LLVMGetIncomingValue(PhiNode, --I)); in llvm_incoming()
1411 Store_field(Hd, 1, (value) LLVMGetIncomingBlock(PhiNode, I)); in llvm_incoming()
2050 LLVMValueRef FirstValue, PhiNode; in llvm_build_phi() local
2056 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
2061 LLVMAddIncoming(PhiNode, (LLVMValueRef*) &Field(Hd, 0), in llvm_build_phi()
2065 return PhiNode; in llvm_build_phi()
/external/llvm/include/llvm-c/
DCore.h2459 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues,
2465 unsigned LLVMCountIncoming(LLVMValueRef PhiNode);
2470 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index);
2475 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index);
/external/llvm/lib/IR/
DCore.cpp1937 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument
1939 PHINode *PhiVal = unwrap<PHINode>(PhiNode); in LLVMAddIncoming()
1944 unsigned LLVMCountIncoming(LLVMValueRef PhiNode) { in LLVMCountIncoming() argument
1945 return unwrap<PHINode>(PhiNode)->getNumIncomingValues(); in LLVMCountIncoming()
1948 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingValue() argument
1949 return wrap(unwrap<PHINode>(PhiNode)->getIncomingValue(Index)); in LLVMGetIncomingValue()
1952 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingBlock() argument
1953 return wrap(unwrap<PHINode>(PhiNode)->getIncomingBlock(Index)); in LLVMGetIncomingBlock()
/external/llvm/test/Bindings/Ocaml/
Dvmcore.ml1329 (* CHECK: PhiNode{{.*}}P1{{.*}}PhiBlock1{{.*}}P2{{.*}}PhiBlock2
1339 let phi = build_phi [(p1, b1)] "PhiNode" at_jb in