Home
last modified time | relevance | path

Searched refs:Symtab (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DIRSymtab.cpp69 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 …]
DIRObjectFile.cpp151 F.Symtab = std::move(FCOrErr->Symtab); in readIRSymtab()
DMachOObjectFile.cpp414 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/
DIRSymtab.h65 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
DIRObjectFile.h80 SmallVector<char, 0> Symtab, Strtab; member
DELF.h287 Elf_Sym_Range Symtab,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp177 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()
DCGProfile.cpp30 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/
DInstrProfReader.h98 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()
DInstrProfWriter.h72 InstrProfSymtab &Symtab, raw_fd_ostream &OS);
DInstrProf.h221 Error readPGOFuncNameStrings(StringRef NameStrings, InstrProfSymtab &Symtab);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp154 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 …]
DInstrProfWriter.cpp400 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()
DInstrProf.cpp436 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/
DStripSymbols.cpp222 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/
DBitcodeReader.h120 StringRef Symtab, StrtabForSymtab; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp3239 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/
DBitcodeReader.cpp6410 if (!F.Symtab.empty() && F.StrtabForSymtab.empty()) in getBitcodeFileContents()
6427 if (F.Symtab.empty()) in getBitcodeFileContents()
6428 F.Symtab = *SymtabOrErr; in getBitcodeFileContents()