/external/llvm/lib/CodeGen/ |
D | EarlyIfConversion.cpp | 120 SmallVector<PHIInfo, 8> PHIs; member in __anonf89ac8670111::SSAIfConv 405 PHIs.clear(); in canConvertIf() 410 PHIs.push_back(&*I); in canConvertIf() 411 PHIInfo &PI = PHIs.back(); in canConvertIf() 460 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in replacePHIInstrs() 461 PHIInfo &PI = PHIs[i]; in replacePHIInstrs() 480 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in rewritePHIOperands() 481 PHIInfo &PI = PHIs[i]; in rewritePHIOperands() 727 for (unsigned i = 0, e = IfConv.PHIs.size(); i != e; ++i) { in shouldConvertIf() 728 SSAIfConv::PHIInfo &PI = IfConv.PHIs[i]; in shouldConvertIf()
|
/external/swiftshader/third_party/LLVM/test/Analysis/BasicAA/ |
D | phi-and-select.ll | 4 ; BasicAA should detect NoAliases in PHIs and Selects. 6 ; Two PHIs in the same block. 35 ; Two PHIs with disjoint sets of inputs.
|
/external/llvm/test/Analysis/BasicAA/ |
D | phi-and-select.ll | 3 ; BasicAA should detect NoAliases in PHIs and Selects. 15 ; Two PHIs in the same block. 44 ; Two PHIs with disjoint sets of inputs.
|
/external/llvm/docs/HistoricalNotes/ |
D | 2003-06-26-Reoptimizer2.txt | 30 It does copy insertions for PHIs, which it infers from the machine 32 the PHIs. 102 along with the PHIs that are inserted. 103 PHIs are followed by the copies that implement them.
|
/external/swiftshader/third_party/LLVM/docs/HistoricalNotes/ |
D | 2003-06-26-Reoptimizer2.txt | 30 It does copy insertions for PHIs, which it infers from the machine 32 the PHIs. 102 along with the PHIs that are inserted. 103 PHIs are followed by the copies that implement them.
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | InlineSpiller.cpp | 527 SmallVector<VNInfo*, 8> PHIs, NonPHIs; in traceSiblingValue() local 540 PHIs.push_back(VNI2); in traceSiblingValue() 544 DEBUG(dbgs() << "split phi value, checking " << PHIs.size() in traceSiblingValue() 550 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in traceSiblingValue() 551 SibValues.insert(std::make_pair(PHIs[i], SibValueInfo(Reg, PHIs[i]))); in traceSiblingValue() 560 for (unsigned pi = 0, pe = PHIs.size(); pi != pe; ++pi) in traceSiblingValue() 561 SVI->second.Deps.push_back(PHIs[pi]); in traceSiblingValue()
|
/external/llvm/test/Transforms/LCSSA/ |
D | indirectbr.ll | 545 ; create PHIs in one of such exits we are also inserting PHIs in L2 header. This 546 ; could break LCSSA form for L2 because these inserted PHIs can also have uses
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 582 SmallPtrSetImpl<const PHINode*> &PHIs) { in AllUsesOfValueWillTrapIfNull() argument 602 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull() 604 if (!AllUsesOfValueWillTrapIfNull(GEPI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull() 608 if (PHIs.insert(PN).second && !AllUsesOfValueWillTrapIfNull(PN, PHIs)) in AllUsesOfValueWillTrapIfNull() 627 SmallPtrSet<const PHINode*, 8> PHIs; in AllUsesOfLoadedValueWillTrapIfNull() local 628 if (!AllUsesOfValueWillTrapIfNull(LI, PHIs)) in AllUsesOfLoadedValueWillTrapIfNull() 920 SmallPtrSetImpl<const PHINode*> &PHIs) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() argument 936 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(Inst, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 944 if (PHIs.insert(PN).second) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 945 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(PN, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 100 SmallVector<WeakVH, 8> PHIs; in DeleteDeadPHIs() local 103 PHIs.push_back(PN); in DeleteDeadPHIs() 106 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in DeleteDeadPHIs() 107 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) in DeleteDeadPHIs()
|
/external/llvm/test/Transforms/LoopDistribute/ |
D | bounds-expansion-bug.ll | 34 ; The pointers need to be defined by PHIs in order for the bug to trigger. 35 ; Because of the PHIs the existing casts won't be at the desired location so a
|
/external/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/ |
D | phi-and-select.ll | 8 ; Two PHIs with disjoint sets of inputs.
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 641 SmallPtrSet<const PHINode*, 8> &PHIs) { in AllUsesOfValueWillTrapIfNull() argument 664 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull() 666 if (!AllUsesOfValueWillTrapIfNull(GEPI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull() 670 if (PHIs.insert(PN) && !AllUsesOfValueWillTrapIfNull(PN, PHIs)) in AllUsesOfValueWillTrapIfNull() 692 SmallPtrSet<const PHINode*, 8> PHIs; in AllUsesOfLoadedValueWillTrapIfNull() local 693 if (!AllUsesOfValueWillTrapIfNull(LI, PHIs)) in AllUsesOfLoadedValueWillTrapIfNull() 978 SmallPtrSet<const PHINode*, 8> &PHIs) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() argument 995 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(Inst, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1003 if (PHIs.insert(PN)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1004 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(PN, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 291 SmallVector<Instruction *, 8> PHIs; in AddReductionVar() local 321 PHIs.push_back(UI); in AddReductionVar() 334 Worklist.append(PHIs.begin(), PHIs.end()); in AddReductionVar()
|
D | BasicBlockUtils.cpp | 82 SmallVector<WeakVH, 8> PHIs; in DeleteDeadPHIs() local 85 PHIs.push_back(PN); in DeleteDeadPHIs() 88 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in DeleteDeadPHIs() 89 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) in DeleteDeadPHIs()
|
D | SimplifyCFG.cpp | 2281 SmallVector<PHINode *, 4> PHIs; in FoldBranchToCommonDest() local 2285 !isProfitableToFoldUnconditional(BI, PBI, Cond, PHIs))) in FoldBranchToCommonDest() 2422 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in FoldBranchToCommonDest() 2424 PHIs[i]->getIncomingValueForBlock(PBI->getParent())); in FoldBranchToCommonDest() 2452 PHIs[i]->setIncomingValue(PHIs[i]->getBasicBlockIndex(PBI->getParent()), in FoldBranchToCommonDest() 4844 SmallVector<PHINode *, 4> PHIs; in SwitchToLookupTable() local 4865 PHIs.push_back(PHI); in SwitchToLookupTable() 4871 for (PHINode *PHI : PHIs) { in SwitchToLookupTable() 4875 uint64_t NumResults = ResultLists[PHIs[0]].size(); in SwitchToLookupTable() 4959 const ResultListTy &ResultList = ResultLists[PHIs[0]]; in SwitchToLookupTable() [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/X86/ |
D | switch-covered-bug.ll | 7 ; are cached in PHIs.
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 1630 static uint64_t GetStringLengthH(Value *V, SmallPtrSet<PHINode*, 32> &PHIs) { in GetStringLengthH() argument 1633 return GetStringLengthH(BCI->getOperand(0), PHIs); in GetStringLengthH() 1638 if (!PHIs.insert(PN)) in GetStringLengthH() 1644 uint64_t Len = GetStringLengthH(PN->getIncomingValue(i), PHIs); in GetStringLengthH() 1660 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs); in GetStringLengthH() 1662 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs); in GetStringLengthH() 1745 SmallPtrSet<PHINode*, 32> PHIs; in GetStringLength() local 1746 uint64_t Len = GetStringLengthH(V, PHIs); in GetStringLength()
|
/external/llvm/test/Transforms/LoopVersioning/ |
D | incorrect-phi.ll | 3 ; Make sure all PHIs are properly updated in the exit block. Based on
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | merge-cond-stores-2.ll | 7 ; There should be no additional PHIs created at all. The store should be on its own in a predicated 8 ; block and there should be no PHIs.
|
/external/llvm/test/CodeGen/X86/ |
D | interval-update-remat.ll | 2 ; PR27275: When enabling remat for vreg defined by PHIs, make sure the update 3 ; of the live range removes dead phi. Otherwise, we may end up with PHIs with
|
/external/llvm/test/Feature/ |
D | optnone-llc.ll | 48 ; LLC-Ox-DAG: Skipping pass 'Optimize machine instruction PHIs'
|
/external/llvm/test/CodeGen/ARM/ |
D | interval-update-remat.ll | 2 ; PR27275: When enabling remat for vreg defined by PHIs, make sure the update 3 ; of the live range removes dead phi. Otherwise, we may end up with PHIs with
|
/external/llvm/test/CodeGen/PowerPC/ |
D | pr20442.ll | 10 ; have as many predecessor entries as the other PHIs.
|
/external/clang/test/CodeGenObjC/ |
D | ns_consume_null_check.m | 32 // Ensure that we build PHIs correctly in the presence of cleanups.
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 463 SmallVector<WeakVH, 8> PHIs; in RewriteNonIntegerIVs() local 466 PHIs.push_back(PN); in RewriteNonIntegerIVs() 468 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in RewriteNonIntegerIVs() 469 if (PHINode *PN = dyn_cast_or_null<PHINode>(&*PHIs[i])) in RewriteNonIntegerIVs()
|