Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/Mips/
DMipsSERegisterInfo.cpp135 unsigned FrameReg; in eliminateFI() local
139 FrameReg = ABI.GetStackPtr(); in eliminateFI()
142 FrameReg = ABI.GetBasePtr(); in eliminateFI()
144 FrameReg = getFrameRegister(MF); in eliminateFI()
146 FrameReg = ABI.GetStackPtr(); in eliminateFI()
148 FrameReg = getFrameRegister(MF); in eliminateFI()
187 .addReg(FrameReg) in eliminateFI()
190 FrameReg = Reg; in eliminateFI()
204 BuildMI(MBB, II, DL, TII.get(ABI.GetPtrAdduOp()), Reg).addReg(FrameReg) in eliminateFI()
207 FrameReg = Reg; in eliminateFI()
[all …]
DMips16RegisterInfo.cpp100 unsigned FrameReg; in eliminateFI() local
103 FrameReg = Mips::SP; in eliminateFI()
107 FrameReg = Mips::S0; in eliminateFI()
111 FrameReg = MI.getOperand(OpNo+2).getReg(); in eliminateFI()
113 FrameReg = Mips::SP; in eliminateFI()
134 !Mips16InstrInfo::validImmediate(MI.getOpcode(), FrameReg, Offset)) { in eliminateFI()
140 FrameReg = TII.loadImmediate(FrameReg, Offset, MBB, II, DL, NewImm); in eliminateFI()
144 MI.getOperand(OpNo).ChangeToRegister(FrameReg, false, false, IsKill); in eliminateFI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMips16RegisterInfo.cpp100 unsigned FrameReg; in eliminateFI() local
103 FrameReg = Mips::SP; in eliminateFI()
107 FrameReg = Mips::S0; in eliminateFI()
111 FrameReg = MI.getOperand(OpNo+2).getReg(); in eliminateFI()
113 FrameReg = Mips::SP; in eliminateFI()
134 !Mips16InstrInfo::validImmediate(MI.getOpcode(), FrameReg, Offset)) { in eliminateFI()
140 FrameReg = TII.loadImmediate(FrameReg, Offset, MBB, II, DL, NewImm); in eliminateFI()
144 MI.getOperand(OpNo).ChangeToRegister(FrameReg, false, false, IsKill); in eliminateFI()
DMipsSERegisterInfo.cpp179 unsigned FrameReg; in eliminateFI() local
183 FrameReg = ABI.GetStackPtr(); in eliminateFI()
186 FrameReg = ABI.GetBasePtr(); in eliminateFI()
188 FrameReg = getFrameRegister(MF); in eliminateFI()
190 FrameReg = ABI.GetStackPtr(); in eliminateFI()
192 FrameReg = getFrameRegister(MF); in eliminateFI()
233 .addReg(FrameReg) in eliminateFI()
236 FrameReg = Reg; in eliminateFI()
250 BuildMI(MBB, II, DL, TII.get(ABI.GetPtrAdduOp()), Reg).addReg(FrameReg) in eliminateFI()
253 FrameReg = Reg; in eliminateFI()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb1RegisterInfo.cpp387 unsigned FrameReg, int &Offset, in rewriteFrameIndex()
402 if (FrameReg != ARM::SP) { in rewriteFrameIndex()
416 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
431 AddDefaultPred(AddDefaultT1CC(MIB).addReg(FrameReg) in rewriteFrameIndex()
434 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
446 emitThumbRegPlusImmediate(MBB, II, dl, DestReg, FrameReg, Offset, TII, in rewriteFrameIndex()
460 AddDefaultPred(AddDefaultT1CC(MIB).addReg(FrameReg).addImm(Mask)); in rewriteFrameIndex()
462 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
477 MI.getOperand(FrameRegIdx+1).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
486 unsigned NumBits = (FrameReg == ARM::SP) ? 8 : 5; in rewriteFrameIndex()
[all …]
/external/llvm/lib/Target/ARM/
DThumbRegisterInfo.cpp352 unsigned FrameReg, int &Offset, in rewriteFrameIndex() argument
368 emitThumbRegPlusImmediate(MBB, II, dl, DestReg, FrameReg, Offset, TII, in rewriteFrameIndex()
378 unsigned NumBits = (FrameReg == ARM::SP) ? 8 : 5; in rewriteFrameIndex()
391 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
397 if (NewOpc != Opcode && FrameReg != ARM::SP) in rewriteFrameIndex()
512 unsigned FrameReg = ARM::SP; in eliminateFrameIndex() local
522 FrameReg = getFrameRegister(MF); in eliminateFrameIndex()
525 FrameReg = BasePtr; in eliminateFrameIndex()
533 if (RS && FrameReg == ARM::SP && RS->isScavengingFrameIndex(FrameIndex)){ in eliminateFrameIndex()
545 MI.getOperand(FIOperandNum). ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp64 unsigned Reg, unsigned FrameReg, int Offset ) { in InsertFPImmInst() argument
72 .addReg(FrameReg) in InsertFPImmInst()
79 .addReg(FrameReg) in InsertFPImmInst()
85 .addReg(FrameReg) in InsertFPImmInst()
95 unsigned Reg, unsigned FrameReg, in InsertFPConstInst() argument
108 .addReg(FrameReg) in InsertFPConstInst()
115 .addReg(FrameReg) in InsertFPConstInst()
121 .addReg(FrameReg) in InsertFPConstInst()
287 unsigned FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
291 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp64 unsigned Reg, unsigned FrameReg, int Offset ) { in InsertFPImmInst() argument
72 .addReg(FrameReg) in InsertFPImmInst()
79 .addReg(FrameReg) in InsertFPImmInst()
85 .addReg(FrameReg) in InsertFPImmInst()
95 unsigned Reg, unsigned FrameReg, in InsertFPConstInst() argument
108 .addReg(FrameReg) in InsertFPConstInst()
115 .addReg(FrameReg) in InsertFPConstInst()
121 .addReg(FrameReg) in InsertFPConstInst()
289 unsigned FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
293 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
[all …]
/external/swiftshader/third_party/llvm-7.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()
523 unsigned FrameReg; in eliminateFrameIndex() local
526 int Offset = TFI->ResolveFrameIndexReference(MF, FrameIndex, FrameReg, SPAdj); in eliminateFrameIndex()
533 if (RS && FrameReg == ARM::SP && RS->isScavengingFrameIndex(FrameIndex)){ in eliminateFrameIndex()
545 MI.getOperand(FIOperandNum). ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
553 if (rewriteFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.cpp80 unsigned FrameReg; in eliminateFrameIndex() local
82 getFrameLowering(MF)->getFrameIndexReference(MF, FrameIndex, FrameReg) + in eliminateFrameIndex()
100 .addReg(FrameReg) in eliminateFrameIndex()
103 FrameReg = ScratchReg; in eliminateFrameIndex()
108 .ChangeToRegister(FrameReg, false, false, FrameRegIsKill); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/
DARCRegisterInfo.cpp41 unsigned FrameReg, int Offset, int StackSize, in ReplaceFrameIndex() argument
47 unsigned BaseReg = FrameReg; in ReplaceFrameIndex()
70 << " for FrameReg=" << printReg(FrameReg, TRI) in ReplaceFrameIndex()
78 .addReg(FrameReg) in ReplaceFrameIndex()
114 .addReg(FrameReg) in ReplaceFrameIndex()
190 unsigned FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
191 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiRegisterInfo.cpp157 unsigned FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
160 FrameReg = getBaseRegister(); in eliminateFrameIndex()
162 FrameReg = Lanai::SP; in eliminateFrameIndex()
203 .addReg(FrameReg) in eliminateFrameIndex()
221 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex()
239 .addReg(FrameReg) in eliminateFrameIndex()
243 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp517 unsigned FrameReg = GetFrameRegGeneric(Ctx, Out); in GetFrameReg() local
518 if (FrameReg == X86::NoRegister) in GetFrameReg()
519 return FrameReg; in GetFrameReg()
520 return getX86SubSuperRegister(FrameReg, 32); in GetFrameReg()
550 unsigned FrameReg = GetFrameReg(Ctx, Out); in InstrumentMemOperandPrologue() local
551 if (MRI && FrameReg != X86::NoRegister) { in InstrumentMemOperandPrologue()
553 if (FrameReg == X86::ESP) { in InstrumentMemOperandPrologue()
560 MCInstBuilder(X86::MOV32rr).addReg(LocalFrameReg).addReg(FrameReg)); in InstrumentMemOperandPrologue()
585 unsigned FrameReg = GetFrameReg(Ctx, Out); in InstrumentMemOperandEpilogue() local
586 if (Ctx.getRegisterInfo() && FrameReg != X86::NoRegister) { in InstrumentMemOperandEpilogue()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp504 unsigned FrameReg = GetFrameRegGeneric(Ctx, Out); in GetFrameReg() local
505 if (FrameReg == X86::NoRegister) in GetFrameReg()
506 return FrameReg; in GetFrameReg()
507 return getX86SubSuperRegister(FrameReg, 32); in GetFrameReg()
537 unsigned FrameReg = GetFrameReg(Ctx, Out); in InstrumentMemOperandPrologue() local
538 if (MRI && FrameReg != X86::NoRegister) { in InstrumentMemOperandPrologue()
540 if (FrameReg == X86::ESP) { in InstrumentMemOperandPrologue()
547 MCInstBuilder(X86::MOV32rr).addReg(LocalFrameReg).addReg(FrameReg)); in InstrumentMemOperandPrologue()
572 unsigned FrameReg = GetFrameReg(Ctx, Out); in InstrumentMemOperandEpilogue() local
573 if (Ctx.getRegisterInfo() && FrameReg != X86::NoRegister) { in InstrumentMemOperandEpilogue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcRegisterInfo.cpp173 unsigned FrameReg; in eliminateFrameIndex() local
175 Offset = TFI->getFrameIndexReference(MF, FrameIndex, FrameReg); in eliminateFrameIndex()
187 .addReg(FrameReg).addImm(0).addReg(SrcEvenReg); in eliminateFrameIndex()
188 replaceFI(MF, II, *StMI, dl, 0, Offset, FrameReg); in eliminateFrameIndex()
199 .addReg(FrameReg).addImm(0); in eliminateFrameIndex()
200 replaceFI(MF, II, *StMI, dl, 1, Offset, FrameReg); in eliminateFrameIndex()
208 replaceFI(MF, II, MI, dl, FIOperandNum, Offset, FrameReg); in eliminateFrameIndex()
/external/llvm/lib/Target/Lanai/
DLanaiRegisterInfo.cpp157 unsigned FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
160 FrameReg = getBaseRegister(); in eliminateFrameIndex()
162 FrameReg = Lanai::SP; in eliminateFrameIndex()
203 .addReg(FrameReg) in eliminateFrameIndex()
221 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex()
239 .addReg(FrameReg) in eliminateFrameIndex()
243 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex()
/external/llvm/lib/Target/Sparc/
DSparcRegisterInfo.cpp173 unsigned FrameReg; in eliminateFrameIndex() local
175 Offset = TFI->getFrameIndexReference(MF, FrameIndex, FrameReg); in eliminateFrameIndex()
187 .addReg(FrameReg).addImm(0).addReg(SrcEvenReg); in eliminateFrameIndex()
188 replaceFI(MF, II, *StMI, dl, 0, Offset, FrameReg); in eliminateFrameIndex()
199 .addReg(FrameReg).addImm(0); in eliminateFrameIndex()
200 replaceFI(MF, II, *StMI, dl, 1, Offset, FrameReg); in eliminateFrameIndex()
208 replaceFI(MF, II, MI, dl, FIOperandNum, Offset, FrameReg); in eliminateFrameIndex()
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreRegisterInfo.cpp198 unsigned FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
202 MI.getOperand(i).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
240 .addReg(FrameReg) in eliminateFrameIndex()
246 .addReg(FrameReg) in eliminateFrameIndex()
251 .addReg(FrameReg) in eliminateFrameIndex()
261 .addReg(FrameReg) in eliminateFrameIndex()
267 .addReg(FrameReg) in eliminateFrameIndex()
272 .addReg(FrameReg) in eliminateFrameIndex()
/external/llvm/lib/Target/BPF/
DBPFRegisterInfo.cpp59 unsigned FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
67 MI.getOperand(i).ChangeToRegister(FrameReg, false); in eliminateFrameIndex()
88 .addReg(FrameReg); in eliminateFrameIndex()
96 MI.getOperand(i).ChangeToRegister(FrameReg, false); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
DBPFRegisterInfo.cpp81 unsigned FrameReg = getFrameRegister(MF); in eliminateFrameIndex() local
89 MI.getOperand(i).ChangeToRegister(FrameReg, false); in eliminateFrameIndex()
112 .addReg(FrameReg); in eliminateFrameIndex()
120 MI.getOperand(i).ChangeToRegister(FrameReg, false); in eliminateFrameIndex()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp376 unsigned FrameReg; in eliminateFrameIndex() local
382 Offset = TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg, in eliminateFrameIndex()
385 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
391 Offset = TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg); in eliminateFrameIndex()
392 if (rewriteAArch64FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
403 emitFrameOffset(MBB, II, MI.getDebugLoc(), ScratchReg, FrameReg, Offset, TII); in eliminateFrameIndex()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetFrameLowering.cpp37 int FI, unsigned &FrameReg) const { in getFrameIndexReference()
43 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp404 unsigned FrameReg; in eliminateFrameIndex() local
410 Offset = TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg, in eliminateFrameIndex()
413 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
419 Offset = TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg); in eliminateFrameIndex()
420 if (rewriteAArch64FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
431 emitFrameOffset(MBB, II, MI.getDebugLoc(), ScratchReg, FrameReg, Offset, TII); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600FrameLowering.cpp24 unsigned &FrameReg) const { in getFrameIndexReference()
30 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUFrameLowering.cpp77 unsigned &FrameReg) const { in getFrameIndexReference()
83 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()

12345