OpenVDB  9.0.1
Public Types | Public Attributes | List of all members
CompilerOptions Struct Reference

Settings which control how a Compiler class object behaves. More...

#include <openvdb_ax/compiler/CompilerOptions.h>

Public Types

enum  OptLevel {
  NONE, O0, O1, O2,
  Os, Oz, O3
}
 Controls the llvm compiler optimization level. More...
 

Public Attributes

OptLevel mOptLevel = OptLevel::O3
 
bool mVerify = true
 If this flag is true, the generated llvm module will be verified when compilation occurs, resulting in an exception being thrown if it is not valid. More...
 
FunctionOptions mFunctionOptions = FunctionOptions()
 Options for the function registry. More...
 

Detailed Description

Settings which control how a Compiler class object behaves.

Member Enumeration Documentation

enum OptLevel
strong

Controls the llvm compiler optimization level.

Enumerator
NONE 
O0 
O1 
O2 
Os 
Oz 
O3 

Member Data Documentation

FunctionOptions mFunctionOptions = FunctionOptions()

Options for the function registry.

OptLevel mOptLevel = OptLevel::O3
bool mVerify = true

If this flag is true, the generated llvm module will be verified when compilation occurs, resulting in an exception being thrown if it is not valid.