Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/
DRDFLiveness.cpp141 NodeAddr<PhiNode*> PA = IA; in getAllReachingDefs()
266 NodeAddr<PhiNode*> PA = DA.Addr->getOwner(DFG); in getAllReachingDefsRec()
340 for (NodeAddr<PhiNode*> PhiA : Phis) { in computePhiInfo()
474 auto PA = DFG.addr<PhiNode*>(PhiUQ[i]); in computePhiInfo()
512 NodeAddr<PhiNode*> PA = DFG.addr<PhiNode*>(I.first); in computePhiInfo()
588 for (NodeAddr<PhiNode*> PA : Phis) { in computeLiveIns()
DRDFGraph.h568 struct PhiNode : public InstrNode { struct
584 void addPhi(NodeAddr<PhiNode*> PA, const DataFlowGraph &G); argument
745 NodeAddr<PhiUseNode*> newPhiUse(NodeAddr<PhiNode*> Owner,
752 NodeAddr<PhiNode*> newPhi(NodeAddr<BlockNode*> Owner);
DRDFGraph.cpp202 raw_ostream &operator<< (raw_ostream &OS, const Print<NodeAddr<PhiNode*>> &P) { in operator <<()
222 OS << PrintNode<PhiNode*>(P.Obj, P.G); in operator <<()
516 void BlockNode::addPhi(NodeAddr<PhiNode*> PA, const DataFlowGraph &G) { in addPhi()
877 NodeAddr<PhiUseNode*> DataFlowGraph::newPhiUse(NodeAddr<PhiNode*> Owner, in newPhiUse()
901 NodeAddr<PhiNode*> DataFlowGraph::newPhi(NodeAddr<BlockNode*> Owner) { in newPhi()
902 NodeAddr<PhiNode*> PA = newNode(NodeAttrs::Code | NodeAttrs::Phi); in newPhi()
954 NodeAddr<PhiNode*> PA = newPhi(EA); in build()
1411 NodeAddr<PhiNode*> PA = newPhi(BA); in buildPhis()
1466 auto PA = addr<PhiNode*>(PhiQ[0]); in removeUnusedPhis()
DHexagonOptAddrMode.cpp230 NodeAddr<PhiNode *> PA = UA.Addr->getOwner(*DFG); in getAllRealUses()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1587 CAMLprim value llvm_add_incoming(value Incoming, LLVMValueRef PhiNode) { in llvm_add_incoming() argument
1588 LLVMAddIncoming(PhiNode, in llvm_add_incoming()
1596 CAMLprim value llvm_incoming(LLVMValueRef PhiNode) { in llvm_incoming() argument
1603 for (I = LLVMCountIncoming(PhiNode); I != 0; ) { in llvm_incoming()
1605 Store_field(Hd, 0, (value) LLVMGetIncomingValue(PhiNode, --I)); in llvm_incoming()
1606 Store_field(Hd, 1, (value) LLVMGetIncomingBlock(PhiNode, I)); in llvm_incoming()
2243 LLVMValueRef FirstValue, PhiNode; in llvm_build_phi() local
2249 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
2254 LLVMAddIncoming(PhiNode, (LLVMValueRef*) &Field(Hd, 0), in llvm_build_phi()
2258 return PhiNode; in llvm_build_phi()
[all …]
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c1230 CAMLprim value llvm_add_incoming(value Incoming, LLVMValueRef PhiNode) { in llvm_add_incoming() argument
1231 LLVMAddIncoming(PhiNode, in llvm_add_incoming()
1239 CAMLprim value llvm_incoming(LLVMValueRef PhiNode) { in llvm_incoming() argument
1246 for (I = LLVMCountIncoming(PhiNode); I != 0; ) { in llvm_incoming()
1248 Store_field(Hd, 0, (value) LLVMGetIncomingValue(PhiNode, --I)); in llvm_incoming()
1249 Store_field(Hd, 1, (value) LLVMGetIncomingBlock(PhiNode, I)); in llvm_incoming()
1867 LLVMValueRef FirstValue, PhiNode; in llvm_build_phi() local
1873 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
1878 LLVMAddIncoming(PhiNode, (LLVMValueRef*) &Field(Hd, 0), in llvm_build_phi()
1882 return PhiNode; in llvm_build_phi()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DCore.cpp1661 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument
1663 PHINode *PhiVal = unwrap<PHINode>(PhiNode); in LLVMAddIncoming()
1668 unsigned LLVMCountIncoming(LLVMValueRef PhiNode) { in LLVMCountIncoming() argument
1669 return unwrap<PHINode>(PhiNode)->getNumIncomingValues(); in LLVMCountIncoming()
1672 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingValue() argument
1673 return wrap(unwrap<PHINode>(PhiNode)->getIncomingValue(Index)); in LLVMGetIncomingValue()
1676 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingBlock() argument
1677 return wrap(unwrap<PHINode>(PhiNode)->getIncomingBlock(Index)); in LLVMGetIncomingBlock()
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h817 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues,
819 unsigned LLVMCountIncoming(LLVMValueRef PhiNode);
820 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index);
821 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index);
/external/llvm/include/llvm-c/
DCore.h2806 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues,
2812 unsigned LLVMCountIncoming(LLVMValueRef PhiNode);
2817 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index);
2822 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index);
/external/llvm/lib/IR/
DCore.cpp2328 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument
2330 PHINode *PhiVal = unwrap<PHINode>(PhiNode); in LLVMAddIncoming()
2335 unsigned LLVMCountIncoming(LLVMValueRef PhiNode) { in LLVMCountIncoming() argument
2336 return unwrap<PHINode>(PhiNode)->getNumIncomingValues(); in LLVMCountIncoming()
2339 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingValue() argument
2340 return wrap(unwrap<PHINode>(PhiNode)->getIncomingValue(Index)); in LLVMGetIncomingValue()
2343 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingBlock() argument
2344 return wrap(unwrap<PHINode>(PhiNode)->getIncomingBlock(Index)); in LLVMGetIncomingBlock()
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dvmcore.ml1264 (* RUN: grep {PhiNode.*P1.*PhiBlock1.*P2.*PhiBlock2} < %t.ll
1274 let phi = build_phi [(p1, b1)] "PhiNode" at_jb in
/external/llvm/test/Bindings/OCaml/
Dcore.ml1395 (* CHECK: PhiNode{{.*}}P1{{.*}}PhiBlock1{{.*}}P2{{.*}}PhiBlock2
1405 let phi = build_phi [(p1, b1)] "PhiNode" at_jb in