Home
last modified time | relevance | path

Searched refs:OrigVNI (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveRangeEdit.cpp88 VNInfo *OrigVNI = OrigLI.getVNInfoAt(VNI->def); in scanRemattable() local
89 if (!OrigVNI) in scanRemattable()
91 MachineInstr *DefMI = LIS.getInstructionFromIndex(OrigVNI->def); in scanRemattable()
94 checkRematerializable(OrigVNI, DefMI, aa); in scanRemattable()
141 bool LiveRangeEdit::canRematerializeAt(Remat &RM, VNInfo *OrigVNI, in canRematerializeAt() argument
146 if (!Remattable.count(OrigVNI)) in canRematerializeAt()
296 VNInfo *OrigVNI = OrigLI.getVNInfoAt(Idx); in eliminateDeadDef() local
301 if (OrigVNI) in eliminateDeadDef()
302 isOrigDef = SlotIndex::isSameInstr(OrigVNI->def, Idx); in eliminateDeadDef()
DInlineSpiller.cpp115 bool isSpillCandBB(LiveInterval &OrigLI, VNInfo &OrigVNI,
130 void runHoistSpills(LiveInterval &OrigLI, VNInfo &OrigVNI,
389 VNInfo *OrigVNI = OrigLI.getVNInfoAt(Idx); in hoistSpillInsideBB() local
390 StackInt->MergeValueInAsValue(OrigLI, OrigVNI, StackInt->getValNumInfo(0)); in hoistSpillInsideBB()
391 LLVM_DEBUG(dbgs() << "\tmerged orig valno " << OrigVNI->id << ": " in hoistSpillInsideBB()
545 VNInfo *OrigVNI = OrigLI.getVNInfoAt(UseIdx); in reMaterializeFor() local
547 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in reMaterializeFor()
549 if (!Edit->canRematerializeAt(RM, OrigVNI, UseIdx, false)) { in reMaterializeFor()
1119 VNInfo *OrigVNI = StackSlotToOrigLI[StackSlot]->getVNInfoAt(Idx.getRegSlot()); in addToMergeableSpills() local
1120 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in addToMergeableSpills()
[all …]
DSplitKit.cpp642 VNInfo *OrigVNI = OrigLI.getVNInfoAt(UseIdx); in defFromParent() local
646 if (OrigVNI) { in defFromParent()
648 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
649 if (Edit->canRematerializeAt(RM, OrigVNI, UseIdx, true)) { in defFromParent()
/external/llvm/lib/CodeGen/
DLiveRangeEdit.cpp68 VNInfo *OrigVNI = OrigLI.getVNInfoAt(VNI->def); in scanRemattable() local
69 MachineInstr *DefMI = LIS.getInstructionFromIndex(OrigVNI->def); in scanRemattable()
72 checkRematerializable(OrigVNI, DefMI, aa); in scanRemattable()
119 bool LiveRangeEdit::canRematerializeAt(Remat &RM, VNInfo *OrigVNI, in canRematerializeAt() argument
124 if (!Remattable.count(OrigVNI)) in canRematerializeAt()
270 VNInfo *OrigVNI = OrigLI.getVNInfoAt(Idx); in eliminateDeadDef() local
275 if (OrigVNI) in eliminateDeadDef()
276 isOrigDef = SlotIndex::isSameInstr(OrigVNI->def, Idx); in eliminateDeadDef()
DInlineSpiller.cpp89 bool isSpillCandBB(unsigned OrigReg, VNInfo &OrigVNI, MachineBasicBlock &BB,
104 void runHoistSpills(unsigned OrigReg, VNInfo &OrigVNI,
371 VNInfo *OrigVNI = OrigLI.getVNInfoAt(Idx); in hoistSpillInsideBB() local
372 StackInt->MergeValueInAsValue(OrigLI, OrigVNI, StackInt->getValNumInfo(0)); in hoistSpillInsideBB()
373 DEBUG(dbgs() << "\tmerged orig valno " << OrigVNI->id << ": " in hoistSpillInsideBB()
529 VNInfo *OrigVNI = OrigLI.getVNInfoAt(UseIdx); in reMaterializeFor() local
531 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in reMaterializeFor()
533 if (!Edit->canRematerializeAt(RM, OrigVNI, UseIdx, false)) { in reMaterializeFor()
1058 VNInfo *OrigVNI = LIS.getInterval(Original).getVNInfoAt(Idx.getRegSlot()); in addToMergeableSpills() local
1059 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in addToMergeableSpills()
[all …]
DSplitKit.cpp457 VNInfo *OrigVNI = OrigLI.getVNInfoAt(UseIdx); in defFromParent() local
459 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
461 if (Edit->canRematerializeAt(RM, OrigVNI, UseIdx, true)) { in defFromParent()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DInlineSpiller.cpp475 VNInfo *OrigVNI) { in traceSiblingValue() argument
509 if (VNI->def == OrigVNI->def) { in traceSiblingValue()
537 OrigLI.getVNInfoAt(VNI2->def) != OrigVNI) in traceSiblingValue()
539 if (VNI2->isPHIDef() && VNI2->def != OrigVNI->def) in traceSiblingValue()
649 VNInfo *OrigVNI = OrigLI.getVNInfoAt(VNI->def); in analyzeSiblingValues() local
650 assert(OrigVNI && "Def outside original live range"); in analyzeSiblingValues()
651 if (OrigVNI->def != VNI->def) in analyzeSiblingValues()
652 DefMI = traceSiblingValue(Reg, VNI, OrigVNI); in analyzeSiblingValues()
699 VNInfo *OrigVNI = OrigLI.getVNInfoAt(Idx); in hoistSpill() local
700 StackInt->MergeValueInAsValue(OrigLI, OrigVNI, StackInt->getValNumInfo(0)); in hoistSpill()
[all …]
/external/llvm/include/llvm/CodeGen/
DLiveRangeEdit.h204 bool canRematerializeAt(Remat &RM, VNInfo *OrigVNI, SlotIndex UseIdx,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DLiveRangeEdit.h213 bool canRematerializeAt(Remat &RM, VNInfo *OrigVNI, SlotIndex UseIdx,