LLVM  15.0.0git
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 "llvm/LTO/legacy/ThinLTOCodeGenerator.h"

Collaboration diagram for llvm::TargetMachineBuilder:
Collaboration graph
[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 35 of file ThinLTOCodeGenerator.h.

Member Function Documentation

◆ create()

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

Member Data Documentation

◆ CGOptLevel

CodeGenOpt::Level llvm::TargetMachineBuilder::CGOptLevel = CodeGenOpt::Aggressive

◆ MAttr

std::string llvm::TargetMachineBuilder::MAttr

Definition at line 38 of file ThinLTOCodeGenerator.h.

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

◆ MCpu

std::string llvm::TargetMachineBuilder::MCpu

Definition at line 37 of file ThinLTOCodeGenerator.h.

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

◆ Options

TargetOptions llvm::TargetMachineBuilder::Options

Definition at line 39 of file ThinLTOCodeGenerator.h.

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

◆ RelocModel

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

Definition at line 40 of file ThinLTOCodeGenerator.h.

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

◆ TheTriple

Triple llvm::TargetMachineBuilder::TheTriple

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