/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | IRSymtab.cpp | 69 SmallVector<char, 0> &Symtab; member 76 Builder(SmallVector<char, 0> &Symtab, StringTableBuilder &StrtabBuilder, in Builder() 78 : Symtab(Symtab), StrtabBuilder(StrtabBuilder), Saver(Alloc) {} in Builder() 101 R.Offset = Symtab.size(); in writeRange() 103 Symtab.insert(Symtab.end(), reinterpret_cast<const char *>(Objs.data()), in writeRange() 326 Symtab.resize(sizeof(storage::Header)); in build() 332 *reinterpret_cast<storage::Header *>(Symtab.data()) = Hdr; in build() 338 Error irsymtab::build(ArrayRef<Module *> Mods, SmallVector<char, 0> &Symtab, in build() argument 341 return Builder(Symtab, StrtabBuilder, Alloc).build(Mods); in build() 365 if (Error E = build(Mods, FC.Symtab, StrtabBuilder, Alloc)) in upgrade() [all …]
|
D | IRObjectFile.cpp | 151 F.Symtab = std::move(FCOrErr->Symtab); in readIRSymtab()
|
D | MachOObjectFile.cpp | 414 MachO::symtab_command Symtab = SymtabOrErr.get(); in checkSymtabCommand() local 415 if (Symtab.cmdsize != sizeof(MachO::symtab_command)) in checkSymtabCommand() 419 if (Symtab.symoff > FileSize) in checkSymtabCommand() 423 uint64_t SymtabSize = Symtab.nsyms; in checkSymtabCommand() 433 BigSize += Symtab.symoff; in checkSymtabCommand() 439 if (Error Err = checkOverlappingElement(Elements, Symtab.symoff, SymtabSize, in checkSymtabCommand() 442 if (Symtab.stroff > FileSize) in checkSymtabCommand() 446 BigSize = Symtab.stroff; in checkSymtabCommand() 447 BigSize += Symtab.strsize; in checkSymtabCommand() 452 if (Error Err = checkOverlappingElement(Elements, Symtab.stroff, in checkSymtabCommand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | IRSymtab.h | 65 ArrayRef<T> get(StringRef Symtab) const { in get() 66 return {reinterpret_cast<const T *>(Symtab.data() + Offset), Size}; in get() 160 Error build(ArrayRef<Module *> Mods, SmallVector<char, 0> &Symtab, 232 StringRef Symtab, Strtab; variable 243 return R.get(Symtab); in range() 247 return *reinterpret_cast<const storage::Header *>(Symtab.data()); in header() 254 Reader(StringRef Symtab, StringRef Strtab) : Symtab(Symtab), Strtab(Strtab) { in Reader() argument 363 SmallVector<char, 0> Symtab, Strtab; member
|
D | IRObjectFile.h | 80 SmallVector<char, 0> Symtab, Strtab; member
|
D | ELF.h | 287 Elf_Sym_Range Symtab,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | IndirectCallPromotion.cpp | 177 InstrProfSymtab *Symtab; member in __anon7d2ad9120211::ICallPromotionFunc 207 ICallPromotionFunc(Function &Func, Module *Modu, InstrProfSymtab *Symtab, in ICallPromotionFunc() argument 209 : F(Func), M(Modu), Symtab(Symtab), SamplePGO(SamplePGO), ORE(ORE) {} in ICallPromotionFunc() 267 Function *TargetFunction = Symtab->getFunction(Target); in getPromotionCandidatesForCallSite() 388 InstrProfSymtab Symtab; in promoteIndirectCalls() local 389 if (Error E = Symtab.create(M, InLTO)) { in promoteIndirectCalls() 411 ICallPromotionFunc ICallPromotion(F, &M, &Symtab, SamplePGO, *ORE); in promoteIndirectCalls()
|
D | CGProfile.cpp | 30 InstrProfSymtab Symtab; in run() local 39 (void)(bool)Symtab.create(M); in run() 65 UpdateCounts(TTI, &F, Symtab.getFunction(VD.Value), VD.Count); in run()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
D | InstrProfReader.h | 98 std::unique_ptr<InstrProfSymtab> Symtab; 174 assert(Symtab.get()); in getSymtab() 175 return *Symtab.get(); in getSymtab() 228 assert(Symtab.get()); in getSymtab() 229 return *Symtab.get(); in getSymtab() 233 Error createSymtab(InstrProfSymtab &Symtab); 283 return Symtab->getFuncName(swap(NameRef)); in getName() 411 Error populateSymtab(InstrProfSymtab &Symtab) override { in populateSymtab() argument 412 return Symtab.create(HashTable->keys()); in populateSymtab()
|
D | InstrProfWriter.h | 72 InstrProfSymtab &Symtab, raw_fd_ostream &OS);
|
D | InstrProf.h | 221 Error readPGOFuncNameStrings(StringRef NameStrings, InstrProfSymtab &Symtab);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 154 Symtab.reset(new InstrProfSymtab()); in readHeader() 224 if (Error E = Symtab->addFuncName(VD.first)) in readValueProfileData() 257 if (Error E = Symtab->addFuncName(Record.Name)) in readNextRecord() 343 Error RawInstrProfReader<IntPtrT>::createSymtab(InstrProfSymtab &Symtab) { in createSymtab() argument 344 if (Error E = Symtab.create(StringRef(NamesStart, NamesSize))) in createSymtab() 350 Symtab.mapAddress(FPtr, I->NameRef); in createSymtab() 396 Symtab = std::move(NewSymtab); in readHeader() 469 VDataPtrOrErr.get()->deserializeTo(Record, Symtab.get()); in readValueProfilingData() 859 if (Symtab.get()) in getSymtab() 860 return *Symtab.get(); in getSymtab() [all …]
|
D | InstrProfWriter.cpp | 400 InstrProfSymtab &Symtab, in writeRecordInText() argument 428 OS << Symtab.getFuncNameOrExternalSymbol(VD[I].Value) << ":" in writeRecordInText() 444 InstrProfSymtab Symtab; in writeText() local 452 if (Error E = Symtab.addFuncName(I.getKey())) in writeText() 467 writeRecordInText(Name, Func.first, Func.second, Symtab, OS); in writeText()
|
D | InstrProf.cpp | 436 Error readPGOFuncNameStrings(StringRef NameStrings, InstrProfSymtab &Symtab) { in readPGOFuncNameStrings() argument 472 if (Error E = Symtab.addFuncName(Name)) in readPGOFuncNameStrings()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | StripSymbols.cpp | 222 if (auto *Symtab = I.getValueSymbolTable()) in StripSymbolNames() local 223 StripSymtab(*Symtab, PreserveDbgInfo); in StripSymbolNames()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/ |
D | BitcodeReader.h | 120 StringRef Symtab, StrtabForSymtab; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 3239 if (auto *Symtab = F.getValueSymbolTable()) in writeFunction() local 3240 writeFunctionLevelValueSymbolTable(*Symtab); in writeFunction() 4403 SmallVector<char, 0> Symtab; in writeSymtab() local 4408 if (Error E = irsymtab::build(Mods, Symtab, StrtabBuilder, Alloc)) { in writeSymtab() 4414 {Symtab.data(), Symtab.size()}); in writeSymtab()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 6410 if (!F.Symtab.empty() && F.StrtabForSymtab.empty()) in getBitcodeFileContents() 6427 if (F.Symtab.empty()) in getBitcodeFileContents() 6428 F.Symtab = *SymtabOrErr; in getBitcodeFileContents()
|