Home
last modified time | relevance | path

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

12

/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.h137 std::vector<FunctionInfo> Funcs;
353 void addFunctionInfo(FunctionInfo &&FI);
378 std::function<bool(FunctionInfo &)> const &Callback);
385 std::function<bool(const FunctionInfo &)> const &Callback) const;
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;
H A DLineTable.h20 struct FunctionInfo;
/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 {
/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
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 &FI, const DILocation *InlinedAt,
403 void emitLocalVariableList(const FunctionInfo &FI,
407 void emitLocalVariable(const FunctionInfo &FI, const LocalVariable &Var);
[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()
/src/contrib/llvm-project/lldb/source/Symbol/
H A DFunction.cpp31 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 &a, const FunctionInfo &b) { in Compare()
53 Declaration &FunctionInfo::GetDeclaration() { return m_declaration; } in GetDeclaration()
55 const Declaration &FunctionInfo::GetDeclaration() const { in GetDeclaration()
59 ConstString FunctionInfo::GetName() const { return m_name; } in GetName()
61 size_t FunctionInfo::MemorySize() const { in MemorySize()
69 : FunctionInfo(name, decl_ptr), m_mangled(mangled), in InlineFunctionInfo()
[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()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DGlobalsModRef.cpp63 class GlobalsAAResult::FunctionInfo { class in GlobalsAAResult
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 &RHS) { in operator =()
124 FunctionInfo &operator=(FunctionInfo &&RHS) { in operator =()
169 void addFunctionInfo(const FunctionInfo &FI) { in addFunctionInfo()
241 if (FunctionInfo *FI = getFunctionInfo(F)) in getMemoryEffects()
249 GlobalsAAResult::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();
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 updateOneNode()
838 std::map<const GlobalValue *, FunctionInfo<GlobalValue>> Functions, in createGlobalStackSafetyInfo()
[all …]
/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 addFunctionInfo()
346 std::function<bool(FunctionInfo &)> const &Callback) { in forEachFunctionInfo()
355 std::function<bool(const FunctionInfo &)> const &Callback) const { in forEachFunctionInfo()
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.cpp222 FunctionInfo &FI, InlineInfo &Parent, 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()
/src/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h489 class FunctionInfo : public CommonEntityInfo {
524 FunctionInfo() in FunctionInfo() function
577 friend bool operator==(const FunctionInfo &, const FunctionInfo &);
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 &>(LHS) == RHS &&
654 class GlobalFunctionInfo : public FunctionInfo {
660 class CXXMethodInfo : public FunctionInfo {
/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);
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.h107 struct FunctionInfo { struct
118 std::vector<FunctionInfo> FunctionRecords; argument
124 void emitFunctionMappingRecord(const FunctionInfo &Info,
/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() function
332 using FnInfoMap = MapVector<const MCSymbol *, FunctionInfo>;
/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 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 convertFunction()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp459 const api_notes::FunctionInfo &Info, in ProcessAPINotes()
562 static_cast<const api_notes::FunctionInfo &>(Info), Metadata); in ProcessAPINotes()
592 static_cast<const api_notes::FunctionInfo &>(Info), Metadata); in ProcessAPINotes()

12