Home
last modified time | relevance | path

Searched refs:FIOperandNum (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp59 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
71 int FrameIndex = MI->getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
74 MI->getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex()
78 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, /*isDef*/ false); in eliminateFrameIndex()
79 MI->getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
88 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
106 && MI->getOperand(FIOperandNum + 2).getReg() == 0) { in eliminateFrameIndex()
110 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
111 MI->getOperand(FIOperandNum + 2).ChangeToRegister(ScratchReg, in eliminateFrameIndex()
128 MI->getOperand(FIOperandNum).ChangeToRegister(ScratchReg, in eliminateFrameIndex()
[all …]
DSystemZRegisterInfo.h51 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/Sparc/
DSparcRegisterInfo.cpp112 unsigned FIOperandNum, int Offset, in replaceFI() argument
119 MI.getOperand(FIOperandNum).ChangeToRegister(FramePtr, false); in replaceFI()
120 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in replaceFI()
141 MI.getOperand(FIOperandNum).ChangeToRegister(SP::G1, false); in replaceFI()
142 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(LO10(Offset)); in replaceFI()
159 MI.getOperand(FIOperandNum).ChangeToRegister(SP::G1, false); in replaceFI()
160 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0); in replaceFI()
166 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
172 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
181 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
[all …]
DSparcRegisterInfo.h39 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/NVPTX/
DNVPTXRegisterInfo.cpp92 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
97 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
101 MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
104 MI.getOperand(FIOperandNum).ChangeToRegister(NVPTX::VRFrame, false); in eliminateFrameIndex()
105 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
DNVPTXRegisterInfo.h43 unsigned FIOperandNum,
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp105 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
114 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
128 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
137 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
154 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
155 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
DMSP430RegisterInfo.h37 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp735 unsigned FIOperandNum) { in getOffsetONFromFION() argument
737 unsigned OffsetOperandNo = (FIOperandNum == 2) ? 1 : 2; in getOffsetONFromFION()
739 OffsetOperandNo = FIOperandNum - 1; in getOffsetONFromFION()
742 OffsetOperandNo = FIOperandNum + 1; in getOffsetONFromFION()
749 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
766 unsigned OffsetOperandNo = getOffsetONFromFION(MI, FIOperandNum); in eliminateFrameIndex()
769 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
812 MI.getOperand(FIOperandNum).ChangeToRegister( in eliminateFrameIndex()
888 unsigned StackReg = MI.getOperand(FIOperandNum).getReg(); in eliminateFrameIndex()
1002 unsigned FIOperandNum = 0; in resolveFrameIndex() local
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp356 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
367 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
376 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
377 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
378 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
384 if (rewriteAArch64FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
396 MI.getOperand(FIOperandNum).ChangeToRegister(ScratchReg, false, false, true); in eliminateFrameIndex()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegisterInfo.cpp56 unsigned FIOperandNum, RegScavenger * /*RS*/) const { in eliminateFrameIndex() argument
62 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
84 MI.getOperand(FIOperandNum).ChangeToRegister(OffsetReg, /*IsDef=*/false); in eliminateFrameIndex()
DWebAssemblyRegisterInfo.h39 unsigned FIOperandNum,
/external/llvm/lib/Target/ARM/
DThumbRegisterInfo.cpp498 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
505 return ARMBaseRegisterInfo::eliminateFrameIndex(II, SPAdj, FIOperandNum, in eliminateFrameIndex()
515 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
547 MI.getOperand(FIOperandNum). ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
548 MI.getOperand(FIOperandNum+1).ChangeToImmediate(Offset); in eliminateFrameIndex()
555 if (rewriteFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
588 MI.getOperand(FIOperandNum).ChangeToRegister(TmpReg, false, false, true); in eliminateFrameIndex()
592 MI.getOperand(FIOperandNum+1).ChangeToRegister(FrameReg, false, false, in eliminateFrameIndex()
610 MI.getOperand(FIOperandNum).ChangeToRegister(VReg, false, false, true); in eliminateFrameIndex()
614 MI.getOperand(FIOperandNum+1).ChangeToRegister(FrameReg, false, false, in eliminateFrameIndex()
DARMBaseRegisterInfo.cpp680 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
691 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
716 Done = rewriteARMFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII); in eliminateFrameIndex()
719 Done = rewriteT2FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII); in eliminateFrameIndex()
739 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false, false, false); in eliminateFrameIndex()
751 MI.getOperand(FIOperandNum).ChangeToRegister(ScratchReg, false, false,true); in eliminateFrameIndex()
DThumbRegisterInfo.h60 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp262 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
266 MachineOperand &FrameOp = MI.getOperand(FIOperandNum); in eliminateFrameIndex()
293 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
294 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
299 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
300 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0); in eliminateFrameIndex()
DXCoreRegisterInfo.h43 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp538 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
543 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
566 MachineOperand &FI = MI.getOperand(FIOperandNum); in eliminateFrameIndex()
581 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
599 int64_t Offset = MI.getOperand(FIOperandNum + 1).getImm() + FIOffset; in eliminateFrameIndex()
600 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
604 if (MI.getOperand(FIOperandNum+3).isImm()) { in eliminateFrameIndex()
606 int Imm = (int)(MI.getOperand(FIOperandNum + 3).getImm()); in eliminateFrameIndex()
610 MI.getOperand(FIOperandNum + 3).ChangeToImmediate(Offset); in eliminateFrameIndex()
614 (uint64_t)MI.getOperand(FIOperandNum+3).getOffset(); in eliminateFrameIndex()
[all …]
/external/llvm/lib/CodeGen/
DRegisterScavenging.cpp423 unsigned FIOperandNum = getFrameIndexOperandNum(II); in scavengeRegister() local
424 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in scavengeRegister()
431 FIOperandNum = getFrameIndexOperandNum(II); in scavengeRegister()
432 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in scavengeRegister()
/external/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp264 unsigned FIOperandNum, RegScavenger *RS) const { in eliminateFrameIndex() argument
271 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
279 eliminateFI(MI, FIOperandNum, FrameIndex, stackSize, spOffset); in eliminateFrameIndex()
/external/llvm/lib/Target/BPF/
DBPFRegisterInfo.h33 unsigned FIOperandNum,
/external/llvm/lib/Target/AMDGPU/
DAMDGPURegisterInfo.h50 unsigned FIOperandNum,
DAMDGPURegisterInfo.cpp36 unsigned FIOperandNum, in eliminateFrameIndex() argument
DSIRegisterInfo.cpp257 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
267 MachineOperand &FIOp = MI->getOperand(FIOperandNum); in eliminateFrameIndex()
268 int Index = MI->getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
383 if (!TII->isImmOperandLegal(MI, FIOperandNum, FIOp)) { in eliminateFrameIndex()
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.h52 unsigned FIOperandNum, RegScavenger *RS = nullptr) const override;

12