LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::TargetMachineBuilder Struct Reference

Helper to gather options relevant to the target machine creation. More...

#include <ThinLTOCodeGenerator.h>

Collaboration diagram for llvm::TargetMachineBuilder:
[legend]

Public Member Functions

std::unique_ptr< TargetMachinecreate () const
 

Public Attributes

Triple TheTriple
 
std::string MCpu
 
std::string MAttr
 
TargetOptions Options
 
Optional< Reloc::ModelRelocModel
 
CodeGenOpt::Level CGOptLevel = CodeGenOpt::Aggressive
 

Detailed Description

Helper to gather options relevant to the target machine creation.

Definition at line 52 of file ThinLTOCodeGenerator.h.

Member Function Documentation

std::unique_ptr< TargetMachine > TargetMachineBuilder::create ( ) const

Member Data Documentation

CodeGenOpt::Level llvm::TargetMachineBuilder::CGOptLevel = CodeGenOpt::Aggressive
std::string llvm::TargetMachineBuilder::MAttr

Definition at line 55 of file ThinLTOCodeGenerator.h.

Referenced by create(), and llvm::ThinLTOCodeGenerator::setAttr().

std::string llvm::TargetMachineBuilder::MCpu

Definition at line 54 of file ThinLTOCodeGenerator.h.

Referenced by create(), and llvm::ThinLTOCodeGenerator::setCpu().

TargetOptions llvm::TargetMachineBuilder::Options

Definition at line 56 of file ThinLTOCodeGenerator.h.

Referenced by create(), and llvm::ThinLTOCodeGenerator::setTargetOptions().

Optional<Reloc::Model> llvm::TargetMachineBuilder::RelocModel

Definition at line 57 of file ThinLTOCodeGenerator.h.

Referenced by create(), and llvm::ThinLTOCodeGenerator::setCodePICModel().

Triple llvm::TargetMachineBuilder::TheTriple

The documentation for this struct was generated from the following files: