Home
last modified time | relevance | path

Searched refs:LiveReg (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/
H A DSnippetRepetitorTest.cpp64 static auto LiveReg = [](unsigned Reg) { in __anon0f0167460302() variable
89 LiveReg(X86::EAX), in TEST_F()
90 LiveReg(State.getExegesisTarget().getLoopCounterRegister( in TEST_F()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRegAllocFast.cpp94 struct LiveReg { struct in __anone082371b0111::RegAllocFast
102 explicit LiveReg(Register VirtReg) : VirtReg(VirtReg) {} in LiveReg() function
109 using LiveRegMap = SparseSet<LiveReg>;
542 for (const LiveReg &LR : LiveVirtRegs) { in reloadAtBegin()
751 void RegAllocFast::allocVirtReg(MachineInstr &MI, LiveReg &LR, in allocVirtReg()
906 std::tie(LRI, New) = LiveVirtRegs.insert(LiveReg(VirtReg)); in defineVirtReg()
956 std::tie(LRI, New) = LiveVirtRegs.insert(LiveReg(VirtReg)); in useVirtReg()
1065 for (const LiveReg &LR : LiveVirtRegs) { in dumpState()
1314 for (const LiveReg &LR : LiveVirtRegs) { in allocateInstruction()
1484 for (const auto &LiveReg : MBB.liveouts()) in allocateBasicBlock() local
[all …]
H A DInlineSpiller.cpp118 MachineBasicBlock &BB, Register &LiveReg);
1263 MachineBasicBlock &BB, Register &LiveReg) { in isSpillCandBB() argument
1281 LiveReg = SibReg; in isSpillCandBB()
1480 Register LiveReg; in runHoistSpills() local
1481 if (!isSpillCandBB(OrigLI, OrigVNI, *Block, LiveReg)) in runHoistSpills()
1504 SpillsToKeep[*RIt] = LiveReg; in runHoistSpills()
1595 Register LiveReg = Insert.second; in hoistAllSpills() local
1598 TII.storeRegToStackSlot(*BB, MII, LiveReg, false, Slot, in hoistAllSpills()
1599 MRI.getRegClass(LiveReg), &TRI); in hoistAllSpills()
H A DTargetInstrInfo.cpp456 Register LiveReg = LiveOp.getReg(); in canFoldCopy() local
466 if (RC->hasSubClassEq(MRI.getRegClass(LiveReg))) in canFoldCopy()