HomeSort by relevance Sort by last modified time
    Searched refs:LTOModule (Results 1 - 18 of 18) sorted by null

  /external/swiftshader/third_party/LLVM/tools/lto/
lto.cpp 18 #include "LTOModule.h"
51 return LTOModule::isBitcodeFile(path);
61 return LTOModule::isBitcodeFileForTarget(path, target_triplet_prefix);
70 return LTOModule::isBitcodeFile(mem, length);
80 return LTOModule::isBitcodeFileForTarget(mem, length, target_triplet_prefix);
91 return LTOModule::makeLTOModule(path, sLastErrorString);
100 return LTOModule::makeLTOModule(fd, path, size, sLastErrorString);
112 return LTOModule::makeLTOModule(fd, path, file_size, map_size,
122 return LTOModule::makeLTOModule(mem, length, sLastErrorString);
LTOModule.h 1 //===-LTOModule.h - LLVM Link Time Optimizer ------------------------------===//
10 // This file declares the LTOModule class.
41 struct LTOModule {
52 static LTOModule* makeLTOModule(const char* path,
54 static LTOModule* makeLTOModule(int fd, const char *path,
57 static LTOModule* makeLTOModule(int fd, const char *path,
62 static LTOModule* makeLTOModule(const void* mem, size_t length,
77 LTOModule(llvm::Module* m, llvm::TargetMachine* t);
103 static LTOModule* makeLTOModule(llvm::MemoryBuffer* buffer,
LTOModule.cpp 1 //===-- LTOModule.cpp - LLVM Link Time Optimizer --------------------------===//
15 #include "LTOModule.h"
49 bool LTOModule::isBitcodeFile(const void *mem, size_t length) {
54 bool LTOModule::isBitcodeFile(const char *path) {
58 bool LTOModule::isBitcodeFileForTarget(const void *mem, size_t length,
67 bool LTOModule::isBitcodeFileForTarget(const char *path,
76 bool LTOModule::isTargetMatch(MemoryBuffer *buffer, const char *triplePrefix) {
84 LTOModule::LTOModule(Module *m, TargetMachine *t)
89 LTOModule *LTOModule::makeLTOModule(const char *path
    [all...]
LTOCodeGenerator.h 37 bool addModule(struct LTOModule*, std::string& errMsg);
LTOCodeGenerator.cpp 15 #include "LTOModule.h"
91 bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg)
268 // construct LTOModule, hand over ownership of module and target
  /external/llvm/include/llvm/LTO/legacy/
LTOModule.h 1 //===-LTOModule.h - LLVM Link Time Optimizer ------------------------------===//
10 // This file declares the LTOModule class.
37 struct LTOModule {
59 LTOModule(std::unique_ptr<object::IRObjectFile> Obj, TargetMachine *TM);
62 ~LTOModule();
85 /// Create an LTOModule. N.B. These methods take ownership of the buffer. The
93 static ErrorOr<std::unique_ptr<LTOModule>>
96 static ErrorOr<std::unique_ptr<LTOModule>>
99 static ErrorOr<std::unique_ptr<LTOModule>>
103 static ErrorOr<std::unique_ptr<LTOModule>>
    [all...]
LTOCodeGenerator.h 73 bool addModule(struct LTOModule *);
78 void setModule(std::unique_ptr<LTOModule> M);
  /external/llvm/lib/LTO/
LTOModule.cpp 1 //===-- LTOModule.cpp - LLVM Link Time Optimizer --------------------------===//
15 #include "llvm/LTO/legacy/LTOModule.h"
52 LTOModule::LTOModule(std::unique_ptr<object::IRObjectFile> Obj,
56 LTOModule::~LTOModule() {}
60 bool LTOModule::isBitcodeFile(const void *Mem, size_t Length) {
66 bool LTOModule::isBitcodeFile(const char *Path) {
77 bool LTOModule::isThinLTO() {
89 bool LTOModule::isBitcodeForTarget(MemoryBuffer *Buffer
    [all...]
LTOCodeGenerator.cpp 38 #include "llvm/LTO/legacy/LTOModule.h"
133 bool LTOCodeGenerator::addModule(LTOModule *Mod) {
149 void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) {
335 // Construct LTOModule, hand over ownership of module and target. Use MAttr as
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
LTOModule.cpp 1 //===-- LTOModule.cpp - LLVM Link Time Optimizer --------------------------===//
15 #include "llvm/LTO/legacy/LTOModule.h"
46 LTOModule::LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef,
52 LTOModule::~LTOModule() {}
56 bool LTOModule::isBitcodeFile(const void *Mem, size_t Length) {
62 bool LTOModule::isBitcodeFile(StringRef Path) {
73 bool LTOModule::isThinLTO() {
82 bool LTOModule::isBitcodeForTarget(MemoryBuffer *Buffer
    [all...]
LTOCodeGenerator.cpp 39 #include "llvm/LTO/legacy/LTOModule.h"
133 void LTOCodeGenerator::setAsmUndefinedRefs(LTOModule *Mod) {
139 bool LTOCodeGenerator::addModule(LTOModule *Mod) {
152 void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) {
339 // Construct LTOModule, hand over ownership of module and target. Use MAttr as
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/legacy/
LTOModule.h 1 //===-LTOModule.h - LLVM Link Time Optimizer ------------------------------===//
10 // This file declares the LTOModule class.
38 struct LTOModule {
62 LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef,
66 ~LTOModule();
89 /// Create an LTOModule. N.B. These methods take ownership of the buffer. The
97 static ErrorOr<std::unique_ptr<LTOModule>>
100 static ErrorOr<std::unique_ptr<LTOModule>>
103 static ErrorOr<std::unique_ptr<LTOModule>>
107 static ErrorOr<std::unique_ptr<LTOModule>>
    [all...]
LTOCodeGenerator.h 75 bool addModule(struct LTOModule *);
80 void setModule(std::unique_ptr<LTOModule> M);
82 void setAsmUndefinedRefs(struct LTOModule *);
  /external/llvm/tools/lto/
lto.cpp 23 #include "llvm/LTO/legacy/LTOModule.h"
143 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LTOModule, lto_module_t)
173 return LTOModule::isBitcodeFile(path);
181 return LTOModule::isBitcodeForTarget(Buffer->get(), target_triplet_prefix);
185 std::unique_ptr<MemoryBuffer> Buffer(LTOModule::makeBuffer(mem, length));
193 return LTOModule::isBitcodeFile(mem, length);
200 std::unique_ptr<MemoryBuffer> buffer(LTOModule::makeBuffer(mem, length));
203 return LTOModule::isBitcodeForTarget(buffer.get(), target_triplet_prefix);
209 ErrorOr<std::unique_ptr<LTOModule>> M =
210 LTOModule::createFromFile(*LTOContext, path, Options)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/lto/
lto.cpp 23 #include "llvm/LTO/legacy/LTOModule.h"
151 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LTOModule, lto_module_t)
182 return LTOModule::isBitcodeFile(StringRef(path));
190 return LTOModule::isBitcodeForTarget(Buffer->get(),
195 std::unique_ptr<MemoryBuffer> Buffer(LTOModule::makeBuffer(mem, length));
205 return LTOModule::isBitcodeFile(mem, length);
212 std::unique_ptr<MemoryBuffer> buffer(LTOModule::makeBuffer(mem, length));
215 return LTOModule::isBitcodeForTarget(buffer.get(),
222 ErrorOr<std::unique_ptr<LTOModule>> M =
223 LTOModule::createFromFile(*LTOContext, StringRef(path), Options)
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm-c/
lto.h 58 typedef struct LTOModule* lto_module_t;
  /external/llvm/tools/llvm-lto/
llvm-lto.cpp 23 #include "llvm/LTO/legacy/LTOModule.h"
244 static std::unique_ptr<LTOModule>
254 ErrorOr<std::unique_ptr<LTOModule>> Ret = LTOModule::createInLocalContext(
264 /// The main point here is to provide lit-testable coverage for the LTOModule
271 std::unique_ptr<LTOModule> Module =
773 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrErr =
774 LTOModule::createFromFile(Context, InputFilenames[i].c_str(), Options);
775 std::unique_ptr<LTOModule> &Module = *ModuleOrErr;
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto/
llvm-lto.cpp 34 #include "llvm/LTO/legacy/LTOModule.h"
303 static std::unique_ptr<LTOModule>
314 ErrorOr<std::unique_ptr<LTOModule>> Ret = LTOModule::createInLocalContext(
355 /// The main point here is to provide lit-testable coverage for the LTOModule
362 std::unique_ptr<LTOModule> Module =
879 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrErr =
880 LTOModule::createFromFile(Context, InputFilenames[i], Options);
881 std::unique_ptr<LTOModule> &Module = *ModuleOrErr;
    [all...]

Completed in 515 milliseconds