/external/llvm/lib/Target/SystemZ/ |
D | SystemZRegisterInfo.cpp | 59 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 …]
|
D | SystemZRegisterInfo.h | 51 int SPAdj, unsigned FIOperandNum,
|
/external/llvm/lib/Target/Sparc/ |
D | SparcRegisterInfo.cpp | 112 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 …]
|
D | SparcRegisterInfo.h | 39 int SPAdj, unsigned FIOperandNum,
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXRegisterInfo.cpp | 92 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()
|
D | NVPTXRegisterInfo.h | 43 unsigned FIOperandNum,
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 105 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()
|
D | MSP430RegisterInfo.h | 37 int SPAdj, unsigned FIOperandNum,
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 735 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/ |
D | AArch64RegisterInfo.cpp | 356 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/ |
D | WebAssemblyRegisterInfo.cpp | 56 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()
|
D | WebAssemblyRegisterInfo.h | 39 unsigned FIOperandNum,
|
/external/llvm/lib/Target/ARM/ |
D | ThumbRegisterInfo.cpp | 498 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()
|
D | ARMBaseRegisterInfo.cpp | 680 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()
|
D | ThumbRegisterInfo.h | 60 int SPAdj, unsigned FIOperandNum,
|
/external/llvm/lib/Target/XCore/ |
D | XCoreRegisterInfo.cpp | 262 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()
|
D | XCoreRegisterInfo.h | 43 int SPAdj, unsigned FIOperandNum,
|
/external/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 538 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/ |
D | RegisterScavenging.cpp | 423 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/ |
D | MipsRegisterInfo.cpp | 264 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/ |
D | BPFRegisterInfo.h | 33 unsigned FIOperandNum,
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterInfo.h | 50 unsigned FIOperandNum,
|
D | AMDGPURegisterInfo.cpp | 36 unsigned FIOperandNum, in eliminateFrameIndex() argument
|
D | SIRegisterInfo.cpp | 257 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/ |
D | HexagonRegisterInfo.h | 52 unsigned FIOperandNum, RegScavenger *RS = nullptr) const override;
|