Home
last modified time | relevance | path

Searched refs:SymbolInfo (Results 1 – 25 of 135) sorted by relevance

123456

/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/
DIncludeFixerTest.cpp20 using find_all_symbols::SymbolInfo;
57 {SymbolInfo("string", SymbolInfo::SymbolKind::Class, "<string>", in runIncludeFixer()
58 {{SymbolInfo::ContextType::Namespace, "std"}}), in runIncludeFixer()
59 SymbolInfo::Signals{}}, in runIncludeFixer()
60 {SymbolInfo("sting", SymbolInfo::SymbolKind::Class, "\"sting\"", in runIncludeFixer()
61 {{SymbolInfo::ContextType::Namespace, "std"}}), in runIncludeFixer()
62 SymbolInfo::Signals{}}, in runIncludeFixer()
63 {SymbolInfo("foo", SymbolInfo::SymbolKind::Class, in runIncludeFixer()
65 {{SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer()
66 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer()
[all …]
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/
DFindAllSymbolsTests.cpp39 const SymbolInfo::SignalMap &NewSymbols) override { in reportSymbols()
44 int seen(const SymbolInfo &Symbol) const { in seen()
49 int used(const SymbolInfo &Symbol) const { in used()
55 SymbolInfo::SignalMap Symbols;
60 int seen(const SymbolInfo &Symbol) { return Reporter.seen(Symbol); } in seen()
62 int used(const SymbolInfo &Symbol) { return Reporter.used(Symbol); } in used()
85 SymbolInfo InternalSymbol("Internal", SymbolInfo::SymbolKind::Class, in runFindAllSymbols()
87 SymbolInfo IncSymbol("IncHeaderClass", SymbolInfo::SymbolKind::Class, in runFindAllSymbols()
119 SymbolInfo DirtyMacro("INTERNAL", SymbolInfo::SymbolKind::Macro, in runFindAllSymbols()
121 SymbolInfo DirtySymbol("ExtraInternal", SymbolInfo::SymbolKind::Class, in runFindAllSymbols()
[all …]
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DSymbolInfo.cpp18 using ContextType = clang::find_all_symbols::SymbolInfo::ContextType;
19 using clang::find_all_symbols::SymbolInfo;
21 using SymbolKind = clang::find_all_symbols::SymbolInfo::SymbolKind;
24 LLVM_YAML_IS_SEQUENCE_VECTOR(SymbolInfo::Context)
60 template <> struct MappingTraits<SymbolInfo::Context> {
61 static void mapping(IO &io, SymbolInfo::Context &Context) { in mapping()
73 SymbolInfo::SymbolInfo(llvm::StringRef Name, SymbolKind Type, in SymbolInfo() function in clang::find_all_symbols::SymbolInfo
78 bool SymbolInfo::operator==(const SymbolInfo &Symbol) const { in operator ==()
83 bool SymbolInfo::operator<(const SymbolInfo &Symbol) const { in operator <()
88 std::string SymbolInfo::getQualifiedName() const { in getQualifiedName()
[all …]
DSymbolInfo.h27 class SymbolInfo {
68 using SignalMap = std::map<SymbolInfo, Signals>;
72 SymbolInfo() : Type(SymbolKind::Unknown) {} in SymbolInfo() function
74 SymbolInfo(llvm::StringRef Name, SymbolKind Type, llvm::StringRef FilePath,
92 const std::vector<SymbolInfo::Context> &getContexts() const { in getContexts()
96 bool operator<(const SymbolInfo &Symbol) const;
98 bool operator==(const SymbolInfo &Symbol) const;
127 SymbolInfo Symbol;
128 SymbolInfo::Signals Signals;
134 const SymbolInfo::SignalMap &Symbols);
DFindAllSymbols.cpp46 std::vector<SymbolInfo::Context> GetContexts(const NamedDecl *ND) { in GetContexts()
47 std::vector<SymbolInfo::Context> Contexts; in GetContexts()
58 Contexts.emplace_back(SymbolInfo::ContextType::Namespace, in GetContexts()
61 Contexts.emplace_back(SymbolInfo::ContextType::EnumDecl, in GetContexts()
65 Contexts.emplace_back(SymbolInfo::ContextType::Record, in GetContexts()
72 llvm::Optional<SymbolInfo>
75 SymbolInfo::SymbolKind Type; in CreateSymbolInfo()
77 Type = SymbolInfo::SymbolKind::Variable; in CreateSymbolInfo()
79 Type = SymbolInfo::SymbolKind::Function; in CreateSymbolInfo()
81 Type = SymbolInfo::SymbolKind::TypedefName; in CreateSymbolInfo()
[all …]
/external/llvm-project/mlir/include/mlir/TableGen/
DPattern.h227 class SymbolInfo {
249 SymbolInfo(const Operator *op, Kind kind, Optional<int> index);
252 static SymbolInfo getAttr(const Operator *op, int index) { in getAttr()
253 return SymbolInfo(op, Kind::Attr, index); in getAttr()
255 static SymbolInfo getAttr() { in getAttr()
256 return SymbolInfo(nullptr, Kind::Attr, llvm::None); in getAttr()
258 static SymbolInfo getOperand(const Operator *op, int index) { in getOperand()
259 return SymbolInfo(op, Kind::Operand, index); in getOperand()
261 static SymbolInfo getResult(const Operator *op) { in getResult()
262 return SymbolInfo(op, Kind::Result, llvm::None); in getResult()
[all …]
/external/llvm-project/llvm/tools/llvm-objdump/
DXCOFFDump.cpp67 std::string objdump::getXCOFFSymbolDescription(const SymbolInfoTy &SymbolInfo, in getXCOFFSymbolDescription() argument
69 assert(SymbolInfo.isXCOFF() && "Must be a XCOFFSymInfo."); in getXCOFFSymbolDescription()
73 if (SymbolInfo.XCOFFSymInfo.Index) in getXCOFFSymbolDescription()
74 Result = ("(idx: " + Twine(SymbolInfo.XCOFFSymInfo.Index.getValue()) + in getXCOFFSymbolDescription()
80 if (SymbolInfo.XCOFFSymInfo.StorageMappingClass && in getXCOFFSymbolDescription()
81 !SymbolInfo.XCOFFSymInfo.IsLabel) { in getXCOFFSymbolDescription()
83 SymbolInfo.XCOFFSymInfo.StorageMappingClass.getValue(); in getXCOFFSymbolDescription()
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DSymbolIndexManager.cpp21 using find_all_symbols::SymbolInfo;
71 std::vector<find_all_symbols::SymbolInfo>
103 const SymbolInfo &Symbol = SymAndSig.Symbol; in search()
115 find_all_symbols::SymbolInfo::ContextType::EnumDecl) { in search()
135 (Symbol.getSymbolKind() == SymbolInfo::SymbolKind::Function || in search()
136 Symbol.getSymbolKind() == SymbolInfo::SymbolKind::Variable || in search()
138 SymbolInfo::SymbolKind::EnumConstantDecl || in search()
139 Symbol.getSymbolKind() == SymbolInfo::SymbolKind::Macro)) in search()
151 std::vector<SymbolInfo> Res; in search()
/external/abseil-cpp/absl/debugging/internal/
Delf_mem_image.h61 struct SymbolInfo { struct
73 const SymbolInfo *operator->() const; argument
74 const SymbolInfo &operator*() const;
81 SymbolInfo info_;
108 int symbol_type, SymbolInfo *info_out) const;
114 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
Dvdso_support.h65 typedef ElfMemImage::SymbolInfo SymbolInfo; typedef
90 int symbol_type, SymbolInfo *info_out) const;
96 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
/external/openscreen/third_party/abseil/src/absl/debugging/internal/
Delf_mem_image.h61 struct SymbolInfo { struct
73 const SymbolInfo *operator->() const; argument
74 const SymbolInfo &operator*() const;
81 SymbolInfo info_;
108 int symbol_type, SymbolInfo *info_out) const;
114 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
Dvdso_support.h65 typedef ElfMemImage::SymbolInfo SymbolInfo; typedef
90 int symbol_type, SymbolInfo *info_out) const;
96 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
/external/angle/third_party/abseil-cpp/absl/debugging/internal/
Delf_mem_image.h61 struct SymbolInfo { struct
73 const SymbolInfo *operator->() const; argument
74 const SymbolInfo &operator*() const;
81 SymbolInfo info_;
108 int symbol_type, SymbolInfo *info_out) const;
114 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
Dvdso_support.h65 typedef ElfMemImage::SymbolInfo SymbolInfo; typedef
90 int symbol_type, SymbolInfo *info_out) const;
96 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/
Delf_mem_image.h61 struct SymbolInfo { struct
73 const SymbolInfo *operator->() const; argument
74 const SymbolInfo &operator*() const;
81 SymbolInfo info_;
108 int symbol_type, SymbolInfo *info_out) const;
114 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
Dvdso_support.h65 typedef ElfMemImage::SymbolInfo SymbolInfo; typedef
90 int symbol_type, SymbolInfo *info_out) const;
96 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/
Delf_mem_image.h61 struct SymbolInfo { struct
73 const SymbolInfo *operator->() const; argument
74 const SymbolInfo &operator*() const;
81 SymbolInfo info_;
108 int symbol_type, SymbolInfo *info_out) const;
114 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
Dvdso_support.h65 typedef ElfMemImage::SymbolInfo SymbolInfo; typedef
90 int symbol_type, SymbolInfo *info_out) const;
96 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/
Delf_mem_image.h61 struct SymbolInfo { struct
73 const SymbolInfo *operator->() const; argument
74 const SymbolInfo &operator*() const;
81 SymbolInfo info_;
108 int symbol_type, SymbolInfo *info_out) const;
114 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
Dvdso_support.h65 typedef ElfMemImage::SymbolInfo SymbolInfo; typedef
90 int symbol_type, SymbolInfo *info_out) const;
96 bool LookupSymbolByAddress(const void *address, SymbolInfo *info_out) const;
/external/llvm-project/clang-tools-extra/clang-doc/
DRepresentation.h304 struct SymbolInfo : public Info { struct
305 SymbolInfo(InfoType IT) : Info(IT) {} in SymbolInfo() argument
306 SymbolInfo(InfoType IT, SymbolID USR) : Info(IT, USR) {} in SymbolInfo() function
307 SymbolInfo(InfoType IT, SymbolID USR, StringRef Name) : Info(IT, USR, Name) {} in SymbolInfo() argument
308 SymbolInfo(InfoType IT, SymbolID USR, StringRef Name, StringRef Path) in SymbolInfo() function
311 void merge(SymbolInfo &&I);
319 struct FunctionInfo : public SymbolInfo { argument
320 FunctionInfo() : SymbolInfo(InfoType::IT_function) {} in FunctionInfo()
321 FunctionInfo(SymbolID USR) : SymbolInfo(InfoType::IT_function, USR) {} in FunctionInfo()
339 struct RecordInfo : public SymbolInfo {
[all …]
/external/llvm/include/llvm/ExecutionEngine/
DRTDyldMemoryManager.h101 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) override { in findSymbol()
102 return RuntimeDyld::SymbolInfo(getSymbolAddress(Name), in findSymbol()
124 RuntimeDyld::SymbolInfo
126 return RuntimeDyld::SymbolInfo(getSymbolAddressInLogicalDylib(Name), in findSymbolInLogicalDylib()
DRuntimeDyld.h64 class SymbolInfo : public JITSymbolBase {
66 SymbolInfo(std::nullptr_t) : JITSymbolBase(JITSymbolFlags::None), Address(0) {} in SymbolInfo() function
67 SymbolInfo(uint64_t Address, JITSymbolFlags Flags) in SymbolInfo() function
209 virtual SymbolInfo findSymbolInLogicalDylib(const std::string &Name) = 0;
217 virtual SymbolInfo findSymbol(const std::string &Name) = 0;
238 SymbolInfo getSymbol(StringRef Name) const;
/external/llvm-project/mlir/lib/TableGen/
DPattern.cpp195 SymbolInfoMap::SymbolInfo::SymbolInfo(const Operator *op, SymbolInfo::Kind kind, in SymbolInfo() function in SymbolInfoMap::SymbolInfo
199 int SymbolInfoMap::SymbolInfo::getStaticValueCount() const { in getStaticValueCount()
211 std::string SymbolInfoMap::SymbolInfo::getVarName(StringRef name) const { in getVarName()
215 std::string SymbolInfoMap::SymbolInfo::getVarDecl(StringRef name) const { in getVarDecl()
245 std::string SymbolInfoMap::SymbolInfo::getValueAndRangeUse( in getValueAndRangeUse()
316 std::string SymbolInfoMap::SymbolInfo::getAllRangeUse( in getAllRangeUse()
368 ? SymbolInfo::getAttr(&op, argIndex) in bindOpArgument()
369 : SymbolInfo::getOperand(&op, argIndex); in bindOpArgument()
374 if (symInfo.kind != SymbolInfo::Kind::Operand) { in bindOpArgument()
380 if (symbolInfoMap.find(key)->second.kind != SymbolInfo::Kind::Operand) { in bindOpArgument()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DJITSymbol.h57 JITSymbol(const RuntimeDyld::SymbolInfo &Sym) in JITSymbol()
75 RuntimeDyld::SymbolInfo toRuntimeDyldSymbol() { in toRuntimeDyldSymbol()
76 return RuntimeDyld::SymbolInfo(getAddress(), getFlags()); in toRuntimeDyldSymbol()

123456