Searched defs:LTOModule (Results 1 – 6 of 6) sorted by relevance
38 struct LTOModule { struct62 LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef, argument115 const Module &getModule() const { return *Mod; } in getModule()116 Module &getModule() { return *Mod; } in getModule()118 std::unique_ptr<Module> takeModule() { return std::move(Mod); } in takeModule()121 const std::string &getTargetTriple() { in getTargetTriple()126 void setTargetTriple(StringRef Triple) { in setTargetTriple()131 uint32_t getSymbolCount() { in getSymbolCount()136 lto_symbol_attributes getSymbolAttributes(uint32_t index) { in getSymbolAttributes()143 StringRef getSymbolName(uint32_t index) { in getSymbolName()[all …]
37 struct LTOModule { struct59 LTOModule(std::unique_ptr<object::IRObjectFile> Obj, TargetMachine *TM); argument112 return const_cast<LTOModule*>(this)->getModule(); in getModule() argument114 Module &getModule() { in getModule()118 std::unique_ptr<Module> takeModule() { return IRFile->takeModule(); } in takeModule()121 const std::string &getTargetTriple() { in getTargetTriple()126 void setTargetTriple(StringRef Triple) { in setTargetTriple()131 uint32_t getSymbolCount() { in getSymbolCount()136 lto_symbol_attributes getSymbolAttributes(uint32_t index) { in getSymbolAttributes()143 const char *getSymbolName(uint32_t index) { in getSymbolName()[all …]
41 struct LTOModule { struct77 LTOModule(llvm::Module* m, llvm::TargetMachine* t); argument107 typedef llvm::StringMap<uint8_t> StringSet;109 struct NameAndAttributes { 114 llvm::OwningPtr<llvm::Module> _module;115 llvm::OwningPtr<llvm::TargetMachine> _target;116 std::vector<NameAndAttributes> _symbols;118 StringSet _defines; 119 llvm::StringMap<NameAndAttributes> _undefines;120 std::vector<const char*> _asm_undefines;
84 LTOModule::LTOModule(Module *m, TargetMachine *t) in LTOModule() function in LTOModule
46 LTOModule::LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef, in LTOModule() function in LTOModule
52 LTOModule::LTOModule(std::unique_ptr<object::IRObjectFile> Obj, in LTOModule() function in LTOModule