| /openbsd-src/gnu/llvm/llvm/lib/Target/ARC/ |
| H A D | ARCInstrInfo.cpp | 69 int &FrameIndex) const { in isLoadFromStackSlot() 75 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot() 88 int &FrameIndex) const { in isStoreToStackSlot() 94 FrameIndex = MI.getOperand(1).getIndex(); in isStoreToStackSlot() 295 bool IsKill, int FrameIndex, const TargetRegisterClass *RC, in storeRegToStackSlot() argument 302 MachinePointerInfo::getFixedStack(MF, FrameIndex), in storeRegToStackSlot() 303 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot() 304 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot() 312 << " to FrameIndex=" << FrameIndex << "\n"); in storeRegToStackSlot() 315 .addFrameIndex(FrameIndex) in storeRegToStackSlot() [all …]
|
| H A D | ARCInstrInfo.h | 41 int &FrameIndex) const override; 49 int &FrameIndex) const override; 72 bool IsKill, int FrameIndex, 79 int FrameIndex, const TargetRegisterClass *RC,
|
| H A D | ARCRegisterInfo.cpp | 168 int FrameIndex = FrameOp.getIndex(); in eliminateFrameIndex() local 173 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex() 174 int ObjSize = MF.getFrameInfo().getObjectSize(FrameIndex); in eliminateFrameIndex() 181 LLVM_DEBUG(dbgs() << "FrameIndex : " << FrameIndex << "\n"); in eliminateFrameIndex() 211 if (FrameIndex >= 0) in eliminateFrameIndex() 214 if (FrameIndex >= 0) { in eliminateFrameIndex()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCRegisterInfo.h | 125 unsigned FrameIndex) const; 127 unsigned FrameIndex) const; 129 unsigned FrameIndex) const; 131 unsigned FrameIndex) const; 134 unsigned FrameIndex) const; 136 unsigned FrameIndex) const; 138 unsigned FrameIndex) const; 141 unsigned FrameIndex) const; 143 unsigned FrameIndex) const; 146 unsigned FrameIndex) const; [all …]
|
| H A D | PPCRegisterInfo.cpp | 955 unsigned FrameIndex) const { in lowerCRSpilling() 993 FrameIndex); in lowerCRSpilling() 1000 unsigned FrameIndex) const { in lowerCRRestore() 1020 Reg), FrameIndex); in lowerCRRestore() 1043 unsigned FrameIndex) const { in lowerCRBitSpilling() 1150 FrameIndex); in lowerCRBitSpilling() 1162 unsigned FrameIndex) const { in lowerCRBitRestore() 1182 Reg), FrameIndex); in lowerCRBitRestore() 1241 unsigned FrameIndex, bool IsLittleEndian, in spillRegPairs() argument 1257 FrameIndex, Offset); in spillRegPairs() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/XCore/ |
| H A D | XCoreInstrInfo.cpp | 63 int &FrameIndex) const { in isLoadFromStackSlot() 70 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot() 83 int &FrameIndex) const { in isStoreToStackSlot() 90 FrameIndex = MI.getOperand(1).getIndex(); in isStoreToStackSlot() 360 bool isKill, int FrameIndex, const TargetRegisterClass *RC, in storeRegToStackSlot() argument 368 MachinePointerInfo::getFixedStack(*MF, FrameIndex), in storeRegToStackSlot() 369 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot() 370 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot() 373 .addFrameIndex(FrameIndex) in storeRegToStackSlot() 380 Register DestReg, int FrameIndex, in loadRegFromStackSlot() argument [all …]
|
| H A D | XCoreInstrInfo.h | 42 int &FrameIndex) const override; 50 int &FrameIndex) const override; 71 bool isKill, int FrameIndex, 78 int FrameIndex, const TargetRegisterClass *RC,
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | RegisterScavenging.h | 47 ScavengedInfo(int FI = -1) : FrameIndex(FI) {} in FrameIndex() function 50 int FrameIndex; member 82 if (Slot.FrameIndex == FI) { 150 if (SI.FrameIndex == FI) in isScavengingFrameIndex() 159 if (I.FrameIndex >= 0) in getScavengingFrameIndices() 160 A.push_back(I.FrameIndex); in getScavengingFrameIndices()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AVR/ |
| H A D | AVRInstrInfo.cpp | 90 int &FrameIndex) const { in isLoadFromStackSlot() 96 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot() 109 int &FrameIndex) const { in isStoreToStackSlot() 115 FrameIndex = MI.getOperand(0).getIndex(); in isStoreToStackSlot() 129 bool isKill, int FrameIndex, const TargetRegisterClass *RC, in storeRegToStackSlot() argument 139 MachinePointerInfo::getFixedStack(MF, FrameIndex), in storeRegToStackSlot() 140 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot() 141 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot() 153 .addFrameIndex(FrameIndex) in storeRegToStackSlot() 161 Register DestReg, int FrameIndex, in loadRegFromStackSlot() argument [all …]
|
| H A D | AVRInstrInfo.h | 79 bool isKill, int FrameIndex, 85 int FrameIndex, const TargetRegisterClass *RC, 89 int &FrameIndex) const override; 91 int &FrameIndex) const override;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsSERegisterInfo.cpp | 146 unsigned OpNo, int FrameIndex, in eliminateFI() argument 168 bool EhDataRegFI = MipsFI->isEhDataRegFI(FrameIndex); in eliminateFI() 169 bool IsISRRegFI = MipsFI->isISRRegFI(FrameIndex); in eliminateFI() 180 if ((FrameIndex >= MinCSFI && FrameIndex <= MaxCSFI) || EhDataRegFI || in eliminateFI() 184 if (MFI.hasVarSizedObjects() && !MFI.isFixedObjectIndex(FrameIndex)) in eliminateFI() 186 else if (MFI.isFixedObjectIndex(FrameIndex)) in eliminateFI()
|
| H A D | MipsInstrInfo.h | 138 bool isKill, int FrameIndex, in storeRegToStackSlot() argument 142 storeRegToStack(MBB, MBBI, SrcReg, isKill, FrameIndex, RC, TRI, 0); in storeRegToStackSlot() 147 int FrameIndex, const TargetRegisterClass *RC, in loadRegFromStackSlot() argument 150 loadRegFromStack(MBB, MBBI, DestReg, FrameIndex, RC, TRI, 0); in loadRegFromStackSlot() 155 Register SrcReg, bool isKill, int FrameIndex, 162 Register DestReg, int FrameIndex,
|
| H A D | MipsSEInstrInfo.h | 35 int &FrameIndex) const override; 43 int &FrameIndex) const override; 51 Register SrcReg, bool isKill, int FrameIndex, 58 Register DestReg, int FrameIndex,
|
| H A D | Mips16InstrInfo.h | 41 int &FrameIndex) const override; 49 int &FrameIndex) const override; 57 Register SrcReg, bool isKill, int FrameIndex, 64 Register DestReg, int FrameIndex,
|
| H A D | MipsRegisterInfo.cpp | 260 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() local 262 int64_t spOffset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex() 264 LLVM_DEBUG(errs() << "FrameIndex : " << FrameIndex << "\n" in eliminateFrameIndex() 268 << DebugStr(MF.getFrameInfo().getObjectAlign(FrameIndex)) in eliminateFrameIndex() 271 eliminateFI(MI, FIOperandNum, FrameIndex, stackSize, spOffset); in eliminateFrameIndex()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/ |
| H A D | SparcInstrInfo.h | 57 int &FrameIndex) const override; 65 int &FrameIndex) const override; 94 bool isKill, int FrameIndex, 101 int FrameIndex, const TargetRegisterClass *RC,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/ |
| H A D | CSKYInstrInfo.h | 39 int &FrameIndex) const override; 41 int &FrameIndex) const override; 45 bool IsKill, int FrameIndex, 52 int FrameIndex, const TargetRegisterClass *RC,
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MIRYamlMapping.cpp | 22 FrameIndex::FrameIndex(int FI, const llvm::MachineFrameInfo &MFI) { in FrameIndex() function in FrameIndex 30 Expected<int> FrameIndex::getFI(const llvm::MachineFrameInfo &MFI) const { in getFI()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/ |
| H A D | LanaiInstrInfo.h | 42 int &FrameIndex) const override; 45 int &FrameIndex) const override; 48 int &FrameIndex) const override; 56 Register SourceRegister, bool IsKill, int FrameIndex, 63 Register DestinationRegister, int FrameIndex,
|
| H A D | LanaiInstrInfo.cpp | 51 Register SourceRegister, bool IsKill, int FrameIndex, in storeRegToStackSlot() argument 64 .addFrameIndex(FrameIndex) in storeRegToStackSlot() 71 Register DestinationRegister, int FrameIndex, in loadRegFromStackSlot() argument 83 .addFrameIndex(FrameIndex) in loadRegFromStackSlot() 714 int &FrameIndex) const { in isLoadFromStackSlot() 718 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot() 725 int &FrameIndex) const { in isLoadFromStackSlotPostFE() 728 if ((Reg = isLoadFromStackSlot(MI, FrameIndex))) in isLoadFromStackSlotPostFE() 733 FrameIndex = in isLoadFromStackSlotPostFE() 743 int &FrameIndex) const { in isStoreToStackSlot() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/VE/ |
| H A D | VEInstrInfo.h | 88 int &FrameIndex) const override; 90 int &FrameIndex) const override; 93 bool isKill, int FrameIndex, 100 int FrameIndex, const TargetRegisterClass *RC,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.h | 222 int &FrameIndex) const override; 224 int &FrameIndex, 230 int &FrameIndex) const override; 233 int &FrameIndex) const override; 235 int &FrameIndex, 241 int &FrameIndex) const override; 368 bool isKill, int FrameIndex, 375 int FrameIndex, const TargetRegisterClass *RC, 398 MachineBasicBlock::iterator InsertPt, int FrameIndex, 625 int &FrameIndex) const;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFrameLowering.cpp | 55 int FrameIndex) { in getLocalForStackObject() argument 59 if (MFI.getStackID(FrameIndex) == TargetStackID::WasmLocal) in getLocalForStackObject() 60 return static_cast<unsigned>(MFI.getObjectOffset(FrameIndex)); in getLocalForStackObject() 64 const AllocaInst *AI = MFI.getObjectAllocation(FrameIndex); in getLocalForStackObject() 75 MFI.setStackID(FrameIndex, TargetStackID::WasmLocal); in getLocalForStackObject() 78 MFI.setObjectOffset(FrameIndex, Local); in getLocalForStackObject() 85 MFI.setObjectSize(FrameIndex, ValueVTs.size()); in getLocalForStackObject()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfo.h | 53 int &FrameIndex) const override; 55 int &FrameIndex) const override; 63 bool IsKill, int FrameIndex, 70 int FrameIndex, const TargetRegisterClass *RC, 78 int FrameIndex,
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 116 &H.CatchObj.FrameIndex); in set() 118 H.CatchObj.FrameIndex = INT_MAX; in set() 157 int FrameIndex = INT_MAX; in set() local 160 FrameIndex = MF->getFrameInfo().CreateFixedObject( in set() 162 MF->getFrameInfo().setObjectAlignment(FrameIndex, Alignment); in set() 164 FrameIndex = MF->getFrameInfo().CreateStackObject(TySize, Alignment, in set() 171 MF->getFrameInfo().setStackID(FrameIndex, in set() 174 StaticAllocaMap[AI] = FrameIndex; in set() 178 *CatchObjPtr = FrameIndex; in set()
|