Home
last modified time | relevance | path

Searched refs:PhiNode (Results 1 – 24 of 24) 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-project/llvm/include/llvm/CodeGen/
DRDFGraph.h614 struct PhiNode : public InstrNode { struct
631 void addPhi(NodeAddr<PhiNode*> PA, const DataFlowGraph &G); argument
822 NodeAddr<PhiUseNode*> newPhiUse(NodeAddr<PhiNode*> Owner,
829 NodeAddr<PhiNode*> newPhi(NodeAddr<BlockNode*> Owner);
946 raw_ostream &operator<<(raw_ostream &OS, const Print<NodeAddr<PhiNode *>> &P);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFGraph.h614 struct PhiNode : public InstrNode { struct
631 void addPhi(NodeAddr<PhiNode*> PA, const DataFlowGraph &G); argument
826 NodeAddr<PhiUseNode*> newPhiUse(NodeAddr<PhiNode*> Owner,
833 NodeAddr<PhiNode*> newPhi(NodeAddr<BlockNode*> Owner);
950 raw_ostream &operator<<(raw_ostream &OS, const Print<NodeAddr<PhiNode *>> &P);
DRDFLiveness.cpp173 NodeAddr<PhiNode*> PA = IA; in getAllReachingDefs()
303 NodeAddr<PhiNode*> PA = DA.Addr->getOwner(DFG); in getAllReachingDefsRecImpl()
442 for (NodeAddr<PhiNode*> PhiA : Phis) { in computePhiInfo()
616 auto PA = DFG.addr<PhiNode*>(PhiUQ[i]); in computePhiInfo()
669 NodeAddr<PhiNode*> PA = DFG.addr<PhiNode*>(I.first); in computePhiInfo()
744 for (NodeAddr<PhiNode*> PA : Phis) { in computeLiveIns()
DRDFGraph.cpp218 raw_ostream &operator<< (raw_ostream &OS, const Print<NodeAddr<PhiNode*>> &P) { in operator <<()
253 OS << PrintNode<PhiNode*>(P.Obj, P.G); in operator <<()
546 void BlockNode::addPhi(NodeAddr<PhiNode*> PA, const DataFlowGraph &G) { in addPhi()
813 NodeAddr<PhiUseNode*> DataFlowGraph::newPhiUse(NodeAddr<PhiNode*> Owner, in newPhiUse()
837 NodeAddr<PhiNode*> DataFlowGraph::newPhi(NodeAddr<BlockNode*> Owner) { in newPhi()
838 NodeAddr<PhiNode*> PA = newNode(NodeAttrs::Code | NodeAttrs::Phi); in newPhi()
908 NodeAddr<PhiNode*> PA = newPhi(EA); in build()
933 NodeAddr<PhiNode*> PA = newPhi(BA); in build()
1486 NodeAddr<PhiNode*> PA = newPhi(BA); in buildPhis()
1540 auto PA = addr<PhiNode*>(PhiQ[0]); in removeUnusedPhis()
DHexagonOptAddrMode.cpp262 NodeAddr<PhiNode *> PA = UA.Addr->getOwner(*DFG); in getAllRealUses()
/external/llvm-project/llvm/lib/CodeGen/
DRDFLiveness.cpp167 NodeAddr<PhiNode*> PA = IA; in getAllReachingDefs()
343 NodeAddr<PhiNode*> PA = DA.Addr->getOwner(DFG); in getAllReachingDefsRecImpl()
482 for (NodeAddr<PhiNode*> PhiA : Phis) { in computePhiInfo()
673 auto PA = DFG.addr<PhiNode*>(PhiUQ[i]); in computePhiInfo()
726 NodeAddr<PhiNode*> PA = DFG.addr<PhiNode*>(I.first); in computePhiInfo()
801 for (NodeAddr<PhiNode*> PA : Phis) { in computeLiveIns()
DRDFGraph.cpp218 raw_ostream &operator<< (raw_ostream &OS, const Print<NodeAddr<PhiNode*>> &P) { in operator <<()
253 OS << PrintNode<PhiNode*>(P.Obj, P.G); in operator <<()
546 void BlockNode::addPhi(NodeAddr<PhiNode*> PA, const DataFlowGraph &G) { in addPhi()
815 NodeAddr<PhiUseNode*> DataFlowGraph::newPhiUse(NodeAddr<PhiNode*> Owner, in newPhiUse()
839 NodeAddr<PhiNode*> DataFlowGraph::newPhi(NodeAddr<BlockNode*> Owner) { in newPhi()
840 NodeAddr<PhiNode*> PA = newNode(NodeAttrs::Code | NodeAttrs::Phi); in newPhi()
910 NodeAddr<PhiNode*> PA = newPhi(EA); in build()
935 NodeAddr<PhiNode*> PA = newPhi(BA); in build()
1483 NodeAddr<PhiNode*> PA = newPhi(BA); in buildPhis()
1537 auto PA = addr<PhiNode*>(PhiQ[0]); in removeUnusedPhis()
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1697 CAMLprim value llvm_add_incoming(value Incoming, LLVMValueRef PhiNode) { in llvm_add_incoming() argument
1698 LLVMAddIncoming(PhiNode, in llvm_add_incoming()
1706 CAMLprim value llvm_incoming(LLVMValueRef PhiNode) { in llvm_incoming() argument
1713 for (I = LLVMCountIncoming(PhiNode); I != 0; ) { in llvm_incoming()
1715 Store_field(Hd, 0, (value) LLVMGetIncomingValue(PhiNode, --I)); in llvm_incoming()
1716 Store_field(Hd, 1, (value) LLVMGetIncomingBlock(PhiNode, I)); in llvm_incoming()
2358 LLVMValueRef FirstValue, PhiNode; in llvm_build_phi() local
2364 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
2369 LLVMAddIncoming(PhiNode, (LLVMValueRef*) &Field(Hd, 0), in llvm_build_phi()
2373 return PhiNode; in llvm_build_phi()
[all …]
/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/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-project/llvm/lib/Target/X86/
DX86LoadValueInjectionLoadHardening.cpp374 NodeAddr<PhiNode *> Phi = Use.Addr->getOwner(DFG); in getGadgetGraph()
472 for (NodeAddr<PhiNode *> ArgPhi : in getGadgetGraph()
/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/llvm-project/llvm/include/llvm-c/
DCore.h3483 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues,
3489 unsigned LLVMCountIncoming(LLVMValueRef PhiNode);
3494 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index);
3499 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3446 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues,
3452 unsigned LLVMCountIncoming(LLVMValueRef PhiNode);
3457 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index);
3462 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index);
/external/llvm-project/llvm/lib/IR/
DCore.cpp2973 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument
2975 PHINode *PhiVal = unwrap<PHINode>(PhiNode); in LLVMAddIncoming()
2980 unsigned LLVMCountIncoming(LLVMValueRef PhiNode) { in LLVMCountIncoming() argument
2981 return unwrap<PHINode>(PhiNode)->getNumIncomingValues(); in LLVMCountIncoming()
2984 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingValue() argument
2985 return wrap(unwrap<PHINode>(PhiNode)->getIncomingValue(Index)); in LLVMGetIncomingValue()
2988 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingBlock() argument
2989 return wrap(unwrap<PHINode>(PhiNode)->getIncomingBlock(Index)); in LLVMGetIncomingBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp2937 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument
2939 PHINode *PhiVal = unwrap<PHINode>(PhiNode); in LLVMAddIncoming()
2944 unsigned LLVMCountIncoming(LLVMValueRef PhiNode) { in LLVMCountIncoming() argument
2945 return unwrap<PHINode>(PhiNode)->getNumIncomingValues(); in LLVMCountIncoming()
2948 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingValue() argument
2949 return wrap(unwrap<PHINode>(PhiNode)->getIncomingValue(Index)); in LLVMGetIncomingValue()
2952 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) { in LLVMGetIncomingBlock() argument
2953 return wrap(unwrap<PHINode>(PhiNode)->getIncomingBlock(Index)); in LLVMGetIncomingBlock()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonOptAddrMode.cpp262 NodeAddr<PhiNode *> PA = UA.Addr->getOwner(*DFG); in getAllRealUses()
/external/llvm-project/llvm/docs/
DMemorySSA.rst71 ``MemoryPhi``\ s are ``PhiNode``\ s, but for memory operations. If at any
/external/llvm/test/Bindings/OCaml/
Dcore.ml1395 (* CHECK: PhiNode{{.*}}P1{{.*}}PhiBlock1{{.*}}P2{{.*}}PhiBlock2
1405 let phi = build_phi [(p1, b1)] "PhiNode" at_jb in
/external/llvm-project/llvm/test/Bindings/OCaml/
Dcore.ml1473 (* CHECK: PhiNode{{.*}}P1{{.*}}PhiBlock1{{.*}}P2{{.*}}PhiBlock2
1483 let phi = build_phi [(p1, b1)] "PhiNode" at_jb in