/external/llvm-project/llvm/lib/MC/MCDisassembler/ |
D | MCDisassembler.cpp | 82 bool XCOFFSymbolInfo::operator<(const XCOFFSymbolInfo &SymInfo) const { in operator <() 84 if (IsLabel != SymInfo.IsLabel) in operator <() 85 return SymInfo.IsLabel; in operator <() 88 if (StorageMappingClass.hasValue() != SymInfo.StorageMappingClass.hasValue()) in operator <() 89 return SymInfo.StorageMappingClass.hasValue(); in operator <() 93 getSMCPriority(SymInfo.StorageMappingClass.getValue()); in operator <()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceELFSection.h | 335 const Elf64_Sym &SymInfo = KeyValue.second.Sym; in writeSymbolMap() local 336 Str.writeELFWord<IsELF64>(SymInfo.st_name); in writeSymbolMap() 337 Str.write8(SymInfo.st_info); in writeSymbolMap() 338 Str.write8(SymInfo.st_other); in writeSymbolMap() 339 Str.writeLE16(SymInfo.st_shndx); in writeSymbolMap() 340 Str.writeAddrOrOffset<IsELF64>(SymInfo.st_value); in writeSymbolMap() 341 Str.writeELFXword<IsELF64>(SymInfo.st_size); in writeSymbolMap() 345 const Elf64_Sym &SymInfo = KeyValue.second.Sym; in writeSymbolMap() local 346 Str.writeELFWord<IsELF64>(SymInfo.st_name); in writeSymbolMap() 347 Str.writeAddrOrOffset<IsELF64>(SymInfo.st_value); in writeSymbolMap() [all …]
|
D | IceELFSection.cpp | 160 Elf64_Sym &SymInfo = KeyValue.second.Sym; in updateIndices() local 162 SymInfo.st_name = StrTab->getIndex(Name.toString()); in updateIndices() 163 SymInfo.st_shndx = Section->getNumber(); in updateIndices() 169 Elf64_Sym &SymInfo = KeyValue.second.Sym; in updateIndices() local 171 SymInfo.st_name = StrTab->getIndex(Name); in updateIndices() 172 SymInfo.st_shndx = Section->getNumber(); in updateIndices()
|
/external/clang/tools/c-index-test/ |
D | core_main.cpp | 56 static void printSymbolInfo(SymbolInfo SymInfo, raw_ostream &OS); 169 static void printSymbolInfo(SymbolInfo SymInfo, raw_ostream &OS) { in printSymbolInfo() argument 170 OS << getSymbolKindString(SymInfo.Kind); in printSymbolInfo() 171 if (SymInfo.SubKinds) { in printSymbolInfo() 173 printSymbolSubKinds(SymInfo.SubKinds, OS); in printSymbolInfo() 176 OS << '/' << getSymbolLanguageString(SymInfo.Lang); in printSymbolInfo()
|
/external/llvm-project/clang/tools/c-index-test/ |
D | core_main.cpp | 73 static void printSymbolInfo(SymbolInfo SymInfo, raw_ostream &OS); 284 static void printSymbolInfo(SymbolInfo SymInfo, raw_ostream &OS) { in printSymbolInfo() argument 285 OS << getSymbolKindString(SymInfo.Kind); in printSymbolInfo() 286 if (SymInfo.SubKind != SymbolSubKind::None) in printSymbolInfo() 287 OS << '/' << getSymbolSubKindString(SymInfo.SubKind); in printSymbolInfo() 288 if (SymInfo.Properties) { in printSymbolInfo() 290 printSymbolProperties(SymInfo.Properties, OS); in printSymbolInfo() 293 OS << '/' << getSymbolLanguageString(SymInfo.Lang); in printSymbolInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 738 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolLocalAddr() local 739 if (!SymInfo) { in getSymbolLocalAddr() 740 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in getSymbolLocalAddr() 744 if (SymInfo->isZeroFill()) in getSymbolLocalAddr() 748 reinterpret_cast<uintptr_t>(SymInfo->getContent().data())); in getSymbolLocalAddr() 752 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolRemoteAddr() local 753 if (!SymInfo) { in getSymbolRemoteAddr() 754 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in getSymbolRemoteAddr() 758 return SymInfo->getTargetAddress(); in getSymbolRemoteAddr() 781 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolContent() local [all …]
|
D | RuntimeDyldImpl.h | 498 const auto &SymInfo = pos->second; in getSymbolLocalAddress() local 500 if (SymInfo.getSectionID() == AbsoluteSymbolSection) in getSymbolLocalAddress() 502 return getSectionAddress(SymInfo.getSectionID()) + SymInfo.getOffset(); in getSymbolLocalAddress()
|
D | RuntimeDyldMachO.cpp | 118 const auto &SymInfo = SI->second; in getRelocationValueRef() local 119 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef() 120 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef()
|
D | RuntimeDyld.cpp | 925 const auto &SymInfo = Loc->second; in addRelocationForSymbol() local 926 RECopy.Addend += SymInfo.getOffset(); in addRelocationForSymbol() 927 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol() 1102 const auto &SymInfo = Loc->second; in applyExternalSymbolRelocations() local 1103 Addr = getSectionLoadAddress(SymInfo.getSectionID()) + in applyExternalSymbolRelocations() 1104 SymInfo.getOffset(); in applyExternalSymbolRelocations() 1105 Flags = SymInfo.getFlags(); in applyExternalSymbolRelocations()
|
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 749 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolLocalAddr() local 750 if (!SymInfo) { in getSymbolLocalAddr() 751 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in getSymbolLocalAddr() 755 if (SymInfo->isZeroFill()) in getSymbolLocalAddr() 759 reinterpret_cast<uintptr_t>(SymInfo->getContent().data())); in getSymbolLocalAddr() 763 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolRemoteAddr() local 764 if (!SymInfo) { in getSymbolRemoteAddr() 765 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in getSymbolRemoteAddr() 769 return SymInfo->getTargetAddress(); in getSymbolRemoteAddr() 792 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolContent() local [all …]
|
D | RuntimeDyldImpl.h | 483 const auto &SymInfo = pos->second; in getSymbolLocalAddress() local 485 if (SymInfo.getSectionID() == AbsoluteSymbolSection) in getSymbolLocalAddress() 487 return getSectionAddress(SymInfo.getSectionID()) + SymInfo.getOffset(); in getSymbolLocalAddress()
|
D | RuntimeDyldMachO.cpp | 118 const auto &SymInfo = SI->second; in getRelocationValueRef() local 119 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef() 120 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef()
|
D | RuntimeDyld.cpp | 941 const auto &SymInfo = Loc->second; in addRelocationForSymbol() local 942 RECopy.Addend += SymInfo.getOffset(); in addRelocationForSymbol() 943 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol() 1118 const auto &SymInfo = Loc->second; in applyExternalSymbolRelocations() local 1119 Addr = getSectionLoadAddress(SymInfo.getSectionID()) + in applyExternalSymbolRelocations() 1120 SymInfo.getOffset(); in applyExternalSymbolRelocations() 1121 Flags = SymInfo.getFlags(); in applyExternalSymbolRelocations()
|
/external/llvm-project/clang/unittests/Index/ |
D | IndexTests.cpp | 60 SymbolInfo SymInfo; member 67 << static_cast<unsigned>(S.SymInfo.Kind) << ')'; in operator <<() 84 S.SymInfo = getSymbolInfo(D); in handleDeclOccurrence() 97 S.SymInfo = getSymbolInfoForMacro(*MI); in handleMacroOccurrence() 153 MATCHER_P(Kind, SymKind, "") { return arg.SymInfo.Kind == SymKind; }
|
/external/llvm-project/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 803 RuntimeDyldChecker::MemoryRegionInfo SymInfo; in linkAndVerify() local 807 SymInfo.setTargetAddress(InternalSymbol.getAddress()); in linkAndVerify() 832 SymInfo.setTargetAddress(I->second.getAddress()); in linkAndVerify() 843 SymInfo.setContent(StringRef(CSymAddr, SymSize)); in linkAndVerify() 846 return SymInfo; in linkAndVerify() 852 auto SymInfo = GetSymbolInfo(Symbol); in linkAndVerify() local 853 if (!SymInfo) { in linkAndVerify() 854 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in linkAndVerify() 857 return SymInfo->getTargetAddress() != 0; in linkAndVerify()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | Merge.cpp | 201 bool IsClass = S.SymInfo.Kind == index::SymbolKind::Class || in mergeSymbol() 202 S.SymInfo.Kind == index::SymbolKind::Struct || in mergeSymbol() 203 S.SymInfo.Kind == index::SymbolKind::Union; in mergeSymbol()
|
D | YAMLSerialization.cpp | 177 static void mapping(IO &io, SymbolInfo &SymInfo) { in mapping() 179 io.mapRequired("Kind", SymInfo.Kind); in mapping() 180 io.mapRequired("Lang", SymInfo.Lang); in mapping() 203 IO.mapRequired("SymInfo", Sym.SymInfo); in mapping()
|
D | Serialization.cpp | 314 OS.write(static_cast<uint8_t>(Sym.SymInfo.Kind)); in writeSymbol() 315 OS.write(static_cast<uint8_t>(Sym.SymInfo.Lang)); in writeSymbol() 342 Sym.SymInfo.Kind = static_cast<index::SymbolKind>(Data.consume8()); in readSymbol() 343 Sym.SymInfo.Lang = static_cast<index::SymbolLanguage>(Data.consume8()); in readSymbol()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldImpl.h | 447 const auto &SymInfo = pos->second; in getSymbolLocalAddress() local 449 if (SymInfo.getSectionID() == AbsoluteSymbolSection) in getSymbolLocalAddress() 451 return getSectionAddress(SymInfo.getSectionID()) + SymInfo.getOffset(); in getSymbolLocalAddress()
|
D | RuntimeDyldChecker.cpp | 856 const auto &SymInfo = pos->second; in getSubsectionStartingAt() local 857 uint8_t *SectionAddr = getRTDyld().getSectionAddress(SymInfo.getSectionID()); in getSubsectionStartingAt() 859 SymInfo.getOffset(), in getSubsectionStartingAt() 860 getRTDyld().Sections[SymInfo.getSectionID()].getSize() - in getSubsectionStartingAt() 861 SymInfo.getOffset()); in getSubsectionStartingAt() 891 const auto &SymInfo = GSTEntry.second; in registerStubMap() local 892 if (SymInfo.getSectionID() == StubMapEntry.first.SectionID && in registerStubMap() 893 SymInfo.getOffset() == in registerStubMap()
|
D | RuntimeDyldMachO.cpp | 116 const auto &SymInfo = SI->second; in getRelocationValueRef() local 117 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef() 118 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef()
|
D | RuntimeDyld.cpp | 788 const auto &SymInfo = Loc->second; in addRelocationForSymbol() local 789 RECopy.Addend += SymInfo.getOffset(); in addRelocationForSymbol() 790 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol() 934 const auto &SymInfo = Loc->second; in resolveExternalSymbols() local 935 Addr = getSectionLoadAddress(SymInfo.getSectionID()) + in resolveExternalSymbols() 936 SymInfo.getOffset(); in resolveExternalSymbols()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | FindSymbols.cpp | 156 Info.kind = indexSymbolKindToSymbolKind(Sym.SymInfo.Kind); in getWorkspaceSymbols() 181 index::SymbolInfo SymInfo = index::getSymbolInfo(&ND); in declToSym() local 184 SymbolKind SK = indexSymbolKindToSymbolKind(SymInfo.Kind); in declToSym()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | IndexTests.cpp | 237 S.SymInfo.Properties = static_cast<index::SymbolPropertySet>( in TEST() 244 S.SymInfo.Properties = static_cast<index::SymbolPropertySet>( in TEST() 420 L.SymInfo.Kind = ClassLikeKind; in TEST() 424 L.SymInfo.Kind = SymbolKind::Function; in TEST()
|
/external/llvm-project/llvm/include/llvm/MC/MCDisassembler/ |
D | MCDisassembler.h | 30 bool operator<(const XCOFFSymbolInfo &SymInfo) const;
|