struct TargetMachineBuilder

Declaration

struct TargetMachineBuilder { /* full declaration omitted */ };

Description

Helper to gather options relevant to the target machine creation

Declared at: llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h:36

Member Variables

public llvm::Triple TheTriple
public std::string MCpu
public std::string MAttr
public llvm::TargetOptions Options
public Optional<Reloc::Model> RelocModel
public CodeGenOpt::Level CGOptLevel = CodeGenOpt::Aggressive

Method Overview

  • public std::unique_ptr<TargetMachine> create() const

Methods

ΒΆstd::unique_ptr<TargetMachine> create() const

Declared at: llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h:44