OpenVDB  9.0.1
Static Public Member Functions | List of all members
LLVMType< void * > Struct Template Reference

#include <openvdb_ax/codegen/Types.h>

Inherits LLVMType< int_t< sizeof(void *)>::type * >.

Static Public Member Functions

static llvm::Type * get (llvm::LLVMContext &C)
 Return an LLVM type which represents T. More...
 
static llvm::Constant * get (llvm::LLVMContext &C, const int_t< sizeof(void *)>::type * V)
 Return an LLVM constant Value which represents T value. More...
 
static llvm::Constant * get (llvm::LLVMContext &C, const int_t< sizeof(void *)>::type * *const V)
 Return an LLVM constant which holds an uintptr_t, representing the current address of the given value. More...
 

Detailed Description

template<>
struct openvdb::v9_0::ax::codegen::LLVMType< void * >

Note
void* implemented as signed int_t* to match clang IR generation

Member Function Documentation

static llvm::Type* get ( llvm::LLVMContext &  C)
inlinestaticinherited

Return an LLVM type which represents T.

Parameters
CThe LLVMContext to request the Type from.
static llvm::Constant* get ( llvm::LLVMContext &  C,
const int_t< sizeof(void *)>::type *  V 
)
inlinestaticinherited

Return an LLVM constant Value which represents T value.

Parameters
CThe LLVMContext
VThe value to convert to an LLVM constant
Returns
If successful, returns a pointer to an LLVM constant which holds the value T.
static llvm::Constant* get ( llvm::LLVMContext &  C,
const int_t< sizeof(void *)>::type * *const  V 
)
inlinestaticinherited

Return an LLVM constant which holds an uintptr_t, representing the current address of the given value.

Parameters
CThe LLVMContext
VThe address of a given type to convert to an LLVM constant