OpenVDB: CompilerOptions Struct Reference

OpenVDB 8.1.0

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

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

`#include <CompilerOptions.h>`

## Public Types
enum class | 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

## ◆ OptLevel

enum OptLevel
| strong

Controls the llvm compiler optimization level.

Enumerator
NONE |
O0 |
O1 |
O2 |
Os |
Oz |
O3 |

## Member Data Documentation

## ◆ mFunctionOptions

FunctionOptions mFunctionOptions = FunctionOptions()

Options for the function registry.

## ◆ mOptLevel

OptLevel mOptLevel = OptLevel::O3

## ◆ mVerify

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.

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

- CompilerOptions.h