Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp67 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
79 int FrameIndex = MI->getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
82 MI->getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex()
86 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, /*isDef*/ false); in eliminateFrameIndex()
87 MI->getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
101 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
120 && MI->getOperand(FIOperandNum + 2).getReg() == 0) { in eliminateFrameIndex()
124 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
125 MI->getOperand(FIOperandNum + 2).ChangeToRegister(ScratchReg, in eliminateFrameIndex()
142 MI->getOperand(FIOperandNum).ChangeToRegister(ScratchReg, in eliminateFrameIndex()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegisterInfo.cpp55 MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
63 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
69 if (MI.mayLoadOrStore() && FIOperandNum == WebAssembly::MemOpAddressOperandNo) { in eliminateFrameIndex()
74 MI.getOperand(FIOperandNum - 1).setImm(Offset); in eliminateFrameIndex()
75 MI.getOperand(FIOperandNum) in eliminateFrameIndex()
84 MachineOperand &OtherMO = MI.getOperand(3 - FIOperandNum); in eliminateFrameIndex()
96 MI.getOperand(FIOperandNum) in eliminateFrameIndex()
122 MI.getOperand(FIOperandNum).ChangeToRegister(FIRegOperand, /*IsDef=*/false); in eliminateFrameIndex()
DWebAssemblyRegisterInfo.h39 unsigned FIOperandNum,
/external/llvm/lib/Target/Sparc/
DSparcRegisterInfo.cpp110 unsigned FIOperandNum, int Offset, unsigned FramePtr) { in replaceFI() argument
115 MI.getOperand(FIOperandNum).ChangeToRegister(FramePtr, false); in replaceFI()
116 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in replaceFI()
137 MI.getOperand(FIOperandNum).ChangeToRegister(SP::G1, false); in replaceFI()
138 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(LO10(Offset)); in replaceFI()
155 MI.getOperand(FIOperandNum).ChangeToRegister(SP::G1, false); in replaceFI()
156 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0); in replaceFI()
162 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
168 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
177 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/Lanai/
DLanaiRegisterInfo.cpp136 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
147 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
150 MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
221 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex()
222 MI.getOperand(FIOperandNum + 1) in eliminateFrameIndex()
243 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex()
244 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
DLanaiRegisterInfo.h44 unsigned FIOperandNum,
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp762 unsigned FIOperandNum) { in getOffsetONFromFION() argument
764 unsigned OffsetOperandNo = (FIOperandNum == 2) ? 1 : 2; in getOffsetONFromFION()
766 OffsetOperandNo = FIOperandNum - 1; in getOffsetONFromFION()
769 OffsetOperandNo = FIOperandNum + 1; in getOffsetONFromFION()
776 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
793 unsigned OffsetOperandNo = getOffsetONFromFION(MI, FIOperandNum); in eliminateFrameIndex()
796 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
839 MI.getOperand(FIOperandNum).ChangeToRegister( in eliminateFrameIndex()
915 unsigned StackReg = MI.getOperand(FIOperandNum).getReg(); in eliminateFrameIndex()
1028 unsigned FIOperandNum = 0; in resolveFrameIndex() local
[all …]
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp576 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
581 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
604 MachineOperand &FI = MI.getOperand(FIOperandNum); in eliminateFrameIndex()
619 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
637 int64_t Offset = MI.getOperand(FIOperandNum + 1).getImm() + FIOffset; in eliminateFrameIndex()
638 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
642 if (MI.getOperand(FIOperandNum+3).isImm()) { in eliminateFrameIndex()
644 int Imm = (int)(MI.getOperand(FIOperandNum + 3).getImm()); in eliminateFrameIndex()
648 MI.getOperand(FIOperandNum + 3).ChangeToImmediate(Offset); in eliminateFrameIndex()
652 (uint64_t)MI.getOperand(FIOperandNum+3).getOffset(); in eliminateFrameIndex()
[all …]
/external/llvm/lib/Target/AVR/
DAVRRegisterInfo.cpp122 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
134 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
140 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
147 MI.getOperand(FIOperandNum).ChangeToRegister(AVR::R29R28, false); in eliminateFrameIndex()
232 MI.getOperand(FIOperandNum).ChangeToRegister(AVR::R29R28, false); in eliminateFrameIndex()
234 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
DAVRRegisterInfo.h42 unsigned FIOperandNum,
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp364 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
375 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
384 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
385 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
386 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
392 if (rewriteAArch64FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
404 MI.getOperand(FIOperandNum).ChangeToRegister(ScratchReg, false, false, true); in eliminateFrameIndex()
/external/llvm/lib/Target/ARM/
DThumbRegisterInfo.cpp496 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
503 return ARMBaseRegisterInfo::eliminateFrameIndex(II, SPAdj, FIOperandNum, in eliminateFrameIndex()
513 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
545 MI.getOperand(FIOperandNum). ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
546 MI.getOperand(FIOperandNum+1).ChangeToImmediate(Offset); in eliminateFrameIndex()
553 if (rewriteFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
586 MI.getOperand(FIOperandNum).ChangeToRegister(TmpReg, false, false, true); in eliminateFrameIndex()
590 MI.getOperand(FIOperandNum+1).ChangeToRegister(FrameReg, false, false, in eliminateFrameIndex()
608 MI.getOperand(FIOperandNum).ChangeToRegister(VReg, false, false, true); in eliminateFrameIndex()
612 MI.getOperand(FIOperandNum+1).ChangeToRegister(FrameReg, false, false, in eliminateFrameIndex()
DARMBaseRegisterInfo.cpp708 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
719 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
744 Done = rewriteARMFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII); in eliminateFrameIndex()
747 Done = rewriteT2FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII); in eliminateFrameIndex()
767 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false, false, false); in eliminateFrameIndex()
779 MI.getOperand(FIOperandNum).ChangeToRegister(ScratchReg, false, false,true); in eliminateFrameIndex()
/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/CodeGen/
DRegisterScavenging.cpp437 unsigned FIOperandNum = getFrameIndexOperandNum(*II); in scavengeRegister() local
438 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in scavengeRegister()
445 FIOperandNum = getFrameIndexOperandNum(*II); in scavengeRegister()
446 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in scavengeRegister()
/external/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp276 unsigned FIOperandNum, RegScavenger *RS) const { in eliminateFrameIndex() argument
283 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
291 eliminateFI(MI, FIOperandNum, FrameIndex, stackSize, spOffset); in eliminateFrameIndex()
/external/llvm/lib/Target/BPF/
DBPFRegisterInfo.h33 unsigned FIOperandNum,
/external/llvm/lib/Target/AMDGPU/
DR600RegisterInfo.h48 unsigned FIOperandNum,
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.h37 unsigned FIOperandNum, RegScavenger *RS = nullptr) const override;

12