Home
last modified time | relevance | path

Searched refs:FrameReg (Results 1 – 25 of 63) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16RegisterInfo.cpp99 unsigned FrameReg; in eliminateFI() local
102 FrameReg = Mips::SP; in eliminateFI()
106 FrameReg = Mips::S0; in eliminateFI()
110 FrameReg = MI.getOperand(OpNo+2).getReg(); in eliminateFI()
112 FrameReg = Mips::SP; in eliminateFI()
133 !Mips16InstrInfo::validImmediate(MI.getOpcode(), FrameReg, Offset)) { in eliminateFI()
139 FrameReg = TII.loadImmediate(FrameReg, Offset, MBB, II, DL, NewImm); in eliminateFI()
143 MI.getOperand(OpNo).ChangeToRegister(FrameReg, false, false, IsKill); in eliminateFI()
DMipsSERegisterInfo.cpp178 unsigned FrameReg; in eliminateFI() local
182 FrameReg = ABI.GetStackPtr(); in eliminateFI()
185 FrameReg = ABI.GetBasePtr(); in eliminateFI()
187 FrameReg = getFrameRegister(MF); in eliminateFI()
189 FrameReg = ABI.GetStackPtr(); in eliminateFI()
191 FrameReg = getFrameRegister(MF); in eliminateFI()
230 .addReg(FrameReg) in eliminateFI()
233 FrameReg = Reg; in eliminateFI()
247 BuildMI(MBB, II, DL, TII.get(ABI.GetPtrAdduOp()), Reg).addReg(FrameReg) in eliminateFI()
250 FrameReg = Reg; in eliminateFI()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DThumbRegisterInfo.cpp361 unsigned FrameReg, int &Offset, in rewriteFrameIndex() argument
377 emitThumbRegPlusImmediate(MBB, II, dl, DestReg, FrameReg, Offset, TII, in rewriteFrameIndex()
387 unsigned NumBits = (FrameReg == ARM::SP) ? 8 : 5; in rewriteFrameIndex()
400 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
406 if (NewOpc != Opcode && FrameReg != ARM::SP) in rewriteFrameIndex()
466 unsigned FrameReg; in eliminateFrameIndex() local
469 int Offset = TFI->ResolveFrameIndexReference(MF, FrameIndex, FrameReg, SPAdj); in eliminateFrameIndex()
476 if (RS && FrameReg == ARM::SP && RS->isScavengingFrameIndex(FrameIndex)){ in eliminateFrameIndex()
488 MI.getOperand(FIOperandNum). ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
496 if (rewriteFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
[all …]
DThumb2InstrInfo.cpp474 unsigned FrameReg, int &Offset, in rewriteT2FrameIndex()
499 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
520 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
534 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
568 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
663 (Register::isVirtualRegister(FrameReg) || in rewriteT2FrameIndex()
664 RegClass->contains(FrameReg))) { in rewriteT2FrameIndex()
665 if (Register::isVirtualRegister(FrameReg)) { in rewriteT2FrameIndex()
668 if (!MRI->constrainRegClass(FrameReg, RegClass)) in rewriteT2FrameIndex()
673 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
[all …]
DARMBaseRegisterInfo.cpp762 unsigned FrameReg; in eliminateFrameIndex() local
764 int Offset = TFI->ResolveFrameIndexReference(MF, FrameIndex, FrameReg, SPAdj); in eliminateFrameIndex()
771 if (RS && FrameReg == ARM::SP && RS->isScavengingFrameIndex(FrameIndex)){ in eliminateFrameIndex()
786 Done = rewriteARMFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII); in eliminateFrameIndex()
789 Done = rewriteT2FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII, this); in eliminateFrameIndex()
818 (Register::isVirtualRegister(FrameReg) || RegClass->contains(FrameReg))) in eliminateFrameIndex()
820 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false, false, false); in eliminateFrameIndex()
824 emitARMRegPlusImmediate(MBB, II, MI.getDebugLoc(), ScratchReg, FrameReg, in eliminateFrameIndex()
828 emitT2RegPlusImmediate(MBB, II, MI.getDebugLoc(), ScratchReg, FrameReg, in eliminateFrameIndex()
DARMFrameLowering.h52 unsigned &FrameReg) const override;
54 unsigned &FrameReg, int SPAdj) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp63 unsigned Reg, unsigned FrameReg, int Offset ) { in InsertFPImmInst() argument
71 .addReg(FrameReg) in InsertFPImmInst()
78 .addReg(FrameReg) in InsertFPImmInst()
84 .addReg(FrameReg) in InsertFPImmInst()
94 unsigned Reg, unsigned FrameReg, in InsertFPConstInst() argument
107 .addReg(FrameReg) in InsertFPConstInst()
114 .addReg(FrameReg) in InsertFPConstInst()
120 .addReg(FrameReg) in InsertFPConstInst()
286 Register FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
290 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiRegisterInfo.cpp158 Register FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
161 FrameReg = getBaseRegister(); in eliminateFrameIndex()
163 FrameReg = Lanai::SP; in eliminateFrameIndex()
204 .addReg(FrameReg) in eliminateFrameIndex()
222 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex()
240 .addReg(FrameReg) in eliminateFrameIndex()
244 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCRegisterInfo.cpp40 unsigned FrameReg, int Offset, int StackSize, in ReplaceFrameIndex() argument
46 unsigned BaseReg = FrameReg; in ReplaceFrameIndex()
69 << " for FrameReg=" << printReg(FrameReg, TRI) in ReplaceFrameIndex()
77 .addReg(FrameReg) in ReplaceFrameIndex()
117 .addReg(FrameReg) in ReplaceFrameIndex()
193 Register FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
194 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcRegisterInfo.cpp176 unsigned FrameReg; in eliminateFrameIndex() local
178 Offset = TFI->getFrameIndexReference(MF, FrameIndex, FrameReg); in eliminateFrameIndex()
190 .addReg(FrameReg).addImm(0).addReg(SrcEvenReg); in eliminateFrameIndex()
191 replaceFI(MF, *StMI, *StMI, dl, 0, Offset, FrameReg); in eliminateFrameIndex()
202 .addReg(FrameReg).addImm(0); in eliminateFrameIndex()
203 replaceFI(MF, *LdMI, *LdMI, dl, 1, Offset, FrameReg); in eliminateFrameIndex()
211 replaceFI(MF, II, MI, dl, FIOperandNum, Offset, FrameReg); in eliminateFrameIndex()
DSparcFrameLowering.cpp263 unsigned &FrameReg) const { in getFrameIndexReference()
298 FrameReg = RegInfo->getFrameRegister(MF); in getFrameIndexReference()
301 FrameReg = SP::O6; // %sp in getFrameIndexReference()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.cpp118 unsigned FrameReg; in eliminateFrameIndex() local
120 getFrameLowering(MF)->getFrameIndexReference(MF, FrameIndex, FrameReg) + in eliminateFrameIndex()
138 .addReg(FrameReg) in eliminateFrameIndex()
141 FrameReg = ScratchReg; in eliminateFrameIndex()
146 .ChangeToRegister(FrameReg, false, false, FrameRegIsKill); in eliminateFrameIndex()
DRISCVFrameLowering.cpp305 unsigned &FrameReg) const { in getFrameIndexReference()
328 FrameReg = RISCV::X2; in getFrameIndexReference()
339 FrameReg = RISCVABI::getBPReg(); in getFrameIndexReference()
341 FrameReg = RISCV::X2; in getFrameIndexReference()
344 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.h42 unsigned &FrameReg) const override;
44 unsigned &FrameReg, bool PreferFP,
48 bool isSVE, unsigned &FrameReg,
85 unsigned &FrameReg,
DAArch64RegisterInfo.cpp464 unsigned FrameReg; in eliminateFrameIndex() local
470 TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg, in eliminateFrameIndex()
474 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
490 FrameReg = MI.getOperand(3).getReg(); in eliminateFrameIndex()
503 MF, FrameIndex, FrameReg, /*PreferFP=*/false, /*ForSimm=*/true); in eliminateFrameIndex()
506 emitFrameOffset(MBB, II, MI.getDebugLoc(), ScratchReg, FrameReg, Offset, in eliminateFrameIndex()
516 FrameReg = AArch64::SP; in eliminateFrameIndex()
521 MF, FrameIndex, FrameReg, /*PreferFP=*/false, /*ForSimm=*/true); in eliminateFrameIndex()
525 if (rewriteAArch64FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
536 emitFrameOffset(MBB, II, MI.getDebugLoc(), ScratchReg, FrameReg, Offset, TII); in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetFrameLowering.h259 unsigned &FrameReg) const;
268 unsigned &FrameReg, in getFrameIndexReferencePreferSP() argument
271 return getFrameIndexReference(MF, FI, FrameReg); in getFrameIndexReferencePreferSP()
281 unsigned FrameReg; in getNonLocalFrameIndexReference() local
282 return getFrameIndexReference(MF, FI, FrameReg); in getNonLocalFrameIndexReference()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFRegisterInfo.cpp80 Register FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
88 MI.getOperand(i).ChangeToRegister(FrameReg, false); in eliminateFrameIndex()
111 .addReg(FrameReg); in eliminateFrameIndex()
119 MI.getOperand(i).ChangeToRegister(FrameReg, false); in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVERegisterInfo.cpp99 unsigned FrameReg; in eliminateFrameIndex() local
101 Offset = TFI->getFrameIndexReference(MF, FrameIndex, FrameReg); in eliminateFrameIndex()
105 replaceFI(MF, II, MI, dl, FIOperandNum, Offset, FrameReg); in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86WinCOFFTargetStreamer.cpp273 unsigned FrameReg = 0; member
321 assert((StackAlign == 0 || FrameReg != 0) && in emitFrameDataRecord()
325 if (FrameReg) { in emitFrameDataRecord()
327 FuncOS << CFAVar << ' ' << printFPOReg(MRI, FrameReg) << ' ' << FrameRegOff in emitFrameDataRecord()
422 FSM.FrameReg = Inst.RegOrOffset; in emitFPOData()
433 if (FSM.FrameReg) in emitFPOData()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600FrameLowering.cpp23 unsigned &FrameReg) const { in getFrameIndexReference()
29 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
DSIRegisterInfo.cpp243 unsigned FrameReg = MFI->getFrameOffsetReg(); in getReservedRegs() local
244 if (FrameReg != AMDGPU::NoRegister) { in getReservedRegs()
245 reserveRegisterTuples(Reserved, FrameReg); in getReservedRegs()
246 assert(!isSubRegister(ScratchRSrcReg, FrameReg)); in getReservedRegs()
984 Register FrameReg = getFrameRegister(*MF); in eliminateFrameIndex() local
1036 FrameReg, in eliminateFrameIndex()
1066 FrameReg, in eliminateFrameIndex()
1089 Register DiffReg = TmpDiffReg.isValid() ? TmpDiffReg : FrameReg; in eliminateFrameIndex()
1097 .addReg(FrameReg) in eliminateFrameIndex()
1176 BuildMI(*MBB, MI, DL, TII->get(AMDGPU::S_ADD_U32), FrameReg) in eliminateFrameIndex()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXFrameLowering.cpp68 unsigned &FrameReg) const { in getFrameIndexReference()
70 FrameReg = NVPTX::VRDepot; in getFrameIndexReference()
DNVPTXFrameLowering.h28 unsigned &FrameReg) const override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetFrameLoweringImpl.cpp45 int FI, unsigned &FrameReg) const { in getFrameIndexReference()
52 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FrameLowering.h100 unsigned &FrameReg) const override;
107 unsigned &FrameReg,

123