• Home
  • Raw
  • Download

Lines Matching refs:MTracker

959   MLocTracker *MTracker;  member in __anon84c0493f0211::TransferTracker
1022 TransferTracker(const TargetInstrInfo *TII, MLocTracker *MTracker, in TransferTracker() argument
1025 : TII(TII), MTracker(MTracker), MF(MF), TRI(TRI), in TransferTracker()
1045 unsigned Reg = MTracker->LocIdxToLocID[L]; in loadInlocs()
1046 if (Reg >= MTracker->NumRegs) in loadInlocs()
1060 for (auto Location : MTracker->locations()) { in loadInlocs()
1069 if (it == ValueToLoc.end() || MTracker->isSpill(it->second) || in loadInlocs()
1104 MTracker->emitLoc(M, Var.first, Var.second.Properties)); in loadInlocs()
1134 if (MTracker->LocIdxToIDNum[L] != Use.ID) in checkInstForNewValues()
1142 PendingDbgValues.push_back(MTracker->emitLoc(L, Use.Var, Use.Properties)); in checkInstForNewValues()
1176 LocIdx NewLoc = MTracker->getRegMLoc(Reg); in redefVar()
1203 if (MTracker->getNumAtPos(NewLoc) != VarLocs[NewLoc.asU64()]) { in redefVar()
1208 VarLocs[NewLoc.asU64()] = MTracker->getNumAtPos(NewLoc); in redefVar()
1225 assert(MTracker->isSpill(MLoc)); in clobberMloc()
1238 PendingDbgValues.push_back(MTracker->emitLoc(None, Var, Properties)); in clobberMloc()
1252 if (VarLocs[Src.asU64()] != MTracker->getNumAtPos(Src)) in transferMlocs()
1268 MTracker->emitLoc(Dst, Var, ActiveVLocIt->second.Properties); in transferMlocs()
1334 MLocTracker *MTracker; member in __anon84c0493f0211::InstrRefBasedLDV
1540 unsigned Reg = MTracker->LocIdxToLocID[L]; in isCalleeSaved()
1612 (void)MTracker->readReg(MO.getReg()); in transferDebugValue()
1622 VTracker->defVar(MI, Properties, MTracker->readReg(MO.getReg())); in transferDebugValue()
1693 unsigned LocID = MTracker->getLocID(MO.getReg(), false); in transferDebugInstrRef()
1694 LocIdx L = MTracker->LocIDToLocIdx[LocID]; in transferDebugInstrRef()
1713 for (auto Location : MTracker->locations()) { in transferDebugInstrRef()
1715 ValueIDNum ID = MTracker->LocIdxToIDNum[CurL]; in transferDebugInstrRef()
1724 if (MTracker->isSpill(CurL)) in transferDebugInstrRef()
1726 else if (!MTracker->isSpill(*FoundLoc) && in transferDebugInstrRef()
1727 !MTracker->isSpill(CurL) && in transferDebugInstrRef()
1747 MachineInstr *DbgMI = MTracker->emitLoc(FoundLoc, V, Properties); in transferDebugInstrRef()
1762 ValueIDNum Num = MTracker->readReg(MI.getOperand(0).getReg()); in transferRegisterDef()
1797 MTracker->defReg(DeadReg, CurBB, CurInst); in transferRegisterDef()
1800 MTracker->writeRegMask(MO, CurBB, CurInst); in transferRegisterDef()
1804 ValueIDNum SrcValue = MTracker->readReg(SrcRegNum); in performCopy()
1806 MTracker->setReg(DstRegNum, SrcValue); in performCopy()
1813 MTracker->defReg(*SRI, CurBB, CurInst); in performCopy()
1820 MTracker->defReg(DRI.getSubReg(), CurBB, CurInst); in performCopy()
1838 (void)MTracker->readReg(SrcSubReg); in performCopy()
1839 LocIdx SrcL = MTracker->getRegMLoc(SrcSubReg); in performCopy()
1841 (void)MTracker->readReg(DstSubReg); in performCopy()
1842 LocIdx DstL = MTracker->getRegMLoc(DstSubReg); in performCopy()
1847 MTracker->setReg(DstSubReg, CpyValue); in performCopy()
1947 Optional<LocIdx> MLoc = MTracker->getSpillMLoc(*Loc); in transferSpillOrRestoreInst()
1956 auto ValueID = MTracker->readReg(Reg); in transferSpillOrRestoreInst()
1960 ValueID = {CurBB, 0, MTracker->getRegMLoc(Reg)}; in transferSpillOrRestoreInst()
1962 MTracker->setSpill(*Loc, ValueID); in transferSpillOrRestoreInst()
1963 auto OptSpillLocIdx = MTracker->getSpillMLoc(*Loc); in transferSpillOrRestoreInst()
1969 TTracker->transferMlocs(MTracker->getRegMLoc(Reg), SpillLocIdx, in transferSpillOrRestoreInst()
1976 auto OptValueID = MTracker->readSpill(*Loc); in transferSpillOrRestoreInst()
1979 LocIdx SpillLocIdx = *MTracker->getSpillMLoc(*Loc); in transferSpillOrRestoreInst()
1983 MTracker->defReg(*RAI, CurBB, CurInst); in transferSpillOrRestoreInst()
1986 MTracker->setReg(Reg, ValueID); in transferSpillOrRestoreInst()
1990 TTracker->transferMlocs(SpillLocIdx, MTracker->getRegMLoc(Reg), in transferSpillOrRestoreInst()
1996 MTracker->defReg(*RAI, CurBB, CurInst); in transferSpillOrRestoreInst()
1999 LocIdx L = MTracker->getOrTrackSpillLoc(*Loc); in transferSpillOrRestoreInst()
2005 MTracker->setReg(Reg, ValueID); in transferSpillOrRestoreInst()
2006 MTracker->setSpill(*Loc, ValueID); in transferSpillOrRestoreInst()
2057 TTracker->transferMlocs(MTracker->getRegMLoc(SrcReg), in transferRegisterCopy()
2058 MTracker->getRegMLoc(DestReg), MI.getIterator()); in transferRegisterCopy()
2062 MTracker->defReg(SrcReg, CurBB, CurInst); in transferRegisterCopy()
2165 MTracker->reset(); in produceMLocTransferFunction()
2166 MTracker->setMPhis(CurBB); in produceMLocTransferFunction()
2194 for (auto Location : MTracker->locations()) { in produceMLocTransferFunction()
2209 for (auto &P : MTracker->Masks) { in produceMLocTransferFunction()
2218 for (auto Location : MTracker->locations()) { in produceMLocTransferFunction()
2219 unsigned ID = MTracker->LocIdxToLocID[Location.Idx]; in produceMLocTransferFunction()
2236 unsigned ID = MTracker->getLocID(Bit, false); in produceMLocTransferFunction()
2237 LocIdx Idx = MTracker->LocIDToLocIdx[ID]; in produceMLocTransferFunction()
2289 for (auto Location : MTracker->locations()) { in mlocJoin()
2377 MTracker->reset(); in mlocDataflow()
2381 MTracker->setMPhis(0); in mlocDataflow()
2382 for (auto Location : MTracker->locations()) in mlocDataflow()
2412 MTracker->loadFromArray(MInLocs[CurBB], CurBB); in mlocDataflow()
2420 ValueIDNum NewID = MTracker->getNumAtPos(P.second.getLoc()); in mlocDataflow()
2432 MTracker->setMLoc(P.first, P.second); in mlocDataflow()
2438 for (auto Location : MTracker->locations()) { in mlocDataflow()
2443 MTracker->reset(); in mlocDataflow()
2526 unsigned NumLocs = MTracker->getNumLocs(); in pickVPHILoc()
3118 std::string foo = MTracker->LocIdxToName(P.first); in dump_mloc_transfer()
3119 std::string bar = MTracker->IDAsString(P.second); in dump_mloc_transfer()
3128 TTracker = new TransferTracker(TII, MTracker, MF, *TRI, CalleeSavedRegs); in emitLocations()
3129 unsigned NumLocs = MTracker->getNumLocs(); in emitLocations()
3136 MTracker->reset(); in emitLocations()
3137 MTracker->loadFromArray(MInLocs[bbnum], bbnum); in emitLocations()
3224 MTracker = in ExtendRanges()
3252 unsigned NumLocs = MTracker->getNumLocs(); in ExtendRanges()
3271 MTracker->loadFromArray(MInLocs[CurBB], CurBB); in ExtendRanges()
3277 MTracker->reset(); in ExtendRanges()
3341 delete MTracker; in ExtendRanges()
3343 MTracker = nullptr; in ExtendRanges()