LLVM API Documentation

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::JIT::runFunction(), and llvm::Interpreter::visitSwitchInst().

double llvm::GenericValue::DoubleVal

Definition at line 34 of file GenericValue.h.

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

unsigned int llvm::GenericValue::first

Definition at line 36 of file GenericValue.h.

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

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::ExecutionEngine::getConstantValue(), lle_X_strcmp(), llvm::JIT::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(), and llvm::ExecutionEngine::getConstantValue().

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.

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

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::LoadValueFromMemory(), and llvm::JIT::runFunction().

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

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

unsigned int llvm::GenericValue::UIntVal

Definition at line 30 of file GenericValue.h.

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

uint64_t llvm::GenericValue::ULongVal

Definition at line 32 of file GenericValue.h.

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

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::LoadValueFromMemory(), and llvm::JIT::runFunction().


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