llvm::ExecutionEngine::LoadValueFromMemory

Load a value of type Ty from Ptr into Result.

Synopsis

Declared in <llvm/ExecutionEngine/ExecutionEngine.h>

void
LoadValueFromMemory(
    GenericValue& Result,
    GenericValue* Ptr,
    Type* Ty);

Parameters

NameDescription
ResultDestination GenericValue to fill.
PtrSource memory, cast as a GenericValue pointer.
TyLLVM type of the value being loaded.