/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VERegisterInfo.cpp | 168 int FIOperandNum); 172 int FIOperandNum); 174 int FIOperandNum); 177 int FIOperandNum); 179 int FIOperandNum); 182 int FIOperandNum); 184 int FIOperandNum); 194 int FIOperandNum); 227 int64_t Offset, int FIOperandNum) { in replaceFI() argument 232 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false); in replaceFI() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcRegisterInfo.cpp | 123 unsigned FIOperandNum, int Offset, unsigned FramePtr) { in replaceFI() 128 MI.getOperand(FIOperandNum).ChangeToRegister(FramePtr, false); in replaceFI() 129 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in replaceFI() 150 MI.getOperand(FIOperandNum).ChangeToRegister(SP::G1, false); in replaceFI() 151 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(LO10(Offset)); in replaceFI() 168 MI.getOperand(FIOperandNum).ChangeToRegister(SP::G1, false); in eliminateFrameIndex() 169 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0); in eliminateFrameIndex() 175 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() 181 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 190 Offset += MI.getOperand(FIOperandNum in eliminateFrameIndex() 113 replaceFI(MachineFunction & MF,MachineBasicBlock::iterator II,MachineInstr & MI,const DebugLoc & dl,unsigned FIOperandNum,int Offset,unsigned FramePtr) replaceFI() argument 165 eliminateFrameIndex(MachineBasicBlock::iterator II,int SPAdj,unsigned FIOperandNum,RegScavenger * RS) const eliminateFrameIndex() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyRegisterInfo.cpp | 54 MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 62 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 75 if (AddrOperandNum == FIOperandNum) { in eliminateFrameIndex() 83 MI.getOperand(FIOperandNum) in eliminateFrameIndex() 92 MachineOperand &OtherMO = MI.getOperand(3 - FIOperandNum); in eliminateFrameIndex() 106 MI.getOperand(FIOperandNum) in eliminateFrameIndex() 135 MI.getOperand(FIOperandNum).ChangeToRegister(FIRegOperand, /*isDef=*/false); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXRegisterInfo.cpp | 115 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 120 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 124 MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex() 127 MI.getOperand(FIOperandNum).ChangeToRegister(getFrameRegister(MF), false); in eliminateFrameIndex() 128 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVRegisterInfo.cpp | 453 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 463 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 469 Offset += StackOffset::getFixed(MI.getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex() 499 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0); in eliminateFrameIndex() 504 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0); in eliminateFrameIndex() 511 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0); in eliminateFrameIndex() 516 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Lo12); in eliminateFrameIndex() 530 MI.getOperand(FIOperandNum).ChangeToRegister(DestReg, /*IsDef*/false, in eliminateFrameIndex() 534 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*IsDef*/false, in eliminateFrameIndex() 594 unsigned FIOperandNum = 0; in needsFrameBaseReg() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
H A D | XtensaRegisterInfo.cpp | 62 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 66 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 100 SPOffset + (int64_t)StackSize + MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex() 124 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false, false, IsKill); in eliminateFrameIndex() 125 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430RegisterInfo.cpp | 104 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 113 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 127 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex() 136 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex() 139 MI.removeOperand(FIOperandNum + 1); in eliminateFrameIndex() 156 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex() 157 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
|
H A D | MSP430RegisterInfo.h | 36 int SPAdj, unsigned FIOperandNum,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiRegisterInfo.cpp | 132 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 143 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 146 MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex() 217 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex() 218 MI.getOperand(FIOperandNum + 1) in eliminateFrameIndex() 241 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, /*isDef=*/false); in eliminateFrameIndex() 242 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86RegisterInfo.cpp | 845 unsigned FIOperandNum, in eliminateFrameIndex() argument 851 MachineOperand &FI = MI.getOperand(FIOperandNum); in eliminateFrameIndex() 856 MI.getOperand(FIOperandNum).ChangeToRegister(BaseReg, false); in eliminateFrameIndex() 862 int64_t Offset = MI.getOperand(FIOperandNum + 1).getImm() + FIOffset; in eliminateFrameIndex() 863 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex() 867 if (MI.getOperand(FIOperandNum + 3).isImm()) { in eliminateFrameIndex() 869 int Imm = (int)(MI.getOperand(FIOperandNum + 3).getImm()); in eliminateFrameIndex() 874 MI.getOperand(FIOperandNum + 3).ChangeToImmediate(Offset); in eliminateFrameIndex() 878 FIOffset + (uint64_t)MI.getOperand(FIOperandNum + 3).getOffset(); in eliminateFrameIndex() 879 MI.getOperand(FIOperandNum + 3).setOffset(Offset); in eliminateFrameIndex() [all …]
|
H A D | X86RegisterInfo.h | 142 unsigned FIOperandNum, Register BaseReg, 146 int SPAdj, unsigned FIOperandNum,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchRegisterInfo.cpp | 114 unsigned FIOperandNum, in eliminateFrameIndex() 122 assert(MI.getOperand(FIOperandNum + 1).isImm() && in eliminateFrameIndex() 135 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 139 StackOffset::getFixed(MI.getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex() 193 MI.getOperand(FIOperandNum) in eliminateFrameIndex() 195 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset.getFixed()); in eliminateFrameIndex() 113 eliminateFrameIndex(MachineBasicBlock::iterator II,int SPAdj,unsigned FIOperandNum,RegScavenger * RS) const eliminateFrameIndex() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZRegisterInfo.cpp | 286 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 297 int FrameIndex = MI->getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 301 MI->getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex() 305 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, /*isDef*/ false); in eliminateFrameIndex() 309 unsigned OpIdx = MI->getDebugOperandIndex(&MI->getOperand(FIOperandNum)); in eliminateFrameIndex() 329 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex() 348 && MI->getOperand(FIOperandNum + 2).getReg() == 0) { in eliminateFrameIndex() 352 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex() 353 MI->getOperand(FIOperandNum + 2).ChangeToRegister(ScratchReg, in eliminateFrameIndex() 370 MI->getOperand(FIOperandNum) in eliminateFrameIndex() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYRegisterInfo.cpp | 183 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 251 int FrameIndex = MI->getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 256 MI->getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex() 282 MI->getOperand(FIOperandNum) in eliminateFrameIndex() 284 MI->removeOperand(FIOperandNum + 1); in eliminateFrameIndex() 286 MI->getOperand(FIOperandNum) in eliminateFrameIndex() 288 MI->getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCRegisterInfo.cpp | 164 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 168 MachineOperand &FrameOp = MI.getOperand(FIOperandNum); in eliminateFrameIndex() 192 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex() 193 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex() 198 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ThumbRegisterInfo.cpp | 542 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() 549 return ARMBaseRegisterInfo::eliminateFrameIndex(II, SPAdj, FIOperandNum, in eliminateFrameIndex() 558 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 579 MI.getOperand(FIOperandNum). ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex() 580 MI.getOperand(FIOperandNum+1).ChangeToImmediate(Offset); in eliminateFrameIndex() 587 if (rewriteFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII)) in eliminateFrameIndex() 629 MI.getOperand(FIOperandNum).ChangeToRegister(TmpReg, false, false, true); 635 MI.getOperand(FIOperandNum+1).ChangeToRegister(FrameReg, false, false, 663 MI.getOperand(FIOperandNum).ChangeToRegister(VReg, false, false, true); 669 MI.getOperand(FIOperandNum 464 eliminateFrameIndex(MachineBasicBlock::iterator II,int SPAdj,unsigned FIOperandNum,RegScavenger * RS) const eliminateFrameIndex() argument [all...] |
H A D | ARMBaseRegisterInfo.cpp | 791 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 802 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 827 Done = rewriteARMFrameIndex(MI, FIOperandNum, FrameReg, Offset, TII); in eliminateFrameIndex() 830 Done = rewriteT2FrameIndex(MI, FIOperandNum, FrameReg, Offset, TII, this); in eliminateFrameIndex() 856 TII.getRegClass(MCID, FIOperandNum, this, *MI.getParent()->getParent()); in eliminateFrameIndex() 860 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false, false, false); in eliminateFrameIndex() 872 MI.getOperand(FIOperandNum).ChangeToRegister(ScratchReg, false, false,true); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreRegisterInfo.cpp | 258 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 262 MachineOperand &FrameOp = MI.getOperand(FIOperandNum); in eliminateFrameIndex() 288 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex() 289 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex() 294 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex() 295 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRRegisterInfo.cpp | 144 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 157 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 163 Offset += MI.getOperand(FIOperandNum + 1).getImm(); in eliminateFrameIndex() 280 MI.getOperand(FIOperandNum).ChangeToRegister(AVR::R29R28, false); in eliminateFrameIndex() 282 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64RegisterInfo.cpp | 863 createScratchRegisterForInstruction(MachineInstr &MI, unsigned FIOperandNum, in createScratchRegisterForInstruction() argument 871 assert(FIOperandNum == 3 && in createScratchRegisterForInstruction() 882 MI.getOperand(FIOperandNum) in createScratchRegisterForInstruction() 916 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 927 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 929 MI.getOperand(FIOperandNum).getTargetFlags() & AArch64II::MO_TAGGED; in eliminateFrameIndex() 940 Offset += StackOffset::getFixed(MI.getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex() 941 MI.getOperand(FIOperandNum).ChangeToRegister(FrameReg, false /*isDef*/); in eliminateFrameIndex() 942 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset.getFixed()); in eliminateFrameIndex() 947 MachineOperand &FI = MI.getOperand(FIOperandNum); in eliminateFrameIndex() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCRegisterInfo.cpp | 1567 unsigned FIOperandNum) { in getOffsetONFromFION() argument 1569 unsigned OffsetOperandNo = (FIOperandNum == 2) ? 1 : 2; in getOffsetONFromFION() 1571 OffsetOperandNo = FIOperandNum - 1; in getOffsetONFromFION() 1574 OffsetOperandNo = FIOperandNum + 1; in getOffsetONFromFION() 1581 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 1598 unsigned OffsetOperandNo = getOffsetONFromFION(MI, FIOperandNum); in eliminateFrameIndex() 1601 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 1671 MI.getOperand(FIOperandNum).ChangeToRegister( in eliminateFrameIndex() 1789 Register StackReg = MI.getOperand(FIOperandNum).getReg(); in eliminateFrameIndex() 1926 unsigned FIOperandNum = 0; in resolveFrameIndex() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kRegisterInfo.cpp | 166 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 174 MachineOperand &Disp = MI.getOperand(FIOperandNum - 1); in eliminateFrameIndex() 175 MachineOperand &Base = MI.getOperand(FIOperandNum); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsRegisterInfo.cpp | 247 unsigned FIOperandNum, RegScavenger *RS) const { in eliminateFrameIndex() argument 255 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() 266 eliminateFI(MI, FIOperandNum, FrameIndex, stackSize, spOffset); in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVRegisterInfo.h | 28 unsigned FIOperandNum,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFRegisterInfo.h | 32 unsigned FIOperandNum,
|