LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ThinLTOCodeGeneratorImpl::TargetMachineBuilder Struct Reference

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

#include "llvm/LTO/legacy/ThinLTOCodeGenerator.h"

Public Member Functions

std::unique_ptr< TargetMachinecreate () const
 

Public Attributes

Triple TheTriple
 
std::string MCpu
 
std::string MAttr
 
TargetOptions Options
 
std::optional< Reloc::ModelRelocModel
 
CodeGenOptLevel CGOptLevel = CodeGenOptLevel::Aggressive
 

Detailed Description

Helper to gather options relevant to the target machine creation.

Definition at line 42 of file ThinLTOCodeGenerator.h.

Member Function Documentation

◆ create()

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

Member Data Documentation

◆ CGOptLevel

CodeGenOptLevel llvm::ThinLTOCodeGeneratorImpl::TargetMachineBuilder::CGOptLevel = CodeGenOptLevel::Aggressive

◆ MAttr

std::string llvm::ThinLTOCodeGeneratorImpl::TargetMachineBuilder::MAttr

Definition at line 45 of file ThinLTOCodeGenerator.h.

Referenced by llvm::ThinLTOCodeGenerator::setAttr().

◆ MCpu

std::string llvm::ThinLTOCodeGeneratorImpl::TargetMachineBuilder::MCpu

Definition at line 44 of file ThinLTOCodeGenerator.h.

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

◆ Options

TargetOptions llvm::ThinLTOCodeGeneratorImpl::TargetMachineBuilder::Options

Definition at line 46 of file ThinLTOCodeGenerator.h.

Referenced by llvm::ThinLTOCodeGenerator::setTargetOptions().

◆ RelocModel

std::optional<Reloc::Model> llvm::ThinLTOCodeGeneratorImpl::TargetMachineBuilder::RelocModel

Definition at line 47 of file ThinLTOCodeGenerator.h.

Referenced by llvm::ThinLTOCodeGenerator::setCodePICModel().

◆ TheTriple

Triple llvm::ThinLTOCodeGeneratorImpl::TargetMachineBuilder::TheTriple

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