OpenVDB 11.0.0
Loading...
Searching...
No Matches
LLVMType< void * > Struct Reference

#include <openvdb_ax/codegen/Types.h>

Inheritance diagram for LLVMType< void * >:
LLVMType< int8_t * >

Static Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ get() [1/3]

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

Return an LLVM type which represents T.

Parameters
CThe LLVMContext to request the Type from.

◆ get() [2/3]

static llvm::Constant * get ( llvm::LLVMContext & C,
const int8_t * *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

◆ get() [3/3]

static llvm::Constant * get ( llvm::LLVMContext & C,
const int8_t * 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.