/external/llvm/lib/CodeGen/ |
D | EarlyIfConversion.cpp | 119 SmallVector<PHIInfo, 8> PHIs; member in __anoncfa8784e0111::SSAIfConv 404 PHIs.clear(); in canConvertIf() 409 PHIs.push_back(&*I); in canConvertIf() 410 PHIInfo &PI = PHIs.back(); in canConvertIf() 459 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in replacePHIInstrs() 460 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() 717 for (unsigned i = 0, e = IfConv.PHIs.size(); i != e; ++i) { in shouldConvertIf() 718 SSAIfConv::PHIInfo &PI = IfConv.PHIs[i]; in shouldConvertIf()
|
D | InlineSpiller.cpp | 525 SmallVector<VNInfo*, 8> PHIs, NonPHIs; in traceSiblingValue() local 538 PHIs.push_back(VNI2); in traceSiblingValue() 542 DEBUG(dbgs() << "split phi value, checking " << PHIs.size() in traceSiblingValue() 548 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in traceSiblingValue() 549 SibValues.insert(std::make_pair(PHIs[i], SibValueInfo(Reg, PHIs[i]))); in traceSiblingValue() 558 for (unsigned pi = 0, pe = PHIs.size(); pi != pe; ++pi) in traceSiblingValue() 559 SVI->second.Deps.push_back(PHIs[pi]); in traceSiblingValue()
|
/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/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()
|
D | SimplifyCFG.cpp | 1235 SmallSetVector<std::pair<Value *, Value *>, 4> PHIs; in SpeculativelyExecuteBB() local 1260 PHIs.insert(std::make_pair(BB1V, BIParentV)); in SpeculativelyExecuteBB() 1265 if (PHIs.empty()) in SpeculativelyExecuteBB() 1277 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in SpeculativelyExecuteBB() 1278 Value *TrueV = PHIs[i].first; in SpeculativelyExecuteBB() 1279 Value *FalseV = PHIs[i].second; in SpeculativelyExecuteBB() 1818 SmallVector<PHINode*, 4> PHIs; in FoldBranchToCommonDest() local 1823 !isProfitableToFoldUnconditional(BI, PBI, Cond, PHIs))) in FoldBranchToCommonDest() 1936 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in FoldBranchToCommonDest() 1938 PHIs[i]->getIncomingValueForBlock(PBI->getParent())); in FoldBranchToCommonDest() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 802 SmallPtrSet<const PHINode*, 8> &PHIs) { in AllUsesOfValueWillTrapIfNull() argument 825 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull() 827 if (!AllUsesOfValueWillTrapIfNull(GEPI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull() 831 if (PHIs.insert(PN) && !AllUsesOfValueWillTrapIfNull(PN, PHIs)) in AllUsesOfValueWillTrapIfNull() 853 SmallPtrSet<const PHINode*, 8> PHIs; in AllUsesOfLoadedValueWillTrapIfNull() local 854 if (!AllUsesOfValueWillTrapIfNull(LI, PHIs)) in AllUsesOfLoadedValueWillTrapIfNull() 1152 SmallPtrSet<const PHINode*, 8> &PHIs) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() argument 1169 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(Inst, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1177 if (PHIs.insert(PN)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1178 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(PN, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() [all …]
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1711 static uint64_t GetStringLengthH(Value *V, SmallPtrSet<PHINode*, 32> &PHIs) { in GetStringLengthH() argument 1718 if (!PHIs.insert(PN)) in GetStringLengthH() 1724 uint64_t Len = GetStringLengthH(PN->getIncomingValue(i), PHIs); in GetStringLengthH() 1740 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs); in GetStringLengthH() 1742 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs); in GetStringLengthH() 1763 SmallPtrSet<PHINode*, 32> PHIs; in GetStringLength() local 1764 uint64_t Len = GetStringLengthH(V, PHIs); in GetStringLength()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 448 SmallVector<WeakVH, 8> PHIs; in RewriteNonIntegerIVs() local 451 PHIs.push_back(PN); in RewriteNonIntegerIVs() 453 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in RewriteNonIntegerIVs() 454 if (PHINode *PN = dyn_cast_or_null<PHINode>(&*PHIs[i])) in RewriteNonIntegerIVs()
|