Home
last modified time | relevance | path

Searched refs:PHIs (Results 1 – 25 of 71) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DEarlyIfConversion.cpp120 SmallVector<PHIInfo, 8> PHIs; member in __anon8c0b47800111::SSAIfConv
406 PHIs.clear(); in canConvertIf()
411 PHIs.push_back(&*I); in canConvertIf()
412 PHIInfo &PI = PHIs.back(); in canConvertIf()
461 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in replacePHIInstrs()
462 PHIInfo &PI = PHIs[i]; in replacePHIInstrs()
481 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in rewritePHIOperands()
482 PHIInfo &PI = PHIs[i]; in rewritePHIOperands()
728 for (unsigned i = 0, e = IfConv.PHIs.size(); i != e; ++i) { in shouldConvertIf()
729 SSAIfConv::PHIInfo &PI = IfConv.PHIs[i]; in shouldConvertIf()
/external/llvm/lib/CodeGen/
DEarlyIfConversion.cpp120 SmallVector<PHIInfo, 8> PHIs; member in __anonfc1f82480111::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/
Dphi-and-select.ll4 ; 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/
Dphi-and-select.ll3 ; BasicAA should detect NoAliases in PHIs and Selects.
15 ; Two PHIs in the same block.
44 ; Two PHIs with disjoint sets of inputs.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/BasicAA/
Dphi-and-select.ll3 ; BasicAA should detect NoAliases in PHIs and Selects.
15 ; Two PHIs in the same block.
44 ; Two PHIs with disjoint sets of inputs.
/external/swiftshader/third_party/LLVM/docs/HistoricalNotes/
D2003-06-26-Reoptimizer2.txt30 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-7.0/llvm/docs/HistoricalNotes/
D2003-06-26-Reoptimizer2.txt30 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/docs/HistoricalNotes/
D2003-06-26-Reoptimizer2.txt30 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/
DInlineSpiller.cpp527 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/lib/Transforms/IPO/
DGlobalOpt.cpp582 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-7.0/llvm/test/Transforms/LCSSA/
Dindirectbr.ll545 ; 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/test/Transforms/LCSSA/
Dindirectbr.ll545 ; 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/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBasicBlockUtils.cpp100 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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopDistribute/
Dbounds-expansion-bug.ll34 ; 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/Transforms/LoopDistribute/
Dbounds-expansion-bug.ll34 ; 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp614 SmallPtrSetImpl<const PHINode*> &PHIs) { in AllUsesOfValueWillTrapIfNull() argument
640 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull()
642 if (!AllUsesOfValueWillTrapIfNull(GEPI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull()
646 if (PHIs.insert(PN).second && !AllUsesOfValueWillTrapIfNull(PN, PHIs)) in AllUsesOfValueWillTrapIfNull()
665 SmallPtrSet<const PHINode*, 8> PHIs; in AllUsesOfLoadedValueWillTrapIfNull() local
666 if (!AllUsesOfValueWillTrapIfNull(LI, PHIs)) in AllUsesOfLoadedValueWillTrapIfNull()
964 SmallPtrSetImpl<const PHINode*> &PHIs) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() argument
980 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(Inst, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal()
988 if (PHIs.insert(PN).second) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal()
989 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(PN, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp641 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/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/
Dphi-and-select.ll8 ; Two PHIs with disjoint sets of inputs.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dpr36983.ll3 ; There could be more than one LCSSA PHIs in loop exit block.
/external/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/
Dphi-and-select.ll8 ; Two PHIs with disjoint sets of inputs.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp1416 SmallPtrSet<MachineInstr *, 2> PHIs; in extractKilledPHIs() local
1425 PHIs.insert(&Instr); in extractKilledPHIs()
1431 for (auto PI : PHIs) { in extractKilledPHIs()
1656 SmallVector<MachineInstr *, 2> &PHIs) { in collectPHIs() argument
1659 PHIs.push_back(&BBI); in collectPHIs()
1667 SmallVector<MachineInstr *, 2> PHIs; in rewriteRegionExitPHIs() local
1672 collectPHIs(Exit, PHIs); in rewriteRegionExitPHIs()
1674 for (auto PHII : PHIs) { in rewriteRegionExitPHIs()
1681 SmallVector<MachineInstr *, 2> PHIs; in rewriteRegionEntryPHIs() local
1684 collectPHIs(Entry, PHIs); in rewriteRegionEntryPHIs()
[all …]
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp291 SmallVector<Instruction *, 8> PHIs; in AddReductionVar() local
321 PHIs.push_back(UI); in AddReductionVar()
334 Worklist.append(PHIs.begin(), PHIs.end()); in AddReductionVar()
DBasicBlockUtils.cpp82 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp106 SmallVector<WeakTrackingVH, 8> PHIs; in DeleteDeadPHIs() local
108 PHIs.push_back(&PN); in DeleteDeadPHIs()
111 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in DeleteDeadPHIs()
112 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) in DeleteDeadPHIs()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp1630 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()

123