LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::GenericValue Union Reference

#include <GenericValue.h>

Collaboration diagram for llvm::GenericValue:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GenericValue ()
 GenericValue (void *V)

Public Attributes

bool BoolVal
unsigned char UByteVal
signed char SByteVal
unsigned short UShortVal
signed short ShortVal
unsigned int UIntVal
signed int IntVal
uint64_t ULongVal
int64_t LongVal
double DoubleVal
float FloatVal
struct {
   unsigned int   first
   unsigned int   second
UIntPairVal
PointerTy PointerVal
unsigned char Untyped [8]

Detailed Description

Definition at line 24 of file GenericValue.h.


Constructor & Destructor Documentation

llvm::GenericValue::GenericValue  )  [inline]
 

Definition at line 40 of file GenericValue.h.

llvm::GenericValue::GenericValue void *  V  )  [inline]
 

Definition at line 41 of file GenericValue.h.

References PointerVal.


Member Data Documentation

bool llvm::GenericValue::BoolVal
 

Definition at line 25 of file GenericValue.h.

Referenced by executeSelectInst(), llvm::ExecutionEngine::getConstantValue(), llvm::JIT::runFunction(), and llvm::Interpreter::visitSwitchInst().

double llvm::GenericValue::DoubleVal
 

Definition at line 34 of file GenericValue.h.

Referenced by executeRemInst(), llvm::ExecutionEngine::getConstantValue(), lle_X_drand48(), lle_X_exp(), lle_X_floor(), lle_X_log(), lle_X_pow(), lle_X_sqrt(), and llvm::JIT::runFunction().

unsigned int llvm::GenericValue::first
 

Definition at line 36 of file GenericValue.h.

float llvm::GenericValue::FloatVal
 

Definition at line 35 of file GenericValue.h.

Referenced by executeRemInst(), llvm::ExecutionEngine::getConstantValue(), and llvm::JIT::runFunction().

signed int llvm::GenericValue::IntVal
 

Definition at line 31 of file GenericValue.h.

Referenced by llvm::Interpreter::executeGEPOperation(), llvm::Interpreter::exitCalled(), llvm::ExecutionEngine::getConstantValue(), lle_i_clock(), lle_X_atexit(), lle_X_atoi(), lle_X_fclose(), lle_X_feof(), lle_X_ferror(), lle_X_fflush(), lle_X_fputc(), lle_X_getc(), lle_X_lrand48(), lle_X_puts(), lle_X_rand(), lle_X_scanf(), lle_X_sprintf(), lle_X_sscanf(), lle_X_strcmp(), lle_X_ungetc(), runChild(), llvm::JIT::runFunction(), llvm::Interpreter::runFunction(), and llvm::ExecutionEngine::runFunctionAsMain().

int64_t llvm::GenericValue::LongVal
 

Definition at line 33 of file GenericValue.h.

Referenced by llvm::Interpreter::executeGEPOperation(), llvm::ExecutionEngine::getConstantValue(), and llvm::JIT::runFunction().

PointerTy llvm::GenericValue::PointerVal
 

Definition at line 37 of file GenericValue.h.

Referenced by llvm::Interpreter::executeGEPOperation(), GenericValue(), llvm::ExecutionEngine::getConstantValue(), llvm::GVTOP(), and llvm::Interpreter::visitAllocationInst().

signed char llvm::GenericValue::SByteVal
 

Definition at line 27 of file GenericValue.h.

Referenced by llvm::Interpreter::executeGEPOperation(), llvm::ExecutionEngine::getConstantValue(), and llvm::JIT::runFunction().

unsigned int llvm::GenericValue::second
 

Definition at line 36 of file GenericValue.h.

signed short llvm::GenericValue::ShortVal
 

Definition at line 29 of file GenericValue.h.

Referenced by llvm::Interpreter::executeGEPOperation(), llvm::ExecutionEngine::getConstantValue(), and llvm::JIT::runFunction().

unsigned char llvm::GenericValue::UByteVal
 

Definition at line 26 of file GenericValue.h.

Referenced by llvm::Interpreter::executeGEPOperation(), llvm::ExecutionEngine::getConstantValue(), llvm::ExecutionEngine::LoadValueFromMemory(), llvm::JIT::runFunction(), and llvm::ExecutionEngine::StoreValueToMemory().

struct { ... } llvm::GenericValue::UIntPairVal
 

Referenced by llvm::Interpreter::visitCallSite(), llvm::Interpreter::visitVAArgInst(), and llvm::Interpreter::visitVANextInst().

unsigned int llvm::GenericValue::UIntVal
 

Definition at line 30 of file GenericValue.h.

Referenced by llvm::Interpreter::executeGEPOperation(), llvm::ExecutionEngine::getConstantValue(), GV_to_size_t(), llvm::ExecutionEngine::LoadValueFromMemory(), llvm::JIT::runFunction(), size_t_to_GV(), and llvm::ExecutionEngine::StoreValueToMemory().

uint64_t llvm::GenericValue::ULongVal
 

Definition at line 32 of file GenericValue.h.

Referenced by llvm::Interpreter::executeGEPOperation(), llvm::ExecutionEngine::getConstantValue(), GV_to_size_t(), llvm::ExecutionEngine::LoadValueFromMemory(), llvm::JIT::runFunction(), size_t_to_GV(), and llvm::ExecutionEngine::StoreValueToMemory().

unsigned char llvm::GenericValue::Untyped[8]
 

Definition at line 38 of file GenericValue.h.

Referenced by llvm::ExecutionEngine::LoadValueFromMemory(), and llvm::ExecutionEngine::StoreValueToMemory().

unsigned short llvm::GenericValue::UShortVal
 

Definition at line 28 of file GenericValue.h.

Referenced by llvm::Interpreter::executeGEPOperation(), llvm::ExecutionEngine::getConstantValue(), llvm::ExecutionEngine::LoadValueFromMemory(), llvm::JIT::runFunction(), and llvm::ExecutionEngine::StoreValueToMemory().


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