Home
last modified time | relevance | path

Searched refs:FrameIdx (Results 1 - 25 of 43) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DLocalStackSlotAllocation.cpp54 int FrameIdx; // The frame index member in __anon24034::FrameRef
63 MI(I), LocalOffset(Offset), FrameIdx(Idx), Order(Ord) {} in FrameRef()
66 return std::tie(LocalOffset, FrameIdx, Order) < in operator <()
67 std::tie(RHS.LocalOffset, RHS.FrameIdx, RHS.Order); in operator <()
72 int getFrameIndex() const { return FrameIdx; } in getFrameIndex()
81 void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, int64_t &Offset,
144 int FrameIdx, int64_t &Offset, in AdjustStackOffset()
149 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
151 unsigned Align = MFI.getObjectAlignment(FrameIdx); in AdjustStackOffset()
161 LLVM_DEBUG(dbgs() << "Allocate FI(" << FrameIdx << ") t in AdjustStackOffset()
143 AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, int64_t &Offset, bool StackGrowsDown, unsigned &MaxAlign) AdjustStackOffset() argument
351 int FrameIdx = FR.getFrameIndex(); insertFrameReferenceRegisters() local
[all...]
H A DPrologEpilogInserter.cpp421 int FrameIdx; in assignCalleeSavedSpillSlots() local
422 if (RegInfo->hasReservedSpillSlot(F, Reg, FrameIdx)) { in assignCalleeSavedSpillSlots()
423 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
444 FrameIdx = MFI.CreateStackObject(Size, Align, true); in assignCalleeSavedSpillSlots()
445 if ((unsigned)FrameIdx < MinCSFrameIndex) MinCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots()
446 if ((unsigned)FrameIdx > MaxCSFrameIndex) MaxCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots()
449 FrameIdx = MFI.CreateFixedSpillStackObject(Size, FixedSlot->Offset); in assignCalleeSavedSpillSlots()
452 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
635 AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, bool StackGrowsDown, int64_t &Offset, unsigned &MaxAlign, unsigned Skew) AdjustStackOffset() argument
708 scavengeStackSlot(MachineFrameInfo &MFI, int FrameIdx, bool StackGrowsDown, unsigned MaxAlign, BitVector &StackBytesFree) scavengeStackSlot() argument
1210 unsigned FrameIdx = MI.getOperand(0).getIndex(); replaceFrameIndices() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp38 unsigned SrcReg, bool isKill, int FrameIdx, in storeRegToStackSlot()
47 MachinePointerInfo::getFixedStack(MF, FrameIdx), in storeRegToStackSlot()
48 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIdx), in storeRegToStackSlot()
49 MFI.getObjectAlignment(FrameIdx)); in storeRegToStackSlot()
53 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot()
57 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot()
65 unsigned DestReg, int FrameIdx, in loadRegFromStackSlot()
74 MachinePointerInfo::getFixedStack(MF, FrameIdx), in loadRegFromStackSlot()
75 MachineMemOperand::MOLoad, MFI.getObjectSize(FrameIdx), in loadRegFromStackSlot()
76 MFI.getObjectAlignment(FrameIdx)); in loadRegFromStackSlot()
36 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned SrcReg, bool isKill, int FrameIdx, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const storeRegToStackSlot() argument
63 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned DestReg, int FrameIdx, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const loadRegFromStackSlot() argument
[all...]
H A DMSP430FrameLowering.cpp294 int FrameIdx = MF.getFrameInfo().CreateFixedObject(2, -4, true); in processFunctionBeforeFrameFinalized() local
295 (void)FrameIdx; in processFunctionBeforeFrameFinalized()
296 assert(FrameIdx == MF.getFrameInfo().getObjectIndexBegin() && in processFunctionBeforeFrameFinalized()
H A DMSP430InstrInfo.h50 unsigned DestReg, int FrameIdx,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
H A DNVPTXPrologEpilogPass.cpp101 AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument
106 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
108 unsigned Align = MFI.getObjectAlignment(FrameIdx); in AdjustStackOffset()
118 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset in AdjustStackOffset()
120 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset()
122 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset in AdjustStackOffset()
124 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset()
125 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A DAArch64MachineFunctionInfo.h204 int FrameIdx = Info.getFrameIdx(); in getCalleeSavedStackSize() local
205 if (MFI.getStackID(FrameIdx) != TargetStackID::Default) in getCalleeSavedStackSize()
207 int64_t Offset = MFI.getObjectOffset(FrameIdx); in getCalleeSavedStackSize()
208 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in getCalleeSavedStackSize()
H A DAArch64FrameLowering.cpp1908 int FrameIdx; member
2042 RPI.FrameIdx = CSI[i].getFrameIdx(); in computeCalleeSaveRegisterPairs()
2061 assert(MFI.getObjectAlignment(RPI.FrameIdx) <= 16); in computeCalleeSaveRegisterPairs()
2062 MFI.setObjectAlignment(RPI.FrameIdx, 16); in computeCalleeSaveRegisterPairs()
2175 dbgs() << ") -> fi#(" << RPI.FrameIdx; in spillCalleeSavedRegisters()
2176 if (RPI.isPaired()) dbgs() << ", " << RPI.FrameIdx + 1; in spillCalleeSavedRegisters()
2184 unsigned FrameIdxReg1 = RPI.FrameIdx; in spillCalleeSavedRegisters()
2185 unsigned FrameIdxReg2 = RPI.FrameIdx + 1; in spillCalleeSavedRegisters()
2215 MFI.setStackID(RPI.FrameIdx, TargetStackID::SVEVector); in spillCalleeSavedRegisters()
2281 dbgs() << ") -> fi#(" << RPI.FrameIdx; in restoreCalleeSavedRegisters()
[all...]
H A DAArch64RegisterInfo.h102 int FrameIdx,
H A DAArch64RegisterInfo.cpp405 /// Insert defining instruction(s) for BaseReg to be a pointer to FrameIdx
409 int FrameIdx,
424 .addFrameIndex(FrameIdx)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.h128 int &FrameIdx) const override;
136 unsigned BaseReg, int FrameIdx,
H A DPPCInstrInfo.h117 int FrameIdx, const TargetRegisterClass *RC,
120 unsigned DestReg, int FrameIdx,
H A DPPCInstrInfo.cpp1200 MachineFunction &MF, unsigned SrcReg, bool isKill, int FrameIdx, in StoreRegToStackSlot()
1211 FrameIdx)); in StoreRegToStackSlot()
1227 int FrameIdx, in storeRegToStackSlot()
1242 StoreRegToStackSlot(MF, SrcReg, isKill, FrameIdx, RC, NewMIs); in storeRegToStackSlot()
1249 MachinePointerInfo::getFixedStack(MF, FrameIdx), in storeRegToStackSlot()
1250 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIdx), in storeRegToStackSlot()
1251 MFI.getObjectAlignment(FrameIdx)); in storeRegToStackSlot()
1256 unsigned DestReg, int FrameIdx, in LoadRegFromStackSlot()
1262 FrameIdx)); in LoadRegFromStackSlot()
1279 unsigned DestReg, int FrameIdx, in loadRegFromStackSlot()
1199 StoreRegToStackSlot( MachineFunction &MF, unsigned SrcReg, bool isKill, int FrameIdx, const TargetRegisterClass *RC, SmallVectorImpl<MachineInstr *> &NewMIs) const StoreRegToStackSlot() argument
1224 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned SrcReg, bool isKill, int FrameIdx, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const storeRegToStackSlot() argument
1255 LoadRegFromStackSlot(MachineFunction &MF, const DebugLoc &DL, unsigned DestReg, int FrameIdx, const TargetRegisterClass *RC, SmallVectorImpl<MachineInstr *> &NewMIs) const LoadRegFromStackSlot() argument
1277 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned DestReg, int FrameIdx, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const loadRegFromStackSlot() argument
[all...]
H A DPPCRegisterInfo.cpp943 unsigned Reg, int &FrameIdx) const { in hasReservedSpillSlot()
947 // For 64-bit, the CR save area is at SP+8; the value of FrameIdx = 0 in hasReservedSpillSlot()
949 // previously created the stack slot if needed, so return its FrameIdx. in hasReservedSpillSlot()
952 FrameIdx = 0; in hasReservedSpillSlot()
955 FrameIdx = FI->getCRSpillFrameIndex(); in hasReservedSpillSlot()
1247 /// be a pointer to FrameIdx at the beginning of the basic block.
1250 unsigned BaseReg, int FrameIdx,
1267 .addFrameIndex(FrameIdx).addImm(Offset);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp36 Align GISelKnownBits::inferAlignmentForFrameIdx(int FrameIdx, int Offset, in inferAlignmentForFrameIdx() argument
39 return commonAlignment(Align(MFI.getObjectAlignment(FrameIdx)), Offset); in inferAlignmentForFrameIdx()
45 int FrameIdx = MI.getOperand(1).getIndex(); in inferPtrAlignment() local
46 return inferAlignmentForFrameIdx(FrameIdx, 0, *MI.getMF()); in inferPtrAlignment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DMachineFrameInfo.h32 /// on the stack by setting DstReg instead of FrameIdx.
36 int FrameIdx; member
58 : Reg(R), FrameIdx(FI), Restored(true), SpilledToReg(false) {} in CalleeSavedInfo()
62 int getFrameIdx() const { return FrameIdx; } in getFrameIdx()
65 FrameIdx = FI; in setFrameIdx()
299 /// into the local frame allocation block. <FrameIdx, LocalOffset>
H A DTargetRegisterInfo.h852 int &FrameIdx) const {
885 /// Insert defining instruction(s) for BaseReg to be a pointer to FrameIdx
888 unsigned BaseReg, int FrameIdx,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp101 int FrameIdx = MFFrame.CreateFixedSpillStackObject(8, Offset); in assignCalleeSavedSpillSlots() local
102 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
138 int FrameIdx = MFFrame.CreateFixedSpillStackObject(8, Offset); in assignCalleeSavedSpillSlots() local
139 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
164 int FrameIdx = MFFrame.CreateFixedSpillStackObject(Size, CurrOffset); in assignCalleeSavedSpillSlots() local
165 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
H A DSystemZInstrInfo.h255 unsigned DestReg, int FrameIdx,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86RegisterInfo.h129 int &FrameIdx) const override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelKnownBits.h70 static Align inferAlignmentForFrameIdx(int FrameIdx, int Offset,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp131 bool IsRestored, int FrameIdx);
136 int FrameIdx);
757 const yaml::StringValue &RegisterSource, bool IsRestored, int FrameIdx) { in parseCalleeSavedRegister()
764 CalleeSavedInfo CSI(Reg, FrameIdx); in parseCalleeSavedRegister()
787 const T &Object, int FrameIdx) { in parseStackObjectsDebugInfo()
804 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
755 parseCalleeSavedRegister(PerFunctionMIParsingState &PFS, std::vector<CalleeSavedInfo> &CSIInfo, const yaml::StringValue &RegisterSource, bool IsRestored, int FrameIdx) parseCalleeSavedRegister() argument
786 parseStackObjectsDebugInfo(PerFunctionMIParsingState &PFS, const T &Object, int FrameIdx) parseStackObjectsDebugInfo() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
H A DARMBaseRegisterInfo.h169 unsigned BaseReg, int FrameIdx,
/third_party/ffmpeg/libavcodec/
H A Dnvdec_h264.c39 dst->FrameIdx = frame_idx; in dpb_add()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.h90 unsigned BaseReg, int FrameIdx,

Completed in 24 milliseconds

12