Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProfRadixTree.h50 Frame operator()(FrameId Id) { in operator()
54 return Frame(); in operator()
56 return detail::DerefIterator<Frame>(Iter); in operator()
64 llvm::function_ref<Frame(FrameId)> FrameIdToFrame;
68 llvm::function_ref<Frame(FrameId)> FrameIdToFrame) in CallStackIdConverter()
77 std::vector<Frame> operator()(CallStackId CSId) { in operator()
78 std::vector<Frame> Frames; in operator()
102 Frame operator()(LinearFrameId LinearId) { in operator()
103 uint64_t Offset = static_cast<uint64_t>(LinearId) * Frame::serializedSize(); in operator()
104 return Frame::deserialize(FrameBase + Offset); in operator()
[all …]
H A DMemProf.h246 struct Frame {
261 Frame() = default;
262 Frame(const Frame &Other) {
272 Frame(GlobalValue::GUID Hash, uint32_t Off, uint32_t Col, bool Inline)
275 bool operator==(const Frame &Other) const {
282 Frame &operator=(const Frame &Other) {
293 bool operator!=(const Frame &Other) const { return !operator==(Other); }
324 static Frame deserialize(const unsigned char *Ptr) {
334 return Frame(/*Function=*/F, /*LineOffset=*/L, /*Column=*/C,
340 return sizeof(Frame::Function) + sizeof(Frame::LineOffset) +
[all …]
H A DMemProfYAML.h72 template <> struct MappingTraits<memprof::Frame> {
81 FrameWithHex64(IO &, const memprof::Frame &F)
84 memprof::Frame denormalize(IO &) {
85 return memprof::Frame(Function, LineOffset, Column, IsInlineFrame);
90 decltype(memprof::Frame::Function)>);
91 decltype(memprof::Frame::LineOffset) LineOffset = 0;
92 decltype(memprof::Frame::Column) Column = 0;
93 decltype(memprof::Frame::IsInlineFrame) IsInlineFrame = false;
96 static void mapping(IO &Io, memprof::Frame &F) {
97 MappingNormalization<FrameWithHex64, memprof::Frame> Keys(Io, F);
[all …]
H A DIndexedMemProfData.h37 llvm::MapVector<FrameId, Frame> Frames;
42 FrameId addFrame(const Frame &F) { in addFrame()
66 FrameId hashFrame(const Frame &F) const { in hashFrame()
H A DMemProfCommon.h22 struct Frame;
32 LLVM_ABI uint64_t computeFullStackId(ArrayRef<Frame> CallStack);
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltin.cpp146 const InterpFrame *Frame, in interp__builtin_is_constant_evaluated() argument
153 const InterpFrame *Caller = Frame->Caller; in interp__builtin_is_constant_evaluated()
158 (Depth == 0 || (Depth == 1 && isStdCall(Frame->getCallee())))) { in interp__builtin_is_constant_evaluated()
159 if (Caller && isStdCall(Frame->getCallee())) { in interp__builtin_is_constant_evaluated()
177 const InterpFrame *Frame, in interp__builtin_assume() argument
185 const InterpFrame *Frame, in interp__builtin_strcmp() argument
267 const InterpFrame *Frame, in interp__builtin_strlen() argument
322 const InterpFrame *Frame, const CallExpr *Call, in interp__builtin_nan() argument
384 const InterpFrame *Frame, in interp__builtin_inf() argument
397 const InterpFrame *Frame) { in interp__builtin_copysign() argument
[all …]
H A DFrame.h25 class Frame {
27 virtual ~Frame() = default;
33 virtual Frame *getCaller() const = 0;
H A DState.h53 class Frame; variable
66 virtual Frame *getCurrentFrame() = 0;
67 virtual const Frame *getBottomFrame() const = 0;
H A DState.cpp130 const Frame *Top = getCurrentFrame(); in addCallStack()
131 const Frame *Bottom = getBottomFrame(); in addCallStack()
132 for (const Frame *F = Top; F != Bottom; F = F->getCaller(), ++CallIdx) { in addCallStack()
/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/crypto/openssl/test/recipes/75-test_quicapi_data/
H A Dssltraceref-zlib.txt73 Sent Frame: Crypto
84 Sent Frame: Crypto
87 Sent Frame: Padding
104 Sent Frame: Crypto
115 Sent Frame: Crypto
118 Sent Frame: Padding
141 Received Frame: Ack (without ECN)
146 Received Frame: Padding
147 Sent Frame: Crypto
150 Sent Frame: Padding
[all …]
H A Dssltraceref.txt71 Sent Frame: Crypto
82 Sent Frame: Crypto
85 Sent Frame: Padding
102 Sent Frame: Crypto
113 Sent Frame: Crypto
116 Sent Frame: Padding
139 Received Frame: Ack (without ECN)
144 Received Frame: Padding
145 Sent Frame: Crypto
148 Sent Frame: Padding
[all …]
/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.cpp1555 void FrameEmitterImpl::EmitCompactUnwind(const MCDwarfFrameInfo &Frame) { in EmitCompactUnwind() argument
1581 uint32_t Encoding = Frame.CompactUnwindEncoding; in EmitCompactUnwind()
1586 if (!DwarfEHFrameOnly && Frame.Lsda) in EmitCompactUnwind()
1592 Streamer.emitSymbolValue(Frame.Begin, Size); in EmitCompactUnwind()
1596 makeEndMinusStartExpr(Context, *Frame.Begin, *Frame.End, 0); in EmitCompactUnwind()
1605 if (!DwarfEHFrameOnly && Frame.Personality) in EmitCompactUnwind()
1606 Streamer.emitSymbolValue(Frame.Personality, Size); in EmitCompactUnwind()
1611 Size = getSizeForEncoding(Streamer, Frame.LsdaEncoding); in EmitCompactUnwind()
1612 if (!DwarfEHFrameOnly && Frame.Lsda) in EmitCompactUnwind()
1613 Streamer.emitSymbolValue(Frame.Lsda, Size); in EmitCompactUnwind()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp89 static bool operandReferences(CallInst *CI, AllocaInst *Frame, AAResults &AA) { in operandReferences() argument
91 if (Op->getType()->isPointerTy() && !AA.isNoAlias(Op, Frame)) in operandReferences()
103 static void removeTailCallAttribute(AllocaInst *Frame, AAResults &AA) { in removeTailCallAttribute() argument
104 Function &F = *Frame->getFunction(); in removeTailCallAttribute()
107 if (Call->isTailCall() && operandReferences(Call, Frame, AA) && in removeTailCallAttribute()
225 auto *Frame = new AllocaInst(FrameTy, DL.getAllocaAddrSpace(), "", InsertPt); in elideHeapAllocations() local
226 Frame->setAlignment(FrameAlign); in elideHeapAllocations()
228 new BitCastInst(Frame, PointerType::getUnqual(C), "vFrame", InsertPt); in elideHeapAllocations()
237 removeTailCallAttribute(Frame, AA); in elideHeapAllocations()
H A DCoroAnnotationElide.cpp52 auto *Frame = new AllocaInst(FrameTy, DL.getAllocaAddrSpace(), "", InsertPt); in allocateFrameInCaller() local
53 Frame->setAlignment(FrameAlign); in allocateFrameInCaller()
54 return Frame; in allocateFrameInCaller()
/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/Transforms/Instrumentation/
H A DMemProfUse.cpp112 static uint64_t computeStackId(const memprof::Frame &Frame) { in computeStackId() argument
113 return computeStackId(Frame.Function, Frame.LineOffset, Frame.Column); in computeStackId()
140 stackFrameIncludesInlinedCallStack(ArrayRef<Frame> ProfileCallStack, in stackFrameIncludesInlinedCallStack()
144 InlinedCallStack, [](const Frame &F, uint64_t StackId) { in stackFrameIncludesInlinedCallStack()
303 auto UndriftCallStack = [&](std::vector<Frame> &CallStack) { in undriftMemProfRecord()
439 ArrayRef<Frame> Frames; in readMemprof()
479 ArrayRef<Frame> FrameSlice = ArrayRef<Frame>(CS.Frames).drop_front(Idx++); in readMemprof()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DIndexedMemProfData.cpp60 llvm::MapVector<memprof::FrameId, memprof::Frame> &MemProfFrameData) { in writeMemProfFrames()
63 for (auto &[FrameId, Frame] : MemProfFrameData) { in writeMemProfFrames()
65 FrameTableGenerator.insert(FrameId, Frame); in writeMemProfFrames()
78 llvm::MapVector<memprof::FrameId, memprof::Frame> &MemProfFrameData, in writeMemProfFrameArray()
92 std::vector<std::pair<memprof::FrameId, const memprof::Frame *>> FrameIdOrder; in writeMemProfFrameArray()
94 for (const auto &[Id, Frame] : MemProfFrameData) in writeMemProfFrameArray()
95 FrameIdOrder.emplace_back(Id, &Frame); in writeMemProfFrameArray()
98 [&](const std::pair<memprof::FrameId, const memprof::Frame *> &L, in writeMemProfFrameArray()
99 const std::pair<memprof::FrameId, const memprof::Frame *> &R) { in writeMemProfFrameArray()
/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/DebugInfo/PDB/
H A DPDBContext.cpp117 while (auto Frame = Frames->getNext()) { in getInliningInfoForAddress() local
119 auto LineNumbers = Frame->findInlineeLinesByVA(Address.Address, Length); in getInliningInfoForAddress()
127 LineInfo.FunctionName = Frame->getName(); in getInliningInfoForAddress()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRTDyldMemoryManager.cpp134 for (auto &Frame : EHFrames) in deregisterEHFrames() local
135 deregisterEHFramesInProcess(Frame.Addr, Frame.Size); in deregisterEHFrames()
/freebsd/contrib/llvm-project/llvm/lib/DWARFCFIChecker/
H A DDWARFCFIFunctionFrameStreamer.cpp67 void CFIFunctionFrameStreamer::emitCFIStartProcImpl(MCDwarfFrameInfo &Frame) { in emitCFIStartProcImpl() argument
72 MCStreamer::emitCFIStartProcImpl(Frame); in emitCFIStartProcImpl()

12345