Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DIRObjectFile.cpp29 IRObjectFile::IRObjectFile(MemoryBufferRef Object, in IRObjectFile() function in IRObjectFile
36 IRObjectFile::~IRObjectFile() {} in ~IRObjectFile()
42 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
46 std::error_code IRObjectFile::printSymbolName(raw_ostream &OS, in printSymbolName()
52 uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
56 basic_symbol_iterator IRObjectFile::symbol_begin() const { in symbol_begin()
62 basic_symbol_iterator IRObjectFile::symbol_end() const { in symbol_end()
69 StringRef IRObjectFile::getTargetTriple() const { in getTargetTriple()
76 IRObjectFile::findBitcodeInObject(const ObjectFile &Obj) { in findBitcodeInObject()
90 IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer()
[all …]
DSymbolicFile.cpp48 return IRObjectFile::create(Object, *Context); in createSymbolicFile()
85 IRObjectFile::findBitcodeInObject(*Obj->get()); in createSymbolicFile()
91 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DIRObjectFile.h32 class IRObjectFile : public SymbolicFile {
35 IRObjectFile(MemoryBufferRef Object,
39 ~IRObjectFile() override;
74 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/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-7.0/llvm/lib/LTO/
DLTOModule.cpp57 Expected<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
68 Expected<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
85 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in isBitcodeForTarget()
98 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in getProducerString()
173 IRObjectFile::findBitcodeInMemBuffer(Buffer); in parseBitcodeFileImpl()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-nm/
Dllvm-nm.cpp302 if (auto *IRObj = dyn_cast<IRObjectFile>(&Obj)) in isSymbolList64Bit()
317 static char getSymbolNMTypeChar(IRObjectFile &Obj, basic_symbol_iterator I);
1045 static char getSymbolNMTypeChar(IRObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar()
1080 else if (IRObjectFile *IR = dyn_cast<IRObjectFile>(&Obj)) in getNMTypeChar()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp716 raw_fd_ostream IRObjectFile(IRCacheFile.c_str(), ErrStr, raw_fd_ostream::F_Binary); in notifyObjectCompiled() local
717 IRObjectFile << Obj->getBuffer(); in notifyObjectCompiled()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy.cpp697 raw_fd_ostream IRObjectFile(IRCacheFile.c_str(), ErrStr, raw_fd_ostream::F_Binary); in notifyObjectCompiled() local
698 IRObjectFile << Obj->getBuffer(); in notifyObjectCompiled()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp716 raw_fd_ostream IRObjectFile(IRCacheFile.c_str(), ErrStr, raw_fd_ostream::F_Binary); in notifyObjectCompiled() local
717 IRObjectFile << Obj->getBuffer(); in notifyObjectCompiled()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy.cpp697 raw_fd_ostream IRObjectFile(IRCacheFile.c_str(), ErrStr, raw_fd_ostream::F_Binary); in notifyObjectCompiled() local
698 IRObjectFile << Obj->getBuffer(); in notifyObjectCompiled()
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp509 object::IRObjectFile::CollectAsmUndefinedRefs( in thinLTOInternalizeModule()
/external/swiftshader/third_party/llvm-7.0/
DAndroid.mk539 llvm/lib/Object/IRObjectFile.cpp \
DBUILD.gn363 "llvm/lib/Object/IRObjectFile.cpp",
/external/swiftshader/
DCMakeLists.txt1205 ${LLVM_DIR}/lib/Object/IRObjectFile.cpp