Home
last modified time | relevance | path

Searched refs:SavedRegs (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegUsageInfoCollector.cpp61 static void computeCalleeSavedRegs(BitVector &SavedRegs, MachineFunction &MF);
138 BitVector SavedRegs; in runOnMachineFunction() local
139 computeCalleeSavedRegs(SavedRegs, MF); in runOnMachineFunction()
157 if (SavedRegs.test(PReg)) in runOnMachineFunction()
163 if (!SavedRegs.test(*AI)) in runOnMachineFunction()
196 computeCalleeSavedRegs(BitVector &SavedRegs, MachineFunction &MF) { in computeCalleeSavedRegs() argument
201 SavedRegs.clear(); in computeCalleeSavedRegs()
202 TFI.getCalleeSaves(MF, SavedRegs); in computeCalleeSavedRegs()
203 if (SavedRegs.none()) in computeCalleeSavedRegs()
210 if (SavedRegs.test(Reg)) { in computeCalleeSavedRegs()
[all …]
DTargetFrameLoweringImpl.cpp77 BitVector &SavedRegs, in determineCalleeSaves() argument
84 SavedRegs.resize(TRI.getNumRegs()); in determineCalleeSaves()
123 SavedRegs.set(Reg); in determineCalleeSaves()
DShrinkWrap.cpp167 BitVector SavedRegs; in getCurrentCSRs() local
171 TFI->determineCalleeSaves(*MachineFunc, SavedRegs, RS); in getCurrentCSRs()
173 for (int Reg = SavedRegs.find_first(); Reg != -1; in getCurrentCSRs()
174 Reg = SavedRegs.find_next(Reg)) in getCurrentCSRs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFFrameLowering.cpp32 BitVector &SavedRegs, in determineCalleeSaves() argument
34 TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); in determineCalleeSaves()
35 SavedRegs.reset(BPF::R6); in determineCalleeSaves()
36 SavedRegs.reset(BPF::R7); in determineCalleeSaves()
37 SavedRegs.reset(BPF::R8); in determineCalleeSaves()
38 SavedRegs.reset(BPF::R9); in determineCalleeSaves()
DBPFFrameLowering.h30 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp813 mutable unsigned SavedRegs[CU_NUM_SAVED_REGS]; member in __anon6c7a96190211::DarwinX86AsmBackend
849 memset(SavedRegs, 0, sizeof(SavedRegs)); in generateCompactUnwindEncodingImpl()
886 memset(SavedRegs, 0, sizeof(SavedRegs)); in generateCompactUnwindEncodingImpl()
930 SavedRegs[SavedRegIdx++] = Reg; in generateCompactUnwindEncodingImpl()
979 std::reverse(&SavedRegs[0], &SavedRegs[SavedRegIdx]); in generateCompactUnwindEncodingImpl()
1021 unsigned Reg = SavedRegs[i]; in encodeCompactUnwindRegistersWithFrame()
1055 int CUReg = getCompactUnwindRegNum(SavedRegs[i]); in encodeCompactUnwindRegistersWithoutFrame()
1057 SavedRegs[i] = CUReg; in encodeCompactUnwindRegistersWithoutFrame()
1061 std::reverse(&SavedRegs[0], &SavedRegs[CU_NUM_SAVED_REGS]); in encodeCompactUnwindRegistersWithoutFrame()
1067 if (SavedRegs[j] < SavedRegs[i]) in encodeCompactUnwindRegistersWithoutFrame()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp163 BitVector &SavedRegs, in determineCalleeSaves() argument
165 TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); in determineCalleeSaves()
172 SavedRegs.set(Mips::S2); in determineCalleeSaves()
174 SavedRegs.set(Mips::S0); in determineCalleeSaves()
DMips16FrameLowering.h40 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
DMipsSEFrameLowering.h40 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
DMipsSEFrameLowering.cpp854 static void setAliasRegs(MachineFunction &MF, BitVector &SavedRegs, in setAliasRegs() argument
858 SavedRegs.set(*AI); in setAliasRegs()
862 BitVector &SavedRegs, in determineCalleeSaves() argument
864 TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); in determineCalleeSaves()
874 setAliasRegs(MF, SavedRegs, RA); in determineCalleeSaves()
875 setAliasRegs(MF, SavedRegs, FP); in determineCalleeSaves()
879 setAliasRegs(MF, SavedRegs, BP); in determineCalleeSaves()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVFrameLowering.cpp354 BitVector &SavedRegs, in determineCalleeSaves() argument
356 TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); in determineCalleeSaves()
360 SavedRegs.set(RISCV::X1); in determineCalleeSaves()
361 SavedRegs.set(RISCV::X8); in determineCalleeSaves()
365 SavedRegs.set(RISCVABI::getBPReg()); in determineCalleeSaves()
382 SavedRegs.set(CSRegs[i]); in determineCalleeSaves()
393 SavedRegs.set(Regs[i]); in determineCalleeSaves()
DRISCVFrameLowering.h35 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFrameLowering.cpp1590 checkNumAlignedDPRCS2Regs(MachineFunction &MF, BitVector &SavedRegs) { in checkNumAlignedDPRCS2Regs() argument
1619 if (!SavedRegs.test(ARM::D8 + NumSpills)) in checkNumAlignedDPRCS2Regs()
1630 SavedRegs.set(ARM::R4); in checkNumAlignedDPRCS2Regs()
1634 BitVector &SavedRegs, in determineCalleeSaves() argument
1636 TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); in determineCalleeSaves()
1666 SavedRegs.set(ARM::R4); in determineCalleeSaves()
1675 SavedRegs.set(ARM::R4); in determineCalleeSaves()
1676 SavedRegs.set(ARM::LR); in determineCalleeSaves()
1682 SavedRegs.set(ARM::LR); in determineCalleeSaves()
1692 SavedRegs.set(ARM::R4); in determineCalleeSaves()
[all …]
DARMFrameLowering.h57 BitVector &SavedRegs) const override;
58 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp172 BitVector &SavedRegs, in determineCalleeSaves() argument
174 TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); in determineCalleeSaves()
188 SavedRegs.set(SystemZ::ArgGPRs[I]); in determineCalleeSaves()
192 SavedRegs.set(SystemZ::R6D); in determineCalleeSaves()
193 SavedRegs.set(SystemZ::R7D); in determineCalleeSaves()
199 SavedRegs.set(SystemZ::R11D); in determineCalleeSaves()
204 SavedRegs.set(SystemZ::R14D); in determineCalleeSaves()
213 if (SystemZ::GR64BitRegClass.contains(Reg) && SavedRegs.test(Reg)) { in determineCalleeSaves()
214 SavedRegs.set(SystemZ::R15D); in determineCalleeSaves()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp198 BitVector &SavedRegs, in determineCalleeSaves() argument
200 TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); in determineCalleeSaves()
217 SavedRegs.reset(LRI->getBaseRegister()); in determineCalleeSaves()
DLanaiFrameLowering.h49 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFrameLowering.h37 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
39 void determineCalleeSavesSGPR(MachineFunction &MF, BitVector &SavedRegs,
DSILowerSGPRSpills.cpp194 BitVector SavedRegs; in spillCalleeSavedRegs() local
195 TFI->determineCalleeSavesSGPR(MF, SavedRegs, RS); in spillCalleeSavedRegs()
208 if (SavedRegs.test(Reg)) { in spillCalleeSavedRegs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetFrameLowering.h288 BitVector &SavedRegs) const;
300 virtual void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcFrameLowering.h38 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRFrameLowering.h36 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreFrameLowering.h49 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp2341 BitVector &SavedRegs, in determineCalleeSaves() argument
2348 TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); in determineCalleeSaves()
2369 SavedRegs.set(Reg); in determineCalleeSaves()
2371 bool RegUsed = SavedRegs.test(Reg); in determineCalleeSaves()
2391 !SavedRegs.test(PairedReg)) { in determineCalleeSaves()
2392 SavedRegs.set(PairedReg); in determineCalleeSaves()
2404 for (unsigned Reg : SavedRegs.set_bits()) { in determineCalleeSaves()
2414 unsigned NumSavedRegs = SavedRegs.count(); in determineCalleeSaves()
2420 SavedRegs.set(AArch64::FP); in determineCalleeSaves()
2421 SavedRegs.set(AArch64::LR); in determineCalleeSaves()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCFrameLowering.h40 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,

12