Searched refs:FunctionInfo (Results 1 - 24 of 24) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFunctionInfo.h1 //===- FunctionInfo.h -------------------------------------------*- C++ -*-===//
28 /// need to be encoded using multiple FunctionInfo objects.
33 /// to the FunctionInfo::decode(...) function. This information is calculated
35 /// table. The encoded FunctionInfo information must be aligned to a 4 byte
38 /// The encoded data for a FunctionInfo starts with fixed data that all
46 /// The optional data in a FunctionInfo object follows this fixed information
71 /// information data to a FunctionInfo object over time and allows older
88 struct FunctionInfo { struct in namespace:llvm::gsym
94 FunctionInfo(uint64_t Addr = 0, uint64_t Size = 0, uint32_t N = 0) function in struct:llvm::gsym::FunctionInfo
97 /// Query if a FunctionInfo ha
[all...]
H A DGsymCreator.h20 #include "llvm/DebugInfo/GSYM/FunctionInfo.h"
36 /// - Create FunctionInfo objects and add them
40 /// The first stage involves creating FunctionInfo objects from another source
42 /// Any strings in the FunctionInfo or contained information, like InlineInfo
47 /// add FunctionInfo objects while parsing debug information.
49 /// Once all of the FunctionInfo objects have been added, the
51 /// will sort the FunctionInfo objects, finalize the string table, and do any
130 /// FunctionInfo objects. Each encoded FunctionInfo's data is pointed to by an
132 /// of FunctionInfo object
[all...]
H A DLineTable.h20 struct FunctionInfo;
44 /// the start address of the function from the FunctionInfo's address range,
135 /// This will be the FunctionInfo's start address and will be used to
149 /// This will be the FunctionInfo's start address and will be used to
162 /// This will be the FunctionInfo's start address.
H A DGsymReader.h15 #include "llvm/DebugInfo/GSYM/FunctionInfo.h"
97 /// FunctionInfo for a given address. For one off lookups, use the lookup()
107 /// \returns An expected FunctionInfo that contains the function info object
110 llvm::Expected<FunctionInfo> getFunctionInfo(uint64_t Addr) const;
137 /// Used to convert any file indexes in the FunctionInfo data back into
203 /// extract the FunctionInfo data's offset from the AddrInfoOffsets array.
235 /// extract the FunctionInfo data's offset from the AddrInfoOffsets array.
239 /// Given an address index, get the offset for the FunctionInfo.
243 /// FunctionInfo data that we will decode using this function.
246 /// \returns An optional GSYM data offset for the offset of the FunctionInfo
[all...]
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompactUnwindInfo.h80 struct FunctionInfo { struct in class:lldb_private::CompactUnwindInfo
90 FunctionInfo() function in struct:lldb_private::CompactUnwindInfo::FunctionInfo
110 FunctionInfo &unwind_info);
128 bool CreateUnwindPlan_x86_64(Target &target, FunctionInfo &function_info,
132 bool CreateUnwindPlan_i386(Target &target, FunctionInfo &function_info,
136 bool CreateUnwindPlan_arm64(Target &target, FunctionInfo &function_info,
140 bool CreateUnwindPlan_armv7(Target &target, FunctionInfo &function_info,
H A DFunction.h24 /// \class FunctionInfo Function.h "lldb/Symbol/Function.h"
29 class FunctionInfo { class in namespace:lldb_private
42 FunctionInfo(const char *name, const Declaration *decl_ptr);
54 FunctionInfo(ConstString name, const Declaration *decl_ptr);
59 virtual ~FunctionInfo();
67 /// The Left Hand Side const FunctionInfo object reference.
70 /// The Right Hand Side const FunctionInfo object reference.
76 static int Compare(const FunctionInfo &lhs, const FunctionInfo &rhs);
124 class InlineFunctionInfo : public FunctionInfo {
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFLAndersAliasAnalysis.h41 class FunctionInfo;
70 const Optional<FunctionInfo> &ensureCached(const Function &);
76 FunctionInfo buildInfoFrom(const Function &);
85 DenseMap<const Function *, Optional<FunctionInfo>> Cache;
H A DCFLSteensAliasAnalysis.h42 class FunctionInfo;
65 const Optional<FunctionInfo> &ensureCached(Function *Fn);
101 DenseMap<Function *, Optional<FunctionInfo>> Cache;
104 FunctionInfo buildSetsFrom(Function *F);
H A DStackSafetyAnalysis.h24 struct FunctionInfo;
27 std::unique_ptr<FunctionInfo> Info;
31 StackSafetyInfo(FunctionInfo &&Info);
H A DGlobalsModRef.h34 class FunctionInfo;
54 DenseMap<const Function *, FunctionInfo> FunctionInfos;
112 FunctionInfo *getFunctionInfo(const Function *F);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h129 struct FunctionInfo { struct in class:llvm::CodeViewDebug
130 FunctionInfo() = default;
133 FunctionInfo(const FunctionInfo &FI) = delete;
187 FunctionInfo *CurFn = nullptr;
191 // collectLexicalBlocks() separates the variables between the FunctionInfo
231 const FunctionInfo &FI,
236 MapVector<const Function *, std::unique_ptr<FunctionInfo>> FnDebugInfo;
306 FunctionInfo &FI,
309 void emitDebugInfoForFunction(const Function *GV, FunctionInfo
[all...]
H A DCodeViewDebug.cpp883 void CodeViewDebug::emitInlinedCallSite(const FunctionInfo &FI,
944 FunctionInfo &FI,
983 FunctionInfo &FI) {
1333 auto Insertion = FnDebugInfo.insert({&GV, std::make_unique<FunctionInfo>()});
1489 // and then make LocalUDTs a member of FunctionInfo
2594 void CodeViewDebug::emitLocalVariableList(const FunctionInfo &FI,
2613 void CodeViewDebug::emitLocalVariable(const FunctionInfo &FI,
2696 const FunctionInfo& FI) {
2704 const FunctionInfo& FI) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp147 struct StackSafetyInfo::FunctionInfo { struct in class:StackSafetyInfo
159 FunctionInfo(const StackSafetyInfo &SSI) : FunctionInfo(*SSI.Info) {} function in struct:StackSafetyInfo::FunctionInfo
161 explicit FunctionInfo(const Function *F) : GV(F){}; function in struct:StackSafetyInfo::FunctionInfo
162 // Creates FunctionInfo that forwards all the parameters to the aliasee.
163 explicit FunctionInfo(const GlobalAlias *A);
165 FunctionInfo(FunctionInfo &&) = default;
187 FunctionInfo(const FunctionInfo
190 StackSafetyInfo::FunctionInfo::FunctionInfo(const GlobalAlias *A) : GV(A) { function in class:StackSafetyInfo::FunctionInfo
[all...]
H A DCFLSteensAliasAnalysis.cpp72 class CFLSteensAAResult::FunctionInfo { class in class:CFLSteensAAResult
77 FunctionInfo(Function &Fn, const SmallVectorImpl<Value *> &RetVals,
116 CFLSteensAAResult::FunctionInfo::FunctionInfo( function in class:CFLSteensAAResult::FunctionInfo
185 CFLSteensAAResult::FunctionInfo CFLSteensAAResult::buildSetsFrom(Function *Fn) {
224 return FunctionInfo(*Fn, GraphBuilder.getReturnValues(), SetBuilder.build());
228 auto InsertPair = Cache.insert(std::make_pair(Fn, Optional<FunctionInfo>()));
246 const Optional<CFLSteensAAResult::FunctionInfo> &
H A DGlobalsModRef.cpp62 class GlobalsAAResult::FunctionInfo { class in class:GlobalsAAResult
89 /// FunctionInfo.getModRefInfo() masks out everything except ModRef so
103 FunctionInfo() : Info() {} function in class:GlobalsAAResult::FunctionInfo
104 ~FunctionInfo() {
110 FunctionInfo(const FunctionInfo &Arg) function in class:GlobalsAAResult::FunctionInfo
115 FunctionInfo(FunctionInfo &&Arg) function in class:GlobalsAAResult::FunctionInfo
119 FunctionInfo &operator=(const FunctionInfo
[all...]
H A DCFLAndersAliasAnalysis.cpp323 class CFLAndersAAResult::FunctionInfo { class in class:CFLAndersAAResult
339 FunctionInfo(const Function &, const SmallVectorImpl<Value *> &,
501 CFLAndersAAResult::FunctionInfo::FunctionInfo( function in class:CFLAndersAAResult::FunctionInfo
511 CFLAndersAAResult::FunctionInfo::getAttrs(const Value *V) const {
520 bool CFLAndersAAResult::FunctionInfo::mayAlias(
782 CFLAndersAAResult::FunctionInfo
808 return FunctionInfo(Fn, GraphBuilder.getReturnValues(), ReachSet,
813 auto InsertPair = Cache.insert(std::make_pair(&Fn, Optional<FunctionInfo>()));
828 const Optional<CFLAndersAAResult::FunctionInfo>
[all...]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Symbol/
H A DFunction.cpp27 // Basic function information is contained in the FunctionInfo class. It is
29 FunctionInfo::FunctionInfo(const char *name, const Declaration *decl_ptr) function in class:FunctionInfo
32 FunctionInfo::FunctionInfo(ConstString name, const Declaration *decl_ptr) function in class:FunctionInfo
35 FunctionInfo::~FunctionInfo() {}
37 void FunctionInfo::Dump(Stream *s, bool show_fullpaths) const {
43 int FunctionInfo::Compare(const FunctionInfo
[all...]
H A DCompactUnwindInfo.cpp177 FunctionInfo function_info;
492 Target &target, Address address, FunctionInfo &unwind_info) {
735 FunctionInfo &function_info,
1007 FunctionInfo &function_info,
1304 FunctionInfo &function_info,
1438 FunctionInfo &function_info,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp1 //===- FunctionInfo.cpp ---------------------------------------------------===//
9 #include "llvm/DebugInfo/GSYM/FunctionInfo.h"
19 /// FunctionInfo information type that is used to encode the optional data
20 /// that is associated with a FunctionInfo object.
27 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const FunctionInfo &FI) {
33 llvm::Expected<FunctionInfo> FunctionInfo::decode(DataExtractor &Data,
35 FunctionInfo FI;
40 "0x%8.8" PRIx64 ": missing FunctionInfo Size", Offset);
44 "0x%8.8" PRIx64 ": missing FunctionInfo Nam
[all...]
H A DGsymCreator.cpp205 // FunctionInfo entries match exactly (range, lines, inlines)
254 void GsymCreator::addFunctionInfo(FunctionInfo &&FI) {
260 std::function<bool(FunctionInfo &)> const &Callback) {
269 std::function<bool(const FunctionInfo &)> const &Callback) const {
H A DGsymReader.cpp244 llvm::Expected<FunctionInfo> GsymReader::getFunctionInfo(uint64_t Addr) const {
253 auto ExpectedFI = FunctionInfo::decode(Data, *OptAddr);
275 return FunctionInfo::lookup(Data, *this, *OptAddr, Addr);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DStackMaps.h242 struct FunctionInfo { struct in class:llvm::StackMaps
246 FunctionInfo() = default;
247 explicit FunctionInfo(uint64_t StackSize) : StackSize(StackSize) {} function in struct:llvm::StackMaps::FunctionInfo
263 using FnInfoMap = MapVector<const MCSymbol *, FunctionInfo>;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackMaps.cpp359 FnInfos.insert(std::make_pair(AP.CurrentFnSym, FunctionInfo(FrameSize)));
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-forward.h109 class FunctionInfo;

Completed in 233 milliseconds