Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp121 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
128 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
148 MI.getOperand(FIOperandNum).ChangeToRegister(getStackRegister(), false, in eliminateFrameIndex()
150 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(FrameSize+Offset); in eliminateFrameIndex()
187 MI.getOperand(FIOperandNum).ChangeToRegister(dstReg, false, false,true); in eliminateFrameIndex()
188 MI.getOperand(FIOperandNum+1).ChangeToImmediate(0); in eliminateFrameIndex()
215 MI.getOperand(FIOperandNum).ChangeToRegister(resReg, false, false,true); in eliminateFrameIndex()
216 MI.getOperand(FIOperandNum+1).ChangeToImmediate(0); in eliminateFrameIndex()
221 MI.getOperand(FIOperandNum).ChangeToRegister(getStackRegister(), in eliminateFrameIndex()
223 MI.getOperand(FIOperandNum+1).ChangeToImmediate(FrameSize+Offset); in eliminateFrameIndex()
[all …]
DHexagonRegisterInfo.h60 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/Sparc/
DSparcRegisterInfo.cpp61 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
67 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
72 MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
78 MI.getOperand(FIOperandNum).ChangeToRegister(SP::I6, false); in eliminateFrameIndex()
79 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
89 MI.getOperand(FIOperandNum).ChangeToRegister(SP::G1, false); in eliminateFrameIndex()
90 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset & ((1 << 10)-1)); in eliminateFrameIndex()
DSparcRegisterInfo.h40 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp83 unsigned FIOperandNum, in eliminateFrameIndex() argument
107 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
115 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
120 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/ false); in eliminateFrameIndex()
121 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
151 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false, false, true); in eliminateFrameIndex()
152 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset / OffsetScale); in eliminateFrameIndex()
DAArch64RegisterInfo.h44 unsigned FIOperandNum,
/external/llvm/lib/Target/NVPTX/
DNVPTXRegisterInfo.cpp124 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
129 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
133 MI.getOperand(FIOperandNum+1).getImm(); in eliminateFrameIndex()
136 MI.getOperand(FIOperandNum).ChangeToRegister(NVPTX::VRFrame, false); in eliminateFrameIndex()
137 MI.getOperand(FIOperandNum+1).ChangeToImmediate(Offset); in eliminateFrameIndex()
DNVPTXRegisterInfo.h58 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp106 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
115 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
129 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.h46 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/MBlaze/
DMBlazeRegisterInfo.cpp91 unsigned FIOperandNum, RegScavenger *RS) const { in eliminateFrameIndex() argument
95 unsigned OFIOperandNum = FIOperandNum == 2 ? 1 : 2; in eliminateFrameIndex()
100 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
121 MI.getOperand(FIOperandNum).ChangeToRegister(getFrameRegister(MF), false); in eliminateFrameIndex()
DMBlazeRegisterInfo.h55 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp106 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
111 MachineOperand &FrameOp = MI.getOperand(FIOperandNum); in eliminateFrameIndex()
135 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
136 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
141 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
142 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0); in eliminateFrameIndex()
DXCoreRegisterInfo.h58 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp180 unsigned FIOperandNum, RegScavenger *RS) const { in eliminateFrameIndex() argument
187 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
195 eliminateFI(MI, FIOperandNum, FrameIndex, stackSize, spOffset); in eliminateFrameIndex()
DMipsRegisterInfo.h58 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/ARM/
DThumb1RegisterInfo.cpp555 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
566 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
603 MI.getOperand(FIOperandNum). ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
604 MI.getOperand(FIOperandNum+1).ChangeToImmediate(Offset); in eliminateFrameIndex()
611 if (rewriteFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex()
644 MI.getOperand(FIOperandNum).ChangeToRegister(TmpReg, false, false, true); in eliminateFrameIndex()
648 MI.getOperand(FIOperandNum+1).ChangeToRegister(FrameReg, false, false, in eliminateFrameIndex()
666 MI.getOperand(FIOperandNum).ChangeToRegister(VReg, false, false, true); in eliminateFrameIndex()
670 MI.getOperand(FIOperandNum+1).ChangeToRegister(FrameReg, false, false, in eliminateFrameIndex()
DARMBaseRegisterInfo.cpp663 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
673 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
695 MI.getOperand(FIOperandNum). ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex()
696 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
703 Done = rewriteARMFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII); in eliminateFrameIndex()
706 Done = rewriteT2FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII); in eliminateFrameIndex()
726 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false, false, false); in eliminateFrameIndex()
738 MI.getOperand(FIOperandNum).ChangeToRegister(ScratchReg, false, false,true); in eliminateFrameIndex()
DThumb1RegisterInfo.h60 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/CodeGen/
DRegisterScavenging.cpp378 unsigned FIOperandNum = getFrameIndexOperandNum(II); in scavengeRegister() local
379 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in scavengeRegister()
385 FIOperandNum = getFrameIndexOperandNum(II); in scavengeRegister()
386 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in scavengeRegister()
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp379 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
395 unsigned OffsetOperandNo = (FIOperandNum == 2) ? 1 : 2; in eliminateFrameIndex()
397 OffsetOperandNo = FIOperandNum-1; in eliminateFrameIndex()
400 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
428 MI.getOperand(FIOperandNum).ChangeToRegister(TFI->hasFP(MF) ? in eliminateFrameIndex()
527 unsigned StackReg = MI.getOperand(FIOperandNum).getReg(); in eliminateFrameIndex()
DPPCRegisterInfo.h72 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp456 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
463 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex()
479 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
490 if (MI.getOperand(FIOperandNum+3).isImm()) { in eliminateFrameIndex()
492 int Imm = (int)(MI.getOperand(FIOperandNum + 3).getImm()); in eliminateFrameIndex()
496 MI.getOperand(FIOperandNum + 3).ChangeToImmediate(Offset); in eliminateFrameIndex()
500 (uint64_t)MI.getOperand(FIOperandNum+3).getOffset(); in eliminateFrameIndex()
501 MI.getOperand(FIOperandNum + 3).setOffset(Offset); in eliminateFrameIndex()
/external/llvm/lib/Target/R600/
DAMDGPURegisterInfo.h56 unsigned FIOperandNum,
DAMDGPURegisterInfo.cpp41 unsigned FIOperandNum, in eliminateFrameIndex() argument

12