Home
last modified time | relevance | path

Searched refs:IRObjectFile (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/llvm/lib/Object/
DIRObjectFile.cpp28 IRObjectFile::IRObjectFile(MemoryBufferRef Object, in IRObjectFile() function in IRObjectFile
35 IRObjectFile::~IRObjectFile() {} in ~IRObjectFile()
41 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
45 Error IRObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
50 Expected<uint32_t> IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
54 basic_symbol_iterator IRObjectFile::symbol_begin() const { in symbol_begin()
60 basic_symbol_iterator IRObjectFile::symbol_end() const { in symbol_end()
67 StringRef IRObjectFile::getTargetTriple() const { in getTargetTriple()
74 IRObjectFile::findBitcodeInObject(const ObjectFile &Obj) { in findBitcodeInObject()
90 IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer()
[all …]
DSymbolicFile.cpp51 return IRObjectFile::create(Object, *Context); in createSymbolicFile()
82 IRObjectFile::findBitcodeInObject(*Obj->get()); in createSymbolicFile()
88 return IRObjectFile::create( in createSymbolicFile()
DMachOUniversalWriter.cpp89 Slice::Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, in Slice()
116 std::unique_ptr<IRObjectFile> IRFO = nullptr; in create()
157 IRObjectFile *O = cast<IRObjectFile>(Bin); in create()
223 Expected<Slice> Slice::create(const IRObjectFile &IRO, uint32_t Align) { in create()
DMachOUniversal.cpp84 Expected<std::unique_ptr<IRObjectFile>>
100 return IRObjectFile::create(ObjBuffer, Ctx); in getAsIRObject()
257 Expected<std::unique_ptr<IRObjectFile>>
DCMakeLists.txt12 IRObjectFile.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DIRObjectFile.cpp28 IRObjectFile::IRObjectFile(MemoryBufferRef Object, in IRObjectFile() function in IRObjectFile
35 IRObjectFile::~IRObjectFile() {} in ~IRObjectFile()
41 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
45 Error IRObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
50 uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
54 basic_symbol_iterator IRObjectFile::symbol_begin() const { in symbol_begin()
60 basic_symbol_iterator IRObjectFile::symbol_end() const { in symbol_end()
67 StringRef IRObjectFile::getTargetTriple() const { in getTargetTriple()
74 IRObjectFile::findBitcodeInObject(const ObjectFile &Obj) { in findBitcodeInObject()
90 IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer()
[all …]
DSymbolicFile.cpp47 return IRObjectFile::create(Object, *Context); in createSymbolicFile()
88 IRObjectFile::findBitcodeInObject(*Obj->get()); in createSymbolicFile()
94 return IRObjectFile::create( in createSymbolicFile()
DCMakeLists.txt12 IRObjectFile.cpp
/external/llvm/lib/Object/
DIRObjectFile.cpp38 IRObjectFile::IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> Mod) in IRObjectFile() function in IRObjectFile
49 void IRObjectFile::CollectAsmUndefinedRefs( in CollectAsmUndefinedRefs()
125 IRObjectFile::~IRObjectFile() { in ~IRObjectFile()
163 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
200 std::error_code IRObjectFile::printSymbolName(raw_ostream &OS, in printSymbolName()
221 uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
259 GlobalValue *IRObjectFile::getSymbolGV(DataRefImpl Symb) { return getGV(Symb); } in getSymbolGV()
261 std::unique_ptr<Module> IRObjectFile::takeModule() { return std::move(M); } in takeModule()
263 basic_symbol_iterator IRObjectFile::symbol_begin_impl() const { in symbol_begin_impl()
270 basic_symbol_iterator IRObjectFile::symbol_end_impl() const { in symbol_end_impl()
[all …]
DSymbolicFile.cpp38 return errorOrToExpected(IRObjectFile::create(Object, *Context)); in createSymbolicFile()
72 IRObjectFile::findBitcodeInObject(*Obj->get()); in createSymbolicFile()
76 return errorOrToExpected(IRObjectFile::create( in createSymbolicFile()
DCMakeLists.txt9 IRObjectFile.cpp
/external/llvm/include/llvm/Object/
DIRObjectFile.h28 class IRObjectFile : public SymbolicFile {
34 IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> M);
35 ~IRObjectFile() override;
42 return const_cast<IRObjectFile *>(this)->getSymbolGV(Symb); in getSymbolGV()
48 return const_cast<IRObjectFile*>(this)->getModule(); in getModule()
78 static ErrorOr<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object,
/external/llvm-project/llvm/include/llvm/Object/
DIRObjectFile.h31 class IRObjectFile : public SymbolicFile {
34 IRObjectFile(MemoryBufferRef Object,
38 ~IRObjectFile() override;
72 static Expected<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object,
DMachOUniversalWriter.h25 class IRObjectFile; variable
38 Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType,
55 static Expected<Slice> create(const IRObjectFile &IRO, uint32_t Align);
DMachOUniversal.h29 class IRObjectFile; variable
107 Expected<std::unique_ptr<IRObjectFile>>
162 Expected<std::unique_ptr<IRObjectFile>>
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DIRObjectFile.h31 class IRObjectFile : public SymbolicFile {
34 IRObjectFile(MemoryBufferRef Object,
38 ~IRObjectFile() override;
72 static Expected<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object,
/external/llvm/lib/LTO/
DLTOModule.cpp52 LTOModule::LTOModule(std::unique_ptr<object::IRObjectFile> Obj, in LTOModule()
61 ErrorOr<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
72 ErrorOr<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
92 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in isBitcodeForTarget()
102 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in getProducerString()
174 IRObjectFile::findBitcodeInMemBuffer(Buffer); in parseBitcodeFileImpl()
237 std::unique_ptr<object::IRObjectFile> IRObj( in makeLTOModule()
238 new object::IRObjectFile(Buffer, std::move(M))); in makeLTOModule()
/external/llvm/include/llvm/LTO/legacy/
DLTOModule.h50 std::unique_ptr<object::IRObjectFile> IRFile;
59 LTOModule(std::unique_ptr<object::IRObjectFile> Obj, TargetMachine *TM);
/external/llvm-project/llvm/tools/llvm-lipo/
Dllvm-lipo.cpp128 static Slice createSliceFromIR(const IRObjectFile &IRO, unsigned Align) { in createSliceFromIR()
335 : createSliceFromIR(*cast<IRObjectFile>(B), 0); in readInputBinaries()
395 Expected<std::unique_ptr<IRObjectFile>> IROrError = in printBinaryArchs()
428 const auto *IR = cast<IRObjectFile>(Binary); in printBinaryArchs()
483 Expected<std::unique_ptr<IRObjectFile>> IRObj = in thinSlice()
572 Expected<std::unique_ptr<IRObjectFile>> IROrError = in buildSlices()
587 } else if (const auto *IRO = dyn_cast<IRObjectFile>(InputBinary)) { in buildSlices()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp267 if (isa<IRObjectFile>(Obj)) { in isSymbolList64Bit()
268 IRObjectFile *IRobj = dyn_cast<IRObjectFile>(&Obj); in isSymbolList64Bit()
286 static char getSymbolNMTypeChar(IRObjectFile &Obj, basic_symbol_iterator I);
322 IRObjectFile *IRobj = dyn_cast<IRObjectFile>(&Obj); in darwinPrintSymbol()
885 static char getSymbolNMTypeChar(IRObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar()
912 else if (IRObjectFile *IR = dyn_cast<IRObjectFile>(&Obj)) { in getNMTypeChar()
998 if (IRObjectFile *IR = dyn_cast<IRObjectFile>(&Obj)) { in dumpSymbolNamesFromObject()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOModule.cpp56 Expected<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
67 Expected<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
84 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in isBitcodeForTarget()
97 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in getProducerString()
173 IRObjectFile::findBitcodeInMemBuffer(Buffer); in parseBitcodeFileImpl()
/external/llvm-project/llvm/lib/LTO/
DLTOModule.cpp58 Expected<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
69 Expected<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
86 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in isBitcodeForTarget()
99 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in getProducerString()
175 IRObjectFile::findBitcodeInMemBuffer(Buffer); in parseBitcodeFileImpl()
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/Object/
DBUILD.gn26 "IRObjectFile.cpp",
/external/llvm-project/llvm/tools/llvm-libtool-darwin/
Dllvm-libtool-darwin.cpp262 Expected<std::unique_ptr<object::IRObjectFile>> IROrErr = in verifyAndAddIRObject()
263 object::IRObjectFile::create(MBRef, LLVMCtx); in verifyAndAddIRObject()
364 Expected<std::unique_ptr<IRObjectFile>> IRObjectOrError = in addUniversalMembers()
/external/llvm/tools/gold/
Dgold-plugin.cpp489 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in claim_file_hook()
490 object::IRObjectFile::create(BufferRef, Context); in claim_file_hook()
503 std::unique_ptr<object::IRObjectFile> Obj = std::move(*ObjOrErr); in claim_file_hook()
695 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in getModuleForFile()
696 object::IRObjectFile::create(BufferRef, Context); in getModuleForFile()
702 object::IRObjectFile &Obj = **ObjOrErr; in getModuleForFile()

12