Home
last modified time | relevance | path

Searched refs:FrameInfo (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCWinEH.h39 struct FrameInfo { struct
57 const FrameInfo *ChainedParent = nullptr; argument
81 FrameInfo() = default; argument
82 FrameInfo(const MCSymbol *Function, const MCSymbol *BeginFuncEHLabel) in FrameInfo() argument
84 FrameInfo(const MCSymbol *Function, const MCSymbol *BeginFuncEHLabel, in FrameInfo() function
85 const FrameInfo *ChainedParent) in FrameInfo()
105 virtual void EmitUnwindInfo(MCStreamer &Streamer, FrameInfo *FI, argument
H A DMCWin64EH.h56 void EmitUnwindInfo(MCStreamer &Streamer, WinEH::FrameInfo *FI,
63 void EmitUnwindInfo(MCStreamer &Streamer, WinEH::FrameInfo *FI,
70 void EmitUnwindInfo(MCStreamer &Streamer, WinEH::FrameInfo *FI,
H A DMCStreamer.h226 std::vector<std::unique_ptr<WinEH::FrameInfo>> WinFrameInfos;
228 WinEH::FrameInfo *CurrentWinFrameInfo;
266 WinEH::FrameInfo *getCurrentWinFrameInfo() { in getCurrentWinFrameInfo()
270 virtual void emitWindowsUnwindTables(WinEH::FrameInfo *Frame);
322 WinEH::FrameInfo *EnsureValidWinFrameInfo(SMLoc Loc);
330 ArrayRef<std::unique_ptr<WinEH::FrameInfo>> getWinFrameInfos() const { in getWinFrameInfos()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMWinCOFFStreamer.cpp32 void emitWindowsUnwindTables(WinEH::FrameInfo *Frame) override;
47 void ARMWinCOFFStreamer::emitWindowsUnwindTables(WinEH::FrameInfo *Frame) { in emitWindowsUnwindTables()
112 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in emitARMWinUnwindCode()
208 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in emitARMWinCFIPrologEnd()
223 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in emitARMWinCFIEpilogStart()
234 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in emitARMWinCFIEpilogEnd()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64WinCOFFStreamer.cpp32 void emitWindowsUnwindTables(WinEH::FrameInfo *Frame) override;
45 void AArch64WinCOFFStreamer::emitWindowsUnwindTables(WinEH::FrameInfo *Frame) { in emitWindowsUnwindTables()
72 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in emitARM64WinUnwindCode()
173 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in emitARM64WinCFIPrologEnd()
187 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in emitARM64WinCFIEpilogStart()
197 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in emitARM64WinCFIEpilogEnd()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFStreamer.cpp31 void emitWindowsUnwindTables(WinEH::FrameInfo *Frame) override;
47 if (WinEH::FrameInfo *CurFrame = getCurrentWinFrameInfo()) in emitWinEHHandlerData()
51 void X86WinCOFFStreamer::emitWindowsUnwindTables(WinEH::FrameInfo *Frame) { in emitWindowsUnwindTables()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCWin64EH.cpp155 const WinEH::FrameInfo *info) { in EmitRuntimeFunction()
166 static void EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) { in EmitUnwindInfo()
254 WinEH::FrameInfo *info, in EmitUnwindInfo()
653 const WinEH::FrameInfo *info) { in FindMatchingEpilog()
761 static int checkARM64PackedEpilog(MCStreamer &streamer, WinEH::FrameInfo *info, in checkARM64PackedEpilog()
762 WinEH::FrameInfo::Segment *Seg, in checkARM64PackedEpilog()
804 static bool tryARM64PackedUnwind(WinEH::FrameInfo *info, uint32_t FuncLength, in tryARM64PackedUnwind()
1081 static void ARM64ProcessEpilogs(WinEH::FrameInfo *info, in ARM64ProcessEpilogs()
1082 WinEH::FrameInfo::Segment *Seg, in ARM64ProcessEpilogs()
1126 WinEH::FrameInfo *inf in ARM64FindSegmentsInFunction()
[all...]
H A DMCStreamer.cpp699 WinEH::FrameInfo *MCStreamer::EnsureValidWinFrameInfo(SMLoc Loc) { in EnsureValidWinFrameInfo()
727 std::make_unique<WinEH::FrameInfo>(Symbol, StartProc)); in emitWinCFIStartProc()
733 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in emitWinCFIEndProc()
751 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in emitWinCFIFuncletOrFuncEnd()
762 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in emitWinCFIStartChained()
768 WinFrameInfos.emplace_back(std::make_unique<WinEH::FrameInfo>( in emitWinCFIStartChained()
775 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in emitWinCFIEndChained()
785 CurrentWinFrameInfo = const_cast<WinEH::FrameInfo *>(CurFrame->ChainedParent); in emitWinCFIEndChained()
790 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in emitWinEHHandler()
806 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in emitWinEHHandlerData()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_internal.h62 virtual bool SymbolizeFrame(uptr addr, FrameInfo *info) { in SymbolizeFrame()
137 bool SymbolizeFrame(uptr addr, FrameInfo *info) override;
H A Dsanitizer_symbolizer.h122 struct FrameInfo {
143 bool SymbolizeFrame(uptr address, FrameInfo *info);
102 struct FrameInfo { global() struct
123 localsFrameInfo global() argument
H A Dsanitizer_symbolizer.cpp83 void FrameInfo::Clear() { in Clear()
H A Dsanitizer_symbolizer_libcdep.cpp123 bool Symbolizer::SymbolizeFrame(uptr addr, FrameInfo *info) { in SymbolizeFrame()
443 bool LLVMSymbolizer::SymbolizeFrame(uptr addr, FrameInfo *info) { in FormatAndSendCommand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFrameLowering.cpp77 MachineFrameInfo &FrameInfo = MF.getFrameInfo(); in getVGPRSpillLaneOrTempRegister() local
94 int FI = FrameInfo.CreateStackObject(Size, Alignment, true, nullptr, in getVGPRSpillLaneOrTempRegister()
114 FI = FrameInfo.CreateSpillStackObject(Size, Alignment); in getVGPRSpillLaneOrTempRegister()
144 MachineFrameInfo &FrameInfo = MF.getFrameInfo(); in buildPrologSpill() local
147 PtrInfo, MachineMemOperand::MOStore, FrameInfo.getObjectSize(FI), in buildPrologSpill()
148 FrameInfo.getObjectAlign(FI)); in buildPrologSpill()
168 MachineFrameInfo &FrameInfo = MF.getFrameInfo(); in buildEpilogRestore() local
171 PtrInfo, MachineMemOperand::MOLoad, FrameInfo.getObjectSize(FI), in buildEpilogRestore()
172 FrameInfo.getObjectAlign(FI)); in buildEpilogRestore()
615 MachineFrameInfo &FrameInfo = MF.getFrameInfo(); in emitEntryFunctionPrologue() local
[all …]
H A DAMDGPUResourceUsageAnalysis.cpp177 const MachineFrameInfo &FrameInfo = MF.getFrameInfo(); in analyzeResourceUsage() local
200 Info.PrivateSegmentSize = FrameInfo.getStackSize(); in analyzeResourceUsage()
203 Info.HasDynamicallySizedStack = FrameInfo.hasVarSizedObjects(); in analyzeResourceUsage()
208 Info.PrivateSegmentSize += FrameInfo.getMaxAlign().value(); in analyzeResourceUsage()
216 if (!FrameInfo.hasCalls() && !FrameInfo.hasTailCall()) { in analyzeResourceUsage()
H A DSIMachineFunctionInfo.cpp411 MachineFrameInfo &FrameInfo = MF.getFrameInfo(); in allocateSGPRSpillToVGPRLane() local
414 unsigned Size = FrameInfo.getObjectSize(FI); in allocateSGPRSpillToVGPRLane()
450 MachineFrameInfo &FrameInfo = MF.getFrameInfo(); in allocateVGPRSpillToAGPR() local
453 assert(ST.hasMAIInsts() && FrameInfo.isSpillSlotObjectIndex(FI)); in allocateVGPRSpillToAGPR()
461 unsigned Size = FrameInfo.getObjectSize(FI); in allocateVGPRSpillToAGPR()
H A DSIRegisterInfo.cpp1731 MachineFrameInfo &FrameInfo = SB.MF.getFrameInfo(); in buildVGPRSpillLoadStore() local
1732 assert(FrameInfo.getStackID(Index) != TargetStackID::SGPRSpill); in buildVGPRSpillLoadStore()
1735 FrameInfo.isFixedObjectIndex(Index) && hasBasePointer(SB.MF) in buildVGPRSpillLoadStore()
1739 Align Alignment = FrameInfo.getObjectAlign(Index); in buildVGPRSpillLoadStore()
2080 MachineFrameInfo &FrameInfo = MF->getFrameInfo(); in eliminateFrameIndex() local
2092 Register FrameReg = FrameInfo.isFixedObjectIndex(Index) && hasBasePointer(*MF) in eliminateFrameIndex()
2276 int64_t Offset = FrameInfo.getObjectOffset(Index); in eliminateFrameIndex()
2457 int64_t Offset = FrameInfo.getObjectOffset(Index); in eliminateFrameIndex()
2575 int64_t Offset = FrameInfo.getObjectOffset(Index); in eliminateFrameIndex()
2581 buildMUBUFOffsetLoadStore(ST, FrameInfo, MI, Index, NewOffset)) { in eliminateFrameIndex()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp112 void setUnsafeStackSize(const Function &F, MachineFrameInfo &FrameInfo) { in setUnsafeStackSize() argument
127 FrameInfo.setUnsafeStackSize(Val); in setUnsafeStackSize()
205 FrameInfo = new (Allocator) MachineFrameInfo( in init()
209 setUnsafeStackSize(F, *FrameInfo); in init()
212 FrameInfo->ensureMaxAlignment(*F.getFnStackAlign()); in init()
287 FrameInfo->~MachineFrameInfo(); in clear()
288 Allocator.Deallocate(FrameInfo); in clear()
620 FrameInfo->print(*this, OS); in print()
H A DMIRPrinter.cpp227 convert(MST, YamlMF.FrameInfo, MF.getFrameInfo()); in print()
501 raw_string_ostream StrOS(YMF.FrameInfo.StackProtector.Value); in convertStackObjects()
507 raw_string_ostream StrOS(YMF.FrameInfo.FunctionContext.Value); in convertStackObjects()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelDAGToDAG.cpp104 MachineFrameInfo &FrameInfo = MF->getFrameInfo(); in INITIALIZE_PASS() local
105 for (int Idx = 0; Idx < FrameInfo.getObjectIndexEnd(); Idx++) in INITIALIZE_PASS()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineFunction.h273 MachineFrameInfo *FrameInfo;
733 MachineFrameInfo &getFrameInfo() { return *FrameInfo; }
734 const MachineFrameInfo &getFrameInfo() const { return *FrameInfo; }
H A DMIRYamlMapping.h748 MachineFrameInfo FrameInfo;
790 YamlIO.mapOptional("frameInfo", MF.FrameInfo, MachineFrameInfo());
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLoweringCall.cpp1473 FrameInfo(TheMachineFunction.getFrameInfo()), in VarArgsLoweringHelper()
1495 MachineFrameInfo &FrameInfo; member in __anon354e4a110211::VarArgsLoweringHelper
1511 FrameInfo.CreateFixedObject(1, StackSize, true)); in createVarArgAreaAndStoreRegisters()
1532 FrameInfo.CreateFixedObject(1, NumIntRegs * 8 + HomeOffset, false)); in createVarArgAreaAndStoreRegisters()
1542 FuncInfo->setRegSaveFrameIndex(FrameInfo.CreateStackObject( in createVarArgAreaAndStoreRegisters()
1663 if (FrameInfo.hasVAStart()) in lowerVarArgsParameters()
1666 if (FrameInfo.hasMustTailInVarArgFunc()) in lowerVarArgsParameters()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1520 const MachineFrameInfo &FrameInfo = MF.getFrameInfo(); in emitStackSizeSection() local
1522 if (FrameInfo.hasVarSizedObjects()) in emitStackSizeSection()
1530 FrameInfo.getStackSize() + FrameInfo.getUnsafeStackSize(); in emitStackSizeSection()
1544 const MachineFrameInfo &FrameInfo = MF.getFrameInfo(); in emitStackUsage() local
1546 FrameInfo.getStackSize() + FrameInfo.getUnsafeStackSize(); in emitStackUsage()
1564 if (FrameInfo.hasVarSizedObjects()) in emitStackUsage()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLowOverheadLoops.cpp1164 auto &FrameInfo = MI->getParent()->getParent()->getFrameInfo(); in ValidateMVEStore() local
1165 if (FI == -1 || !FrameInfo.isSpillSlotObjectIndex(FI)) in ValidateMVEStore()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp221 FrameInfo frame; in PrintStackAllocations()

12