LLVM 20.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"

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 35 of file ThinLTOCodeGenerator.h.

Member Function Documentation

◆ create()

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

Member Data Documentation

◆ CGOptLevel

CodeGenOptLevel llvm::TargetMachineBuilder::CGOptLevel = CodeGenOptLevel::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

std::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: