Home
last modified time | relevance | path

Searched refs:Phis (Results 1 – 25 of 32) sorted by relevance

12

/external/swiftshader/third_party/subzero/src/
DIceCfgNode.h78 PhiList &getPhis() { return Phis; } in getPhis()
80 const PhiList &getPhis() const { return Phis; } in getPhis()
148 PhiList Phis; /// unordered set of phi instructions variable
DIceCfgNode.cpp48 Phis.push_back(Phi); in appendInst()
87 removeDeletedAndRenumber(&Phis, Func); in renumberInstructions()
116 for (Inst &Instr : Phis) { in enforcePhiConsistency()
166 for (Inst &I : Phis) { in placePhiLoads()
258 for (Inst &I : Succ->Phis) { in placePhiStores()
275 for (Inst &I : Phis) in deletePhis()
454 for (Inst &I : Phis) { in advancedPhiLowering()
643 for (Inst &I : Phis) { in livenessLightweight()
680 for (Inst &I : Succ->Phis) { in liveness()
702 for (Inst &I : Phis) { in liveness()
[all …]
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Dswp-reuse-phi.ll4 ; Test that the code which reuses existing Phis works when the Phis are used
Dswp-phi-chains.ll4 ; Test that there is a chain edge between two dependent Phis.
5 ; The pipeliner tries to remove chains between unrelated Phis, but
6 ; was too aggressive in some cases. When this happens the two Phis may get
Dswp-xxh2.ll5 ; The problem is choosing the correct name for the Phis in the epilog.
Dswp-exit-fixup.ll4 ; Make sure we fix up the Phis when we connect the last
Dswp-max-stage3.ll4 ; Check Phis are generated correctly in epilogs after setting -swp-max-stages=3
Dswp-multi-phi-refs.ll4 ; Test that we generate the correct names for Phis when there is
Dswp-epilog-phi9.ll5 ; 2, so the computation for the number of Phis needs to be adjusted when
Dswp-phi.ll5 ; Test that checks we dont crash when SWP a loop with lots of Phis, and
6 ; the Phi operand refer to Phis from the same loop.
Dswp-phi-ch-offset.ll4 ; chain dependences between Phis and generated a better pipeline.
Dswp-prolog-phi4.ll4 ; Phis that do not occur in the loop that is being pipelined.
/external/llvm-project/llvm/unittests/IR/
DBasicBlockTest.cpp77 auto Phis = make_filter_range(*BB, isPhi); in TEST() local
79 EXPECT_EQ(std::distance(Phis.begin(), Phis.end()), 3); in TEST()
80 EXPECT_EQ(&*Phis.begin(), P1); in TEST()
/external/llvm/lib/Target/Hexagon/
DRDFLiveness.cpp327 NodeList Phis; in computePhiInfo() local
332 Phis.insert(Phis.end(), Ps.begin(), Ps.end()); in computePhiInfo()
340 for (NodeAddr<PhiNode*> PhiA : Phis) { in computePhiInfo()
587 auto Phis = BA.Addr->members_if(DFG.IsCode<NodeAttrs::Phi>, DFG); in computeLiveIns() local
588 for (NodeAddr<PhiNode*> PA : Phis) { in computeLiveIns()
DHexagonBitSimplify.cpp2527 std::vector<PhiInfo> Phis; in processLoop() local
2547 Phis.push_back(PhiInfo(I, *C.LB)); in processLoop()
2552 for (auto &I : Phis) { in processLoop()
2561 if (Phis.empty()) in processLoop()
2664 if (std::find_if(Phis.begin(), Phis.end(), LoopInpEq) == Phis.end()) in processLoop()
2689 auto F = std::find_if(Phis.begin(), Phis.end(), LoopInpEq); in processLoop()
2690 if (F == Phis.end()) in processLoop()
/external/llvm-project/llvm/lib/CodeGen/
DRDFLiveness.cpp468 NodeList Phis; in computePhiInfo() local
473 Phis.insert(Phis.end(), Ps.begin(), Ps.end()); in computePhiInfo()
482 for (NodeAddr<PhiNode*> PhiA : Phis) { in computePhiInfo()
800 NodeList Phis = BA.Addr->members_if(DFG.IsCode<NodeAttrs::Phi>, DFG); in computeLiveIns() local
801 for (NodeAddr<PhiNode*> PA : Phis) { in computeLiveIns()
DModuloSchedule.cpp1262 DenseMap<std::pair<unsigned, unsigned>, Register> Phis; member in __anon35e9a5c80111::KernelRewriter
1461 auto I = Phis.find({LoopReg, InitReg.getValue()}); in phi()
1462 if (I != Phis.end()) in phi()
1465 for (auto &KV : Phis) { in phi()
1483 Phis.insert({{LoopReg, InitReg.getValue()}, R}); in phi()
1503 Phis[{LoopReg, *InitReg}] = R; in phi()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFLiveness.cpp428 NodeList Phis; in computePhiInfo() local
433 Phis.insert(Phis.end(), Ps.begin(), Ps.end()); in computePhiInfo()
442 for (NodeAddr<PhiNode*> PhiA : Phis) { in computePhiInfo()
743 NodeList Phis = BA.Addr->members_if(DFG.IsCode<NodeAttrs::Phi>, DFG); in computeLiveIns() local
744 for (NodeAddr<PhiNode*> PA : Phis) { in computeLiveIns()
DHexagonBitSimplify.cpp3108 std::vector<PhiInfo> Phis; in processLoop() local
3128 Phis.push_back(PhiInfo(I, *C.LB)); in processLoop()
3133 for (auto &I : Phis) { in processLoop()
3142 if (Phis.empty()) in processLoop()
3245 if (llvm::find_if(Phis, LoopInpEq) == Phis.end()) in processLoop()
3270 auto F = llvm::find_if(Phis, LoopInpEq); in processLoop()
3271 if (F == Phis.end()) in processLoop()
/external/llvm-project/llvm/test/Analysis/ScalarEvolution/
Dunknown_phis.ll29 ; go into infinite loop analyzing these Phis.
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1756 SmallVector<PHINode*, 8> Phis; in replaceCongruentIVs() local
1759 Phis.push_back(PN); in replaceCongruentIVs()
1765 std::sort(Phis.begin(), Phis.end(), [](Value *LHS, Value *RHS) { in replaceCongruentIVs()
1777 for (PHINode *Phi : Phis) { in replaceCongruentIVs()
1809 TTI->isTruncateFree(Phi->getType(), Phis.back()->getType())) { in replaceCongruentIVs()
1813 SE.getTruncateExpr(SE.getSCEV(Phi), Phis.back()->getType()); in replaceCongruentIVs()
/external/llvm-project/llvm/test/Analysis/MemorySSA/
Dsimple_loop_unswitch_nontrivial.ll61 ; In Test2 there is a single def (call to foo). There are already Phis in place that are cloned whe…
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DModuloSchedule.cpp1258 DenseMap<std::pair<unsigned, unsigned>, Register> Phis; member in __anon7dbc083c0111::KernelRewriter
1453 auto I = Phis.find({LoopReg, InitReg.getValue()}); in phi()
1454 if (I != Phis.end()) in phi()
1457 for (auto &KV : Phis) { in phi()
1475 Phis.insert({{LoopReg, InitReg.getValue()}, R}); in phi()
1495 Phis[{LoopReg, *InitReg}] = R; in phi()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonBitSimplify.cpp3118 std::vector<PhiInfo> Phis; in processLoop() local
3138 Phis.push_back(PhiInfo(I, *C.LB)); in processLoop()
3143 for (auto &I : Phis) { in processLoop()
3152 if (Phis.empty()) in processLoop()
3255 if (llvm::find_if(Phis, LoopInpEq) == Phis.end()) in processLoop()
3280 auto F = llvm::find_if(Phis, LoopInpEq); in processLoop()
3281 if (F == Phis.end()) in processLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1953 SmallVector<PHINode*, 8> Phis; in replaceCongruentIVs() local
1955 Phis.push_back(&PN); in replaceCongruentIVs()
1958 llvm::sort(Phis, [](Value *LHS, Value *RHS) { in replaceCongruentIVs()
1970 for (PHINode *Phi : Phis) { in replaceCongruentIVs()
2002 TTI->isTruncateFree(Phi->getType(), Phis.back()->getType())) { in replaceCongruentIVs()
2006 SE.getTruncateExpr(SE.getSCEV(Phi), Phis.back()->getType()); in replaceCongruentIVs()

12