OpenVDB  8.1.1
Public Types | Static Public Member Functions | List of all members
ConstantFolder< SignatureT, I > Struct Template Reference

Constant folding support structure. More...

#include <ConstantFolding.h>

Public Types

using ArgT = typename FunctionTraits< SignatureT >::template Arg< I-1 >
 
using ArgumentValueType = typename ArgT::Type
 

Static Public Member Functions

template<typename... Tys>
static llvm::Value * fold (const std::vector< llvm::Constant * > &args, const SignatureT &function, llvm::LLVMContext &C, Tys &&...ts)
 

Detailed Description

template<typename SignatureT, size_t I = FunctionTraits<SignatureT>::N_ARGS>
struct openvdb::v8_1::ax::codegen::ConstantFolder< SignatureT, I >

Constant folding support structure.

Member Typedef Documentation

using ArgT = typename FunctionTraits<SignatureT>::template Arg<I-1>
using ArgumentValueType = typename ArgT::Type

Member Function Documentation

static llvm::Value* fold ( const std::vector< llvm::Constant * > &  args,
const SignatureT &  function,
llvm::LLVMContext &  C,
Tys &&...  ts 
)
inlinestatic

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