Home
last modified time | relevance | path

Searched refs:Frame (Results 1 – 25 of 98) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp32 static T getParam(const InterpFrame *Frame, unsigned Index) { in getParam() argument
33 assert(Frame->getFunction()->getNumParams() > Index); in getParam()
34 unsigned Offset = Frame->getFunction()->getParamOffset(Index); in getParam()
35 return Frame->getParam<T>(Offset); in getParam()
135 const InterpFrame *Frame, in interp__builtin_is_constant_evaluated() argument
140 Frame->Caller && S.getEvalStatus().Diag) { in interp__builtin_is_constant_evaluated()
145 const InterpFrame *Caller = Frame->Caller; in interp__builtin_is_constant_evaluated()
153 const Expr *E = Frame->Caller->getExpr(Frame->getRetPC()); in interp__builtin_is_constant_evaluated()
165 const InterpFrame *Frame, in interp__builtin_strcmp() argument
167 const Pointer &A = getParam<Pointer>(Frame, 0); in interp__builtin_strcmp()
[all …]
H A DFrame.cpp14 Frame::~Frame() {} in ~Frame()
H A DInterpState.h49 Frame *getSplitFrame() { return Parent.getCurrentFrame(); } in getSplitFrame()
50 Frame *getCurrentFrame() override;
54 const Frame *getBottomFrame() const override { in getBottomFrame()
H A DState.cpp129 const Frame *Top = getCurrentFrame(); in addCallStack()
130 const Frame *Bottom = getBottomFrame(); in addCallStack()
131 for (const Frame *F = Top; F != Bottom; F = F->getCaller(), ++CallIdx) { in addCallStack()
H A DInterpFrame.h26 class InterpFrame final : public Frame {
55 Frame *getCaller() const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProf.h204 struct Frame { struct
219 Frame(const Frame &Other) { in Frame() argument
229 Frame(GlobalValue::GUID Hash, uint32_t Off, uint32_t Col, bool Inline) in Frame() function
232 bool operator==(const Frame &Other) const {
239 Frame &operator=(const Frame &Other) {
250 bool operator!=(const Frame &Other) const { return !operator==(Other); }
281 static Frame deserialize(const unsigned char *Ptr) { in deserialize() argument
291 return Frame(/*Function=*/F, /*LineOffset=*/L, /*Column=*/C, in deserialize()
297 return sizeof(Frame::Function) + sizeof(Frame::LineOffset) + in serializedSize() argument
298 sizeof(Frame::Column) + sizeof(Frame::IsInlineFrame); in serializedSize()
[all …]
H A DMemProfReader.h50 const llvm::DenseMap<FrameId, Frame> &getFrameMapping() const { in getFrameMapping()
68 std::function<const Frame(const FrameId)> Callback = nullptr) {
100 llvm::DenseMap<FrameId, Frame> FrameIdMap,
106 llvm::DenseMap<FrameId, Frame> FrameIdMap, in MemProfReader()
114 const Frame &idToFrame(const FrameId Id) const { in idToFrame()
120 llvm::DenseMap<FrameId, Frame> IdToFrame;
166 std::function<const Frame(const FrameId)> Callback) override;
/freebsd/contrib/bearssl/T0/
H A DCPU.cs53 Frame rsp;
67 Frame f = new Frame(rsp, numLocals); in Enter()
168 class Frame { class in CPU
170 internal Frame upper;
175 internal Frame(Frame upper, int numLocals) in Frame() method in CPU.Frame
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFStreamer.cpp56 void MipsELFStreamer::emitCFIStartProcImpl(MCDwarfFrameInfo &Frame) { in emitCFIStartProcImpl() argument
57 Frame.Begin = getContext().createTempSymbol(); in emitCFIStartProcImpl()
58 MCELFStreamer::emitLabel(Frame.Begin); in emitCFIStartProcImpl()
67 void MipsELFStreamer::emitCFIEndProcImpl(MCDwarfFrameInfo &Frame) { in emitCFIEndProcImpl() argument
68 Frame.End = getContext().createTempSymbol(); in emitCFIEndProcImpl()
69 MCELFStreamer::emitLabel(Frame.End); in emitCFIEndProcImpl()
H A DMipsELFStreamer.h63 void emitCFIStartProcImpl(MCDwarfFrameInfo &Frame) override;
64 void emitCFIEndProcImpl(MCDwarfFrameInfo &Frame) override;
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCDwarf.cpp1497 void FrameEmitterImpl::EmitCompactUnwind(const MCDwarfFrameInfo &Frame) { in EmitCompactUnwind() argument
1523 uint32_t Encoding = Frame.CompactUnwindEncoding; in EmitCompactUnwind()
1528 if (!DwarfEHFrameOnly && Frame.Lsda) in EmitCompactUnwind()
1534 Streamer.emitSymbolValue(Frame.Begin, Size); in EmitCompactUnwind()
1538 makeEndMinusStartExpr(Context, *Frame.Begin, *Frame.End, 0); in EmitCompactUnwind()
1547 if (!DwarfEHFrameOnly && Frame.Personality) in EmitCompactUnwind()
1548 Streamer.emitSymbolValue(Frame.Personality, Size); in EmitCompactUnwind()
1553 Size = getSizeForEncoding(Streamer, Frame.LsdaEncoding); in EmitCompactUnwind()
1554 if (!DwarfEHFrameOnly && Frame.Lsda) in EmitCompactUnwind()
1555 Streamer.emitSymbolValue(Frame.Lsda, Size); in EmitCompactUnwind()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp105 static bool operandReferences(CallInst *CI, AllocaInst *Frame, AAResults &AA) { in operandReferences() argument
107 if (!AA.isNoAlias(Op, Frame)) in operandReferences()
119 static void removeTailCallAttribute(AllocaInst *Frame, AAResults &AA) { in removeTailCallAttribute() argument
120 Function &F = *Frame->getFunction(); in removeTailCallAttribute()
123 if (Call->isTailCall() && operandReferences(Call, Frame, AA) && in removeTailCallAttribute()
241 auto *Frame = new AllocaInst(FrameTy, DL.getAllocaAddrSpace(), "", InsertPt); in elideHeapAllocations() local
242 Frame->setAlignment(FrameAlign); in elideHeapAllocations()
244 new BitCastInst(Frame, PointerType::getUnqual(C), "vFrame", InsertPt); in elideHeapAllocations()
253 removeTailCallAttribute(Frame, AA); in elideHeapAllocations()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFStreamer.cpp31 void emitWindowsUnwindTables(WinEH::FrameInfo *Frame) override;
51 void X86WinCOFFStreamer::emitWindowsUnwindTables(WinEH::FrameInfo *Frame) { in emitWindowsUnwindTables() argument
52 EHStreamer.EmitUnwindInfo(*this, Frame, /* HandlerData = */ false); in emitWindowsUnwindTables()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp286 const memprof::Frame &Frame, in addMemProfFrame() argument
288 auto [Iter, Inserted] = MemProfData.Frames.insert({Id, Frame}); in addMemProfFrame()
293 if (!Inserted && Iter->second != Frame) { in addMemProfFrame()
393 for (auto &[FrameId, Frame] : IPW.MemProfData.Frames) { in mergeRecordsFromWriter()
396 if (!addMemProfFrame(FrameId, Frame, Warn)) in mergeRecordsFromWriter()
478 llvm::MapVector<memprof::FrameId, memprof::Frame> &MemProfFrameData) { in writeMemProfFrames()
481 for (auto &[FrameId, Frame] : MemProfFrameData) { in writeMemProfFrames()
483 FrameTableGenerator.insert(FrameId, Frame); in writeMemProfFrames()
496 llvm::MapVector<memprof::FrameId, memprof::Frame> &MemProfFrameData, in writeMemProfFrameArray()
510 std::vector<std::pair<memprof::FrameId, const memprof::Frame *>> FrameIdOrder; in writeMemProfFrameArray()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp169 static void printContextFrameToStream(const Diagnostics::ContextFrame &Frame, in printContextFrameToStream() argument
171 maybeAddLineAndColumn(Frame.Range, OS); in printContextFrameToStream()
172 formatErrorString(contextTypeToFormatString(Frame.Type), Frame.Args, OS); in printContextFrameToStream()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugFrameDataSubsection.cpp60 void DebugFrameDataSubsection::addFrameData(const FrameData &Frame) { in addFrameData() argument
61 Frames.push_back(Frame); in addFrameData()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRTDyldMemoryManager.cpp136 for (auto &Frame : EHFrames) in deregisterEHFrames() local
137 deregisterEHFramesInProcess(Frame.Addr, Frame.Size); in deregisterEHFrames()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp114 while (auto Frame = Frames->getNext()) { in getInliningInfoForAddress() local
116 auto LineNumbers = Frame->findInlineeLinesByVA(Address.Address, Length); in getInliningInfoForAddress()
124 LineInfo.FunctionName = Frame->getName(); in getInliningInfoForAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFRegisterInfo.td43 W10 // Frame Ptr
50 R10 // Frame Ptr
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp665 ExpandedCallFrame Frame; in expandCall() local
719 Frame.padding(Ctx, Padding); in expandCall()
724 Frame.store(Ctx, FrameFieldType, SourceValue); in expandCall()
727 Frame.memcpy(Ctx, FrameFieldType, SourceValue, UnderlyingSize); in expandCall()
729 Frame.store(Ctx, FrameFieldType, SourceValue); in expandCall()
735 if (Frame.empty()) { in expandCall()
740 Frame.padding(Ctx, 1); in expandCall()
743 StructType *VarargsTy = Frame.asStruct(Ctx, CBF->getName()); in expandCall()
772 Frame.initializeStructAlloca(DL, Builder, Alloced); in expandCall()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_swp_if.m44 * @brief Enqueue multiple frames to a frame queue using one Frame Queue ID.
47 * fqid: Frame Queue ID.
48 * fd: Frame descriptor to enqueue.
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp691 static uint64_t computeStackId(const memprof::Frame &Frame) { in computeStackId() argument
692 return computeStackId(Frame.Function, Frame.LineOffset, Frame.Column); in computeStackId()
698 computeFullStackId(const std::vector<memprof::Frame> &CallStack) { in computeFullStackId()
731 stackFrameIncludesInlinedCallStack(ArrayRef<Frame> ProfileCallStack, in stackFrameIncludesInlinedCallStack()
847 std::map<uint64_t, std::set<std::pair<const std::vector<Frame> *, unsigned>>> in readMemprof()
905 std::map<uint64_t, std::set<std::pair<const std::vector<Frame> *, in readMemprof()
/freebsd/sys/contrib/dev/acpica/components/debugger/
H A Ddbdisply.c707 ACPI_GENERIC_STATE *Frame; in AcpiDbDisplayResults() local
730 Frame = WalkState->Results; in AcpiDbDisplayResults()
735 ObjDesc = Frame->Results.ObjDesc[Index]; in AcpiDbDisplayResults()
741 Frame = Frame->Results.Next; in AcpiDbDisplayResults()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp504 unsigned Frame = 0; in dumpStack() local
508 Out << "\t#" << Frame << ' '; in dumpStack()
509 ++Frame; in dumpStack()
542 unsigned Frame = 0; in printJson() local
548 Out << '#' << Frame << " Call\", \"calling\": \""; in printJson()
549 ++Frame; in printJson()
/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() argument
48 EHStreamer.EmitUnwindInfo(*this, Frame, /* HandlerData = */ false); in emitWindowsUnwindTables()

1234