/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | Mips16RegisterInfo.cpp | 99 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()
|
D | MipsSERegisterInfo.cpp | 178 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/ |
D | ThumbRegisterInfo.cpp | 361 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 …]
|
D | Thumb2InstrInfo.cpp | 474 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 …]
|
D | ARMBaseRegisterInfo.cpp | 762 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()
|
D | ARMFrameLowering.h | 52 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/ |
D | XCoreRegisterInfo.cpp | 63 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/ |
D | LanaiRegisterInfo.cpp | 158 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/ |
D | ARCRegisterInfo.cpp | 40 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/ |
D | SparcRegisterInfo.cpp | 176 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()
|
D | SparcFrameLowering.cpp | 263 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/ |
D | RISCVRegisterInfo.cpp | 118 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()
|
D | RISCVFrameLowering.cpp | 305 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/ |
D | AArch64FrameLowering.h | 42 unsigned &FrameReg) const override; 44 unsigned &FrameReg, bool PreferFP, 48 bool isSVE, unsigned &FrameReg, 85 unsigned &FrameReg,
|
D | AArch64RegisterInfo.cpp | 464 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/ |
D | TargetFrameLowering.h | 259 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/ |
D | BPFRegisterInfo.cpp | 80 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/ |
D | VERegisterInfo.cpp | 99 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/ |
D | X86WinCOFFTargetStreamer.cpp | 273 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/ |
D | R600FrameLowering.cpp | 23 unsigned &FrameReg) const { in getFrameIndexReference() 29 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
|
D | SIRegisterInfo.cpp | 243 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/ |
D | NVPTXFrameLowering.cpp | 68 unsigned &FrameReg) const { in getFrameIndexReference() 70 FrameReg = NVPTX::VRDepot; in getFrameIndexReference()
|
D | NVPTXFrameLowering.h | 28 unsigned &FrameReg) const override;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 45 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/ |
D | X86FrameLowering.h | 100 unsigned &FrameReg) const override; 107 unsigned &FrameReg,
|