Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/GSYM/
H A DFunctionInfo.h89 struct FunctionInfo { struct
95 FunctionInfo(uint64_t Addr = 0, uint64_t Size = 0, uint32_t N = 0) argument
132 static llvm::Expected<FunctionInfo> decode(DataExtractor &Data,
183 inline bool operator==(const FunctionInfo &LHS, const FunctionInfo &RHS) { argument
187 inline bool operator!=(const FunctionInfo &LHS, const FunctionInfo &RHS) {
195 inline bool operator<(const FunctionInfo &LHS, const FunctionInfo &RHS) {
207 raw_ostream &operator<<(raw_ostream &OS, const FunctionInfo &R);
H A DGsymCreator.h136 std::vector<FunctionInfo> Funcs;
197 void addFunctionInfo(FunctionInfo &&FI);
222 std::function<bool(FunctionInfo &)> const &Callback);
229 std::function<bool(const FunctionInfo &)> const &Callback) const;
/llvm-project-15.0.7/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 {
/llvm-project-15.0.7/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()
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()
76 : FunctionInfo(name, decl_ptr), m_mangled(mangled), in InlineFunctionInfo()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h136 struct FunctionInfo { struct
137 FunctionInfo() = default;
140 FunctionInfo(const FunctionInfo &FI) = delete;
194 FunctionInfo *CurFn = nullptr; argument
249 MapVector<const Function *, std::unique_ptr<FunctionInfo>> FnDebugInfo;
321 FunctionInfo &FI,
324 void emitDebugInfoForFunction(const Function *GV, FunctionInfo &FI);
381 void emitLocalVariableList(const FunctionInfo &FI,
385 void emitLocalVariable(const FunctionInfo &FI, const LocalVariable &Var);
389 const FunctionInfo& FI);
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DCFLAndersAliasAnalysis.h41 class FunctionInfo; variable
70 const Optional<FunctionInfo> &ensureCached(const Function &);
76 FunctionInfo buildInfoFrom(const Function &);
85 DenseMap<const Function *, Optional<FunctionInfo>> Cache;
H A DCFLSteensAliasAnalysis.h40 class FunctionInfo; variable
63 const Optional<FunctionInfo> &ensureCached(Function *Fn);
99 DenseMap<Function *, Optional<FunctionInfo>> Cache;
102 FunctionInfo buildSetsFrom(Function *F);
H A DGlobalsModRef.h33 class FunctionInfo; variable
53 DenseMap<const Function *, FunctionInfo> FunctionInfos;
112 FunctionInfo *getFunctionInfo(const Function *F);
/llvm-project-15.0.7/llvm/unittests/DebugInfo/GSYM/
H A DGSYMTest.cpp86 FunctionInfo invalid; in TEST()
93 FunctionInfo FI(StartAddr, Size, NameOffset); in TEST()
108 FunctionInfo A1(0x1000, 0x100, NameOffset); in TEST()
109 FunctionInfo A2(0x1000, 0x100, NameOffset); in TEST()
110 FunctionInfo B; in TEST()
143 FunctionInfo FIWithLinesAndInline = FIWithLines; in TEST()
153 FunctionInfo FIWithMoreLines = FIWithLines; in TEST()
170 llvm::Expected<FunctionInfo> Decoded = FunctionInfo::decode(Data, BaseAddr); in TestFunctionInfoDecodeError()
256 llvm::Expected<FunctionInfo> Decoded = in TestFunctionInfoEncodeDecode()
257 FunctionInfo::decode(Data, FI.Range.start()); in TestFunctionInfoEncodeDecode()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DCFLSteensAliasAnalysis.cpp72 class CFLSteensAAResult::FunctionInfo { class in CFLSteensAAResult
77 FunctionInfo(Function &Fn, const SmallVectorImpl<Value *> &RetVals,
116 CFLSteensAAResult::FunctionInfo::FunctionInfo( in FunctionInfo() function in CFLSteensAAResult::FunctionInfo
185 CFLSteensAAResult::FunctionInfo CFLSteensAAResult::buildSetsFrom(Function *Fn) { in buildSetsFrom()
224 return FunctionInfo(*Fn, GraphBuilder.getReturnValues(), SetBuilder.build()); in buildSetsFrom()
228 auto InsertPair = Cache.insert(std::make_pair(Fn, Optional<FunctionInfo>())); in scan()
246 const Optional<CFLSteensAAResult::FunctionInfo> &
H A DGlobalsModRef.cpp64 class GlobalsAAResult::FunctionInfo { class in GlobalsAAResult
105 FunctionInfo() = default;
106 ~FunctionInfo() { in ~FunctionInfo()
112 FunctionInfo(const FunctionInfo &Arg) in FunctionInfo() function in GlobalsAAResult::FunctionInfo
117 FunctionInfo(FunctionInfo &&Arg) in FunctionInfo() function in GlobalsAAResult::FunctionInfo
121 FunctionInfo &operator=(const FunctionInfo &RHS) { in operator =()
128 FunctionInfo &operator=(FunctionInfo &&RHS) { in operator =()
249 if (FunctionInfo *FI = getFunctionInfo(F)) { in getModRefBehavior()
261 GlobalsAAResult::FunctionInfo *
493 FunctionInfo &FI = FunctionInfos[F]; in AnalyzeCallGraph()
[all …]
H A DCFLAndersAliasAnalysis.cpp323 class CFLAndersAAResult::FunctionInfo { class in CFLAndersAAResult
339 FunctionInfo(const Function &, const SmallVectorImpl<Value *> &,
501 CFLAndersAAResult::FunctionInfo::FunctionInfo( in FunctionInfo() function in CFLAndersAAResult::FunctionInfo
511 CFLAndersAAResult::FunctionInfo::getAttrs(const Value *V) const { in getAttrs()
520 bool CFLAndersAAResult::FunctionInfo::mayAlias( in mayAlias()
781 CFLAndersAAResult::FunctionInfo
807 return FunctionInfo(Fn, GraphBuilder.getReturnValues(), ReachSet, in buildInfoFrom()
812 auto InsertPair = Cache.insert(std::make_pair(&Fn, Optional<FunctionInfo>())); in scan()
827 const Optional<CFLAndersAAResult::FunctionInfo> &
H A DStackSafetyAnalysis.cpp183 template <typename CalleeTy> struct FunctionInfo { struct
222 using GVToSSI = std::map<const GlobalValue *, FunctionInfo<GlobalValue>>;
227 FunctionInfo<GlobalValue> Info;
268 FunctionInfo<GlobalValue> run();
521 FunctionInfo<GlobalValue> StackSafetyLocalAnalysis::run() { in run()
522 FunctionInfo<GlobalValue> Info; in run()
555 using FunctionMap = std::map<const CalleeTy *, FunctionInfo<CalleeTy>>;
632 const CalleeTy *Callee, FunctionInfo<CalleeTy> &FS) { in updateOneNode()
806 std::map<const GlobalValue *, FunctionInfo<GlobalValue>> Functions, in createGlobalStackSafetyInfo()
878 std::map<const GlobalValue *, FunctionInfo<GlobalValue>> Functions; in getInfo()
[all …]
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-doc/
H A DClangDocTest.h28 FunctionInfo *InfoAsFunction(Info *I);
42 void CheckFunctionInfo(FunctionInfo *Expected, FunctionInfo *Actual);
H A DSerializeTest.cpp100 FunctionInfo F; in TEST()
149 FunctionInfo EConstructor; in TEST()
165 FunctionInfo Method; in TEST()
188 FunctionInfo TemplateMethod; in TEST()
323 FunctionInfo F; in TEST()
338 FunctionInfo F; in TEST()
387 FunctionInfo FunctionSet; in TEST()
401 FunctionInfo FunctionGet; in TEST()
433 FunctionInfo FunctionSetNew; in TEST()
495 FunctionInfo F; in TEST()
[all …]
H A DMergeTest.cpp154 FunctionInfo One; in TEST()
175 FunctionInfo Two; in TEST()
196 Infos.emplace_back(std::make_unique<FunctionInfo>(std::move(One))); in TEST()
197 Infos.emplace_back(std::make_unique<FunctionInfo>(std::move(Two))); in TEST()
199 auto Expected = std::make_unique<FunctionInfo>(); in TEST()
/llvm-project-15.0.7/clang/include/clang/APINotes/
H A DTypes.h478 class FunctionInfo : public CommonEntityInfo {
512 FunctionInfo() in FunctionInfo() function
565 friend bool operator==(const FunctionInfo &, const FunctionInfo &);
583 inline bool operator==(const FunctionInfo &LHS, const FunctionInfo &RHS) {
592 inline bool operator!=(const FunctionInfo &LHS, const FunctionInfo &RHS) {
597 class ObjCMethodInfo : public FunctionInfo {
624 return static_cast<const FunctionInfo &>(LHS) == RHS &&
640 class GlobalFunctionInfo : public FunctionInfo {
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp27 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const FunctionInfo &FI) { in operator <<()
36 llvm::Expected<FunctionInfo> FunctionInfo::decode(DataExtractor &Data, in decode()
38 FunctionInfo FI; in decode()
98 llvm::Expected<uint64_t> FunctionInfo::encode(FileWriter &O) const { in encode()
153 llvm::Expected<LookupResult> FunctionInfo::lookup(DataExtractor &Data, in lookup()
/llvm-project-15.0.7/llvm/test/tools/llvm-gsymutil/X86/
H A Delf-dwarf.yaml23 # ADDRV: FunctionInfo for 0x0000000000400391:
27 # ADDRV: FunctionInfo for 0x00000000004004cd:
101 # DUMP: FunctionInfo @ 0x00000114: [0x0000000000400390 - 0x0000000000400390) "_init"
102 # DUMP: FunctionInfo @ 0x00000124: [0x00000000004003e0 - 0x00000000004003e0) "_start"
103 # DUMP: FunctionInfo @ 0x00000134: [0x0000000000400410 - 0x0000000000400410) "deregister_tm_cl…
104 # DUMP: FunctionInfo @ 0x00000144: [0x0000000000400440 - 0x0000000000400440) "register_tm_clon…
106 # DUMP: FunctionInfo @ 0x00000164: [0x00000000004004a0 - 0x00000000004004a0) "frame_dummy"
107 # DUMP: FunctionInfo @ 0x00000174: [0x00000000004004cd - 0x00000000004004df) "main"
112 # DUMP: FunctionInfo @ 0x00000194: [0x00000000004004e0 - 0x0000000000400545) "__libc_csu_init"
113 # DUMP: FunctionInfo @ 0x000001a4: [0x0000000000400550 - 0x0000000000400552) "__libc_csu_fini"
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.h98 struct FunctionInfo { struct
109 std::vector<FunctionInfo> FunctionRecords; argument
116 void emitFunctionMappingRecord(const FunctionInfo &Info,
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DStackMaps.h304 struct FunctionInfo { struct
308 FunctionInfo() = default; argument
309 explicit FunctionInfo(uint64_t StackSize) : StackSize(StackSize) {} in FunctionInfo() function
325 using FnInfoMap = MapVector<const MCSymbol *, FunctionInfo>;
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DRepresentation.h33 struct FunctionInfo;
299 std::vector<FunctionInfo> ChildFunctions;
319 struct FunctionInfo : public SymbolInfo { struct
320 FunctionInfo() : SymbolInfo(InfoType::IT_function) {} in FunctionInfo() function
321 FunctionInfo(SymbolID USR) : SymbolInfo(InfoType::IT_function, USR) {} in FunctionInfo() argument
323 void merge(FunctionInfo &&I);
369 std::vector<FunctionInfo> ChildFunctions;
H A DRepresentation.cpp69 void reduceChildren(std::vector<FunctionInfo> &Children, in reduceChildren()
70 std::vector<FunctionInfo> &&ChildrenToMerge) { in reduceChildren()
110 return reduce<FunctionInfo>(Values); in mergeInfos()
249 void FunctionInfo::merge(FunctionInfo &&Other) { in merge()
/llvm-project-15.0.7/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()

123