/external/llvm/lib/Target/SystemZ/ |
D | SystemZRegisterInfo.cpp | 67 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/ |
D | WebAssemblyRegisterInfo.cpp | 55 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()
|
D | WebAssemblyRegisterInfo.h | 39 unsigned FIOperandNum,
|
/external/llvm/lib/Target/Sparc/ |
D | SparcRegisterInfo.cpp | 110 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 …]
|
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/Lanai/ |
D | LanaiRegisterInfo.cpp | 136 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()
|
D | LanaiRegisterInfo.h | 44 unsigned FIOperandNum,
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 762 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/ |
D | X86RegisterInfo.cpp | 576 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/ |
D | AVRRegisterInfo.cpp | 122 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()
|
D | AVRRegisterInfo.h | 42 unsigned FIOperandNum,
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64RegisterInfo.cpp | 364 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/ |
D | ThumbRegisterInfo.cpp | 496 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()
|
D | ARMBaseRegisterInfo.cpp | 708 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/ |
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/CodeGen/ |
D | RegisterScavenging.cpp | 437 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/ |
D | MipsRegisterInfo.cpp | 276 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/ |
D | BPFRegisterInfo.h | 33 unsigned FIOperandNum,
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600RegisterInfo.h | 48 unsigned FIOperandNum,
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonRegisterInfo.h | 37 unsigned FIOperandNum, RegScavenger *RS = nullptr) const override;
|