• Home
  • Raw
  • Download

Lines Matching refs:ReMatDefMI

1035     MachineInstr *ReMatDefMI = getInstructionFromIndex(VNI->def);  in isReMaterializable()  local
1036 if (!ReMatDefMI) in isReMaterializable()
1039 if (!ReMatDefMI || in isReMaterializable()
1040 !isReMaterializable(li, VNI, ReMatDefMI, SpillIs, DefIsLoad)) in isReMaterializable()
1197 MachineInstr *ReMatOrigDefMI, MachineInstr *ReMatDefMI, in rewriteInstructionForSpills() argument
1236 TryFold = !ReMatDefMI || (ReMatDefMI && (MI == ReMatOrigDefMI || isLoad)); in rewriteInstructionForSpills()
1281 if (tryFoldMemoryOperand(MI, vrm, ReMatDefMI, index, in rewriteInstructionForSpills()
1322 vrm.setVirtIsReMaterialized(NewVReg, ReMatDefMI); in rewriteInstructionForSpills()
1420 MachineInstr *ReMatOrigDefMI, MachineInstr *ReMatDefMI, in rewriteInstructionsForSpills() argument
1490 unsigned ImpUse = DefIsReMat ? getReMatImplicitUse(li, ReMatDefMI) : 0; in rewriteInstructionsForSpills()
1505 if (ImpUse && MI != ReMatDefMI) { in rewriteInstructionsForSpills()
1548 index, end, MI, ReMatOrigDefMI, ReMatDefMI, in rewriteInstructionsForSpills()
1787 MachineInstr *ReMatDefMI = DefIsReMat ? in addIntervalsForSpills() local
1790 bool isLoadSS = DefIsReMat && tii_->isLoadFromStackSlot(ReMatDefMI, LdSlot); in addIntervalsForSpills()
1792 (DefIsReMat && (ReMatDefMI->getDesc().canFoldAsLoad())); in addIntervalsForSpills()
1801 rewriteInstructionsForSpills(li, false, I, NULL, ReMatDefMI, in addIntervalsForSpills()
1832 MachineInstr *ReMatDefMI = getInstructionFromIndex(VNI->def); in addIntervalsForSpills() local
1834 if (ReMatDefMI && isReMaterializable(li, VNI, ReMatDefMI, SpillIs, dummy)) { in addIntervalsForSpills()
1836 ReMatOrigDefs[VN] = ReMatDefMI; in addIntervalsForSpills()
1838 MachineInstr *Clone = mf_->CloneMachineInstr(ReMatDefMI); in addIntervalsForSpills()
1874 MachineInstr *ReMatDefMI = ReMatDefs[I->valno->id]; in addIntervalsForSpills() local
1876 bool DefIsReMat = ReMatDefMI != NULL; in addIntervalsForSpills()
1879 bool isLoadSS = DefIsReMat && tii_->isLoadFromStackSlot(ReMatDefMI, LdSlot); in addIntervalsForSpills()
1881 (DefIsReMat && ReMatDefMI->getDesc().canFoldAsLoad()); in addIntervalsForSpills()
1882 rewriteInstructionsForSpills(li, TrySplit, I, ReMatOrigDefMI, ReMatDefMI, in addIntervalsForSpills()
1998 MachineInstr *ReMatDefMI = vrm.getReMaterializedMI(VReg); in addIntervalsForSpills() local
2000 bool isLoadSS = tii_->isLoadFromStackSlot(ReMatDefMI, LdSlot); in addIntervalsForSpills()
2002 if (isLoadSS || ReMatDefMI->getDesc().canFoldAsLoad()) in addIntervalsForSpills()
2003 Folded = tryFoldMemoryOperand(MI, vrm, ReMatDefMI, index, in addIntervalsForSpills()
2006 unsigned ImpUse = getReMatImplicitUse(li, ReMatDefMI); in addIntervalsForSpills()