OpenVDB  12.1.0
Public Member Functions | List of all members
ArgInfo Struct Reference

Metadata associated with a function argument or return value. More...

#include <openvdb_ax/codegen/FunctionTypes.h>

Public Member Functions

 ArgInfo (const Value &val)
 
 ArgInfo (llvm::Type *utype)
 
 ArgInfo (llvm::Type *utype, uint8_t ptrs, bool ret=false)
 
 ArgInfo (ArgInfo &&)=default
 
 ArgInfo (const ArgInfo &)=default
 
ArgInfooperator= (ArgInfo &&)=default
 
ArgInfooperator= (const ArgInfo &)=default
 
bool operator== (const ArgInfo &other) const
 
bool operator!= (const ArgInfo &other) const
 
bool IsMatchingType (const ArgInfo &other) const
 
bool IsPtr () const
 
uint8_t NumPtrs () const
 
bool IsNative () const
 
bool IsVoid () const
 
bool IsReturn () const
 
llvm::Type * GetUnderlyingType () const
 
llvm::Type * GetType () const
 
void SetIsReturn ()
 

Detailed Description

Metadata associated with a function argument or return value.

Constructor & Destructor Documentation

ArgInfo ( const Value val)
inlineexplicit
ArgInfo ( llvm::Type *  utype)
inlineexplicit
ArgInfo ( llvm::Type *  utype,
uint8_t  ptrs,
bool  ret = false 
)
inline
ArgInfo ( ArgInfo &&  )
default
ArgInfo ( const ArgInfo )
default

Member Function Documentation

llvm::Type* GetType ( ) const
inline
llvm::Type* GetUnderlyingType ( ) const
inline
bool IsMatchingType ( const ArgInfo other) const
inline
bool IsNative ( ) const
inline
bool IsPtr ( ) const
inline
bool IsReturn ( ) const
inline
bool IsVoid ( ) const
inline
uint8_t NumPtrs ( ) const
inline
bool operator!= ( const ArgInfo other) const
inline
ArgInfo& operator= ( ArgInfo &&  )
default
ArgInfo& operator= ( const ArgInfo )
default
bool operator== ( const ArgInfo other) const
inline
void SetIsReturn ( )
inline