Lines Matching refs:VirtRegMap

93   bool runOnMachineFunction(MachineFunction &MF, VirtRegMap &VRM,  in runOnMachineFunction()
214 if (SlotOrReMat > VirtRegMap::MAX_STACK_SLOT) in addAvailable()
216 << SlotOrReMat-VirtRegMap::MAX_STACK_SLOT-1); in addAvailable()
424 VirtRegMap &VRM);
442 VirtRegMap &VRM) { in GetRegForReload()
679 VirtRegMap &VRM) { in ReMaterialize()
759 if (SlotOrReMat > VirtRegMap::MAX_STACK_SLOT) in ClobberPhysRegOnly()
760 DEBUG(dbgs() << "RM#" << SlotOrReMat-VirtRegMap::MAX_STACK_SLOT-1 <<"\n"); in ClobberPhysRegOnly()
873 VirtRegMap &VRM) { in GetRegForReload()
932 bool DoReMat = NewOp.StackSlotOrReMat > VirtRegMap::MAX_STACK_SLOT; in GetRegForReload()
983 VirtRegMap &VRM) { in FoldsStackSlotModRef()
988 VirtRegMap::MI2VirtMapTy::const_iterator I, End; in FoldsStackSlotModRef()
991 VirtRegMap::ModRef MR = I->second.second; in FoldsStackSlotModRef()
992 if (MR & VirtRegMap::isModRef) in FoldsStackSlotModRef()
1102 VirtRegMap *VRM;
1112 bool runOnMachineFunction(MachineFunction &MF, VirtRegMap &VRM,
1175 bool LocalRewriter::runOnMachineFunction(MachineFunction &MF, VirtRegMap &vrm, in runOnMachineFunction()
1243 if (SS != VirtRegMap::NO_STACK_SLOT) { in runOnMachineFunction()
1359 VRM->virtFolded(VirtReg, StoreMI, VirtRegMap::isMod); in OptimizeByUnfold2()
1387 int FoldedSS = VirtRegMap::NO_STACK_SLOT; in OptimizeByUnfold()
1388 VirtRegMap::MI2VirtMapTy::const_iterator I, End; in OptimizeByUnfold()
1394 VirtRegMap::ModRef MR = I->second.second; in OptimizeByUnfold()
1404 if (DeadStore && (MR & VirtRegMap::isModRef)) { in OptimizeByUnfold()
1470 VRM->virtFolded(VirtReg, FoldedMI, VirtRegMap::isRef); in OptimizeByUnfold()
1567 VRM->virtFolded(VirtReg, FoldedMI, VirtRegMap::isRef); in CommuteToFoldReload()
1574 VRM->virtFolded(VirtReg, StoreMI, VirtRegMap::isMod); in CommuteToFoldReload()
1814 << SSorRMId-VirtRegMap::MAX_STACK_SLOT-1); in InsertRestores()
1830 << SSorRMId-VirtRegMap::MAX_STACK_SLOT-1); in InsertRestores()
1911 VRM->virtFolded(VirtReg, StoreMI, VirtRegMap::isMod); in InsertSpills()
2061 if (ReuseSlot > VirtRegMap::MAX_STACK_SLOT) in ProcessUses()
2063 << ReuseSlot-VirtRegMap::MAX_STACK_SLOT-1); in ProcessUses()
2099 ReuseSlot <= VirtRegMap::MAX_STACK_SLOT) { in ProcessUses()
2148 if (ReuseSlot > VirtRegMap::MAX_STACK_SLOT) in ProcessUses()
2150 << ReuseSlot-VirtRegMap::MAX_STACK_SLOT-1); in ProcessUses()
2331 SmallVector<std::pair<unsigned, VirtRegMap::ModRef>, 4> FoldedVirts; in RewriteMBB()
2333 for (std::pair<VirtRegMap::MI2VirtMapTy::const_iterator, in RewriteMBB()
2334 VirtRegMap::MI2VirtMapTy::const_iterator> FVRange = in RewriteMBB()
2342 VirtRegMap::ModRef MR = FoldedVirts[FVI].second; in RewriteMBB()
2346 if (SS == VirtRegMap::NO_STACK_SLOT) in RewriteMBB()
2353 if ((MR & VirtRegMap::isRef) && !(MR & VirtRegMap::isMod)) { in RewriteMBB()
2405 bool isDead = !(MR & VirtRegMap::isRef); in RewriteMBB()
2407 if (MR & VirtRegMap::isModRef) { in RewriteMBB()
2452 VRM->virtFolded(VirtReg, NewStore, VirtRegMap::isMod); in RewriteMBB()
2459 if (MR & VirtRegMap::isMod) { in RewriteMBB()
2468 if (!(MR & VirtRegMap::isRef)) { in RewriteMBB()