LLVM: setters (original) (raw)

Functions
void llvm::ThinLTOCodeGenerator::setSaveTempsDir (std::string Path)
Set the path to a directory where to save temporaries at various stages of the processing.
void llvm::ThinLTOCodeGenerator::setGeneratedObjectsDirectory (std::string Path)
Set the path to a directory where to save generated object files.
void llvm::ThinLTOCodeGenerator::setCpu (std::string Cpu)
CPU to use to initialize the TargetMachine.
void llvm::ThinLTOCodeGenerator::setAttr (std::string MAttr)
Subtarget attributes.
void llvm::ThinLTOCodeGenerator::setTargetOptions (TargetOptions Options)
TargetMachine options.
void llvm::ThinLTOCodeGenerator::setFreestanding (bool Enabled)
Enable the Freestanding mode: indicate that the optimizer should not assume builtins are present on the target.
void llvm::ThinLTOCodeGenerator::setCodePICModel (std::optional< Reloc::Model > Model)
CodeModel.
void llvm::ThinLTOCodeGenerator::setCodeGenOptLevel (CodeGenOptLevel CGOptLevel)
CodeGen optimization level.
void llvm::ThinLTOCodeGenerator::setOptLevel (unsigned NewOptLevel)
IR optimization level: from 0 to 3.
void llvm::ThinLTOCodeGenerator::setDebugPassManager (unsigned Enabled)
Enable or disable debug output for the new pass manager.
void llvm::ThinLTOCodeGenerator::disableCodeGen (bool Disable)
Disable CodeGen, only run the stages till codegen and stop.
void llvm::ThinLTOCodeGenerator::setCodeGenOnly (bool CGOnly)
Perform CodeGen only: disable all other stages.

disableCodeGen()

void llvm::ThinLTOCodeGenerator::disableCodeGen ( bool Disable) inline

setAttr()

void llvm::ThinLTOCodeGenerator::setAttr ( std::string MAttr) inline

setCodeGenOnly()

void llvm::ThinLTOCodeGenerator::setCodeGenOnly ( bool CGOnly) inline

setCodeGenOptLevel()

void llvm::ThinLTOCodeGenerator::setCodeGenOptLevel ( CodeGenOptLevel CGOptLevel) inline

setCodePICModel()

void llvm::ThinLTOCodeGenerator::setCodePICModel ( std::optional< Reloc::Model > Model) inline

setCpu()

void llvm::ThinLTOCodeGenerator::setCpu ( std::string Cpu) inline

setDebugPassManager()

void llvm::ThinLTOCodeGenerator::setDebugPassManager ( unsigned Enabled) inline

setFreestanding()

void llvm::ThinLTOCodeGenerator::setFreestanding ( bool Enabled) inline

Enable the Freestanding mode: indicate that the optimizer should not assume builtins are present on the target.

Definition at line 219 of file ThinLTOCodeGenerator.h.

References llvm::Enabled.

setGeneratedObjectsDirectory()

void llvm::ThinLTOCodeGenerator::setGeneratedObjectsDirectory ( std::string Path) inline

setOptLevel()

void llvm::ThinLTOCodeGenerator::setOptLevel ( unsigned NewOptLevel) inline

setSaveTempsDir()

void llvm::ThinLTOCodeGenerator::setSaveTempsDir ( std::string Path) inline

Set the path to a directory where to save temporaries at various stages of the processing.

Definition at line 196 of file ThinLTOCodeGenerator.h.

setTargetOptions()

void llvm::ThinLTOCodeGenerator::setTargetOptions ( TargetOptions Options) inline