Searched defs:LTOModule (Results 1 - 2 of 2) sorted by relevance

/external/llvm/include/llvm/LTO/
H A DLTOModule.h1 //===-LTOModule.h - LLVM Link Time Optimizer ------------------------------===//
10 // This file declares the LTOModule class.
38 struct LTOModule { struct in namespace:llvm
61 LTOModule(std::unique_ptr<object::IRObjectFile> Obj, TargetMachine *TM);
77 /// Create an LTOModule. N.B. These methods take ownership of the buffer. The
85 static LTOModule *createFromFile(const char *path, TargetOptions options,
87 static LTOModule *createFromOpenFile(int fd, const char *path, size_t size,
90 static LTOModule *createFromOpenFileSlice(int fd, const char *path,
94 static LTOModule *createFromBuffer(const void *mem, size_t length,
99 return const_cast<LTOModule*>(thi
[all...]
/external/llvm/lib/LTO/
H A DLTOModule.cpp1 //===-- LTOModule.cpp - LLVM Link Time Optimizer --------------------------===//
15 #include "llvm/LTO/LTOModule.h"
46 LTOModule::LTOModule(std::unique_ptr<object::IRObjectFile> Obj, function in class:LTOModule
52 bool LTOModule::isBitcodeFile(const void *mem, size_t length) {
57 bool LTOModule::isBitcodeFile(const char *path) {
64 bool LTOModule::isBitcodeForTarget(MemoryBuffer *buffer,
70 LTOModule *LTOModule::createFromFile(const char *path, TargetOptions options,
81 LTOModule *LTOModul
[all...]

Completed in 174 milliseconds