Home
last modified time | relevance | path

Searched refs:FunctionInfo (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFunctionInfo.h88 struct FunctionInfo { struct
98 FunctionInfo(uint64_t Addr = 0, uint64_t Size = 0, uint32_t N = 0) argument
135 static llvm::Expected<FunctionInfo> decode(DataExtractor &Data,
197 inline bool operator==(const FunctionInfo &LHS, const FunctionInfo &RHS) { argument
201 inline bool operator!=(const FunctionInfo &LHS, const FunctionInfo &RHS) {
218 inline bool operator<(const FunctionInfo &LHS, const FunctionInfo &RHS) {
227 raw_ostream &operator<<(raw_ostream &OS, const FunctionInfo &R);
H A DGsymCreator.h21 #include "llvm/DebugInfo/GSYM/FunctionInfo.h"
37 /// - Create FunctionInfo objects and add them
41 /// The first stage involves creating FunctionInfo objects from another source
43 /// Any strings in the FunctionInfo or contained information, like InlineInfo
48 /// add FunctionInfo objects while parsing debug information.
50 /// Once all of the FunctionInfo objects have been added, the
52 /// will sort the FunctionInfo objects, finalize the string table, and do any
131 /// FunctionInfo objects. Each encoded FunctionInfo's data is pointed to by an
133 /// of FunctionInfo object
[all...]
H A DGsymReader.h107 llvm::Expected<FunctionInfo> getFunctionInfo(uint64_t Addr) const;
116 llvm::Expected<FunctionInfo> getFunctionInfoAtIndex(uint64_t AddrIdx) const;
169 void dump(raw_ostream &OS, const FunctionInfo &FI);
H A DDwarfTransformer.h23 struct FunctionInfo;
30 /// gsym::FunctionInfo objects that includes line table information and inline
H A DLineTable.h20 struct FunctionInfo;
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompactUnwindInfo.h79 struct FunctionInfo { struct
89 FunctionInfo() = default; argument
105 FunctionInfo &unwind_info);
123 bool CreateUnwindPlan_x86_64(Target &target, FunctionInfo &function_info,
127 bool CreateUnwindPlan_i386(Target &target, FunctionInfo &function_info,
131 bool CreateUnwindPlan_arm64(Target &target, FunctionInfo &function_info,
135 bool CreateUnwindPlan_armv7(Target &target, FunctionInfo &function_info,
H A DFunction.h31 class FunctionInfo {
44 FunctionInfo(const char *name, const Declaration *decl_ptr);
56 FunctionInfo(ConstString name, const Declaration *decl_ptr);
61 virtual ~FunctionInfo();
78 static int Compare(const FunctionInfo &lhs, const FunctionInfo &rhs);
125 class InlineFunctionInfo : public FunctionInfo {
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h149 struct FunctionInfo { struct
150 FunctionInfo() = default;
153 FunctionInfo(const FunctionInfo &FI) = delete;
214 FunctionInfo *CurFn = nullptr; argument
225 // collectLexicalBlocks() separates the variables between the FunctionInfo
269 MapVector<const Function *, std::unique_ptr<FunctionInfo>> FnDebugInfo;
341 FunctionInfo &FI,
344 void emitDebugInfoForFunction(const Function *GV, FunctionInfo &FI);
375 void emitInlinedCallSite(const FunctionInfo
157 InlineSitesFunctionInfo global() argument
160 ChildSitesFunctionInfo global() argument
163 InlineesFunctionInfo global() argument
165 LocalsFunctionInfo global() argument
166 GlobalsFunctionInfo global() argument
168 LexicalBlocksFunctionInfo global() argument
171 ChildBlocksFunctionInfo global() argument
173 AnnotationsFunctionInfo global() argument
175 HeapAllocSitesFunctionInfo global() argument
177 JumpTablesFunctionInfo global() argument
179 BeginFunctionInfo global() argument
180 EndFunctionInfo global() argument
181 FuncIdFunctionInfo global() argument
182 LastFileIdFunctionInfo global() argument
185 FrameSizeFunctionInfo global() argument
188 ParamSizeFunctionInfo global() argument
[all...]
H A DCodeViewDebug.cpp1004 void CodeViewDebug::emitInlinedCallSite(const FunctionInfo &FI, in emitInlinedCallSite()
1065 FunctionInfo &FI, in emitDebugInfoForThunk()
1105 FunctionInfo &FI) { in emitDebugInfoForFunction()
1480 auto Insertion = FnDebugInfo.insert({&GV, std::make_unique<FunctionInfo>()}); in beginFunctionImpl()
2818 void CodeViewDebug::emitLocalVariableList(const FunctionInfo &FI, in emitLocalVariableList()
2847 void CodeViewDebug::emitLocalVariable(const FunctionInfo &FI, in emitLocalVariable()
2932 const FunctionInfo& FI) { in emitLexicalBlockList()
2940 const FunctionInfo& FI) { in emitLexicalBlock()
3571 void CodeViewDebug::emitDebugInfoForJumpTables(const FunctionInfo &FI) { in emitDebugInfoForJumpTables()
/freebsd-src/contrib/llvm-project/lldb/source/Symbol/
H A DFunction.cpp29 // Basic function information is contained in the FunctionInfo class. It is
31 FunctionInfo::FunctionInfo(const char *name, const Declaration *decl_ptr) in FunctionInfo() function in FunctionInfo
34 FunctionInfo::FunctionInfo(ConstString name, const Declaration *decl_ptr) in FunctionInfo() function in FunctionInfo
37 FunctionInfo::~FunctionInfo() = default;
39 void FunctionInfo::Dump(Stream *s, bool show_fullpaths) const { in Dump()
45 int FunctionInfo::Compare(const FunctionInfo
[all...]
H A DCompactUnwindInfo.cpp178 FunctionInfo function_info; in GetUnwindPlan()
492 Target &target, Address address, FunctionInfo &unwind_info) { in GetCompactUnwindInfoForFunction()
735 FunctionInfo &function_info, in CreateUnwindPlan_x86_64()
1007 FunctionInfo &function_info, in CreateUnwindPlan_i386()
1304 FunctionInfo &function_info, in CreateUnwindPlan_arm64()
1438 FunctionInfo &function_info, in CreateUnwindPlan_armv7()
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/
H A DGlobalsModRef.cpp63 class GlobalsAAResult::FunctionInfo { class in GlobalsAAResult
89 /// FunctionInfo.getModRefInfo() masks out everything except ModRef so
101 FunctionInfo() = default;
102 ~FunctionInfo() { in ~FunctionInfo()
108 FunctionInfo(const FunctionInfo &Arg) in FunctionInfo() function in GlobalsAAResult::FunctionInfo
113 FunctionInfo(FunctionInfo &&Arg) in FunctionInfo() function in GlobalsAAResult::FunctionInfo
117 FunctionInfo &operator=(const FunctionInfo in FunctionInfo()
[all...]
H A DStackSafetyAnalysis.cpp183 template <typename CalleeTy> struct FunctionInfo { struct
222 using GVToSSI = std::map<const GlobalValue *, FunctionInfo<GlobalValue>>;
227 FunctionInfo<GlobalValue> Info;
276 FunctionInfo<GlobalValue> run(); in offsetFrom()
553 FunctionInfo<GlobalValue> StackSafetyLocalAnalysis::run() { in run()
554 FunctionInfo<GlobalValue> Info; in run()
587 using FunctionMap = std::map<const CalleeTy *, FunctionInfo<CalleeTy>>;
597 void updateOneNode(const CalleeTy *Callee, FunctionInfo<CalleeTy> &FS);
664 const CalleeTy *Callee, FunctionInfo<CalleeTy> &FS) { in runDataFlow()
838 std::map<const GlobalValue *, FunctionInfo<GlobalValu in createGlobalStackSafetyInfo()
184 Allocas__anon364a5b7b0111::FunctionInfo global() argument
185 Params__anon364a5b7b0111::FunctionInfo global() argument
189 UpdateCount__anon364a5b7b0111::FunctionInfo global() argument
191 print__anon364a5b7b0111::FunctionInfo print() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp28 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const FunctionInfo &FI) { in operator <<()
37 llvm::Expected<FunctionInfo> FunctionInfo::decode(DataExtractor &Data, in decode()
39 FunctionInfo FI; in decode()
99 uint64_t FunctionInfo::cacheEncoding() { in cacheEncoding()
114 llvm::Expected<uint64_t> FunctionInfo::encode(FileWriter &Out) const { in encode()
180 llvm::Expected<LookupResult> FunctionInfo::lookup(DataExtractor &Data, in lookup()
H A DGsymCreator.cpp231 std::vector<FunctionInfo> FinalizedFuncs; in finalize()
235 FunctionInfo &Prev = FinalizedFuncs.back(); in finalize()
236 FunctionInfo &Curr = Funcs[Idx]; in finalize()
340 void GsymCreator::addFunctionInfo(FunctionInfo &&FI) { in forEachFunctionInfo()
346 std::function<bool(FunctionInfo &)> const &Callback) {
355 std::function<bool(const FunctionInfo &)> const &Callback) const {
455 const FunctionInfo &SrcFI = SrcGC.Funcs[FuncIdx]; in copyFunctionInfo()
457 FunctionInfo DstFI; in copyFunctionInfo()
H A DGsymReader.cpp321 llvm::Expected<FunctionInfo> GsymReader::getFunctionInfo(uint64_t Addr) const { in getFunctionInfo()
324 return FunctionInfo::decode(*ExpectedData, FuncStartAddr); in getFunctionInfo()
329 llvm::Expected<FunctionInfo>
333 return FunctionInfo::decode(*ExpectedData, FuncStartAddr); in getFunctionInfoAtIndex()
341 return FunctionInfo::lookup(*ExpectedData, *this, FuncStartAddr, Addr); in lookup()
401 void GsymReader::dump(raw_ostream &OS, const FunctionInfo &FI) { in dump()
H A DDwarfTransformer.cpp20 #include "llvm/DebugInfo/GSYM/FunctionInfo.h"
222 FunctionInfo &FI, InlineInfo &Parent, in parseInlineInfo()
248 // ranges we will emit a FunctionInfo for each range of that in parseInlineInfo()
315 FunctionInfo &FI) { in convertFunctionLineTable()
515 FunctionInfo FI; in handleDie()
H A DObjectFileTransformer.cpp115 FunctionInfo(*AddrOrErr, size, Gsym.insertString(*Name, NoCopy))); in convert()
/freebsd-src/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h489 class FunctionInfo : public CommonEntityInfo {
524 FunctionInfo() in addTypeInfo()
577 friend bool operator==(const FunctionInfo &, const FunctionInfo &); in getTypeInfo()
595 inline bool operator==(const FunctionInfo &LHS, const FunctionInfo &RHS) {
604 inline bool operator!=(const FunctionInfo &LHS, const FunctionInfo &RHS) {
609 class ObjCMethodInfo : public FunctionInfo {
638 return static_cast<const FunctionInfo
512 FunctionInfo() FunctionInfo() function
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DGlobalsModRef.h31 class FunctionInfo; variable
51 DenseMap<const Function *, FunctionInfo> FunctionInfos;
110 FunctionInfo *getFunctionInfo(const Function *F);
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.h107 struct FunctionInfo {
118 std::vector<FunctionInfo> FunctionRecords;
124 void emitFunctionMappingRecord(const FunctionInfo &Info, in getSourceInfo()
98 struct FunctionInfo { global() struct
109 IsUsedFunctionInfo global() argument
/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DStackMaps.h311 struct FunctionInfo { struct
315 FunctionInfo() = default; argument
316 explicit FunctionInfo(uint64_t StackSize) : StackSize(StackSize) {} in FunctionInfo() argument
332 using FnInfoMap = MapVector<const MCSymbol *, FunctionInfo>;
/freebsd-src/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesTypes.cpp72 LLVM_DUMP_METHOD void FunctionInfo::dump(llvm::raw_ostream &OS) const { in dump()
85 static_cast<FunctionInfo &>(*this).dump(OS); in dump()
H A DAPINotesWriter.cpp739 unsigned getFunctionInfoSize(const FunctionInfo &); in getKeyLength()
740 void emitFunctionInfo(llvm::raw_ostream &, const FunctionInfo &); in getKeyLength()
1008 /// Retrieve the serialized size of the given FunctionInfo, for use in on-disk
1010 unsigned getFunctionInfoSize(const FunctionInfo &FI) { in writeGlobalFunctionBlock()
1020 void emitFunctionInfo(raw_ostream &OS, const FunctionInfo &FI) { in writeGlobalFunctionBlock()
H A DAPINotesYAMLCompiler.cpp689 void convertParams(const ParamsSeq &Params, FunctionInfo &OutInfo) { in convertParams()
705 FunctionInfo &OutInfo, llvm::StringRef APIName) { in convertNullability()
706 if (Nullability.size() > FunctionInfo::getMaxNullabilityIndex()) { in convertNullability()
879 void convertFunction(const Function &Function, FunctionInfo &FI) { in convertTopLevelItems()

12