OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LTOModule
(Results
1 - 7
of
7
) sorted by null
/external/llvm/include/llvm/LTO/
LTOModule.h
1
//===-
LTOModule
.h - LLVM Link Time Optimizer ------------------------------===//
10
// This file declares the
LTOModule
class.
39
struct
LTOModule
{
61
LTOModule
(std::unique_ptr<object::IRObjectFile> Obj, TargetMachine *TM);
62
LTOModule
(std::unique_ptr<object::IRObjectFile> Obj, TargetMachine *TM,
66
~
LTOModule
();
86
/// Create an
LTOModule
. N.B. These methods take ownership of the buffer. The
94
static ErrorOr<std::unique_ptr<
LTOModule
>>
96
static ErrorOr<std::unique_ptr<
LTOModule
>>
99
static ErrorOr<std::unique_ptr<
LTOModule
>>
[
all
...]
LTOCodeGenerator.h
69
bool addModule(struct
LTOModule
*);
72
void setModule(std::unique_ptr<
LTOModule
> M);
/external/llvm/lib/LTO/
LTOModule.cpp
1
//===--
LTOModule
.cpp - LLVM Link Time Optimizer --------------------------===//
15
#include "llvm/LTO/
LTOModule
.h"
53
LTOModule
::
LTOModule
(std::unique_ptr<object::IRObjectFile> Obj,
57
LTOModule
::
LTOModule
(std::unique_ptr<object::IRObjectFile> Obj,
62
LTOModule
::~
LTOModule
() {}
66
bool
LTOModule
::isBitcodeFile(const void *Mem, size_t Length) {
72
bool
LTOModule
::isBitcodeFile(const char *Path)
[
all
...]
Android.mk
4
LTOModule
.cpp \
LTOCodeGenerator.cpp
35
#include "llvm/LTO/
LTOModule
.h"
105
bool LTOCodeGenerator::addModule(
LTOModule
*Mod) {
118
void LTOCodeGenerator::setModule(std::unique_ptr<
LTOModule
> Mod) {
298
// Construct
LTOModule
, hand over ownership of module and target. Use MAttr as
/external/llvm/tools/lto/
lto.cpp
22
#include "llvm/LTO/
LTOModule
.h"
138
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(
LTOModule
, lto_module_t)
168
return
LTOModule
::isBitcodeFile(path);
176
return
LTOModule
::isBitcodeForTarget(Buffer->get(), target_triplet_prefix);
180
return
LTOModule
::isBitcodeFile(mem, length);
187
std::unique_ptr<MemoryBuffer> buffer(
LTOModule
::makeBuffer(mem, length));
190
return
LTOModule
::isBitcodeForTarget(buffer.get(), target_triplet_prefix);
196
ErrorOr<std::unique_ptr<
LTOModule
>> M =
197
LTOModule
::createFromFile(*LTOContext, path, Options);
206
ErrorOr<std::unique_ptr<
LTOModule
>> M
[
all
...]
/external/llvm/tools/llvm-lto/
llvm-lto.cpp
21
#include "llvm/LTO/
LTOModule
.h"
177
static std::unique_ptr<
LTOModule
>
185
ErrorOr<std::unique_ptr<
LTOModule
>> Ret =
LTOModule
::createInLocalContext(
193
/// The main point here is to provide lit-testable coverage for the
LTOModule
200
std::unique_ptr<
LTOModule
> Module =
290
ErrorOr<std::unique_ptr<
LTOModule
>> ModuleOrErr =
291
LTOModule
::createFromFile(Context, InputFilenames[i].c_str(), Options);
292
std::unique_ptr<
LTOModule
> &Module = *ModuleOrErr;
Completed in 561 milliseconds