llvm::LoadIntFromMemory

Load LoadBytes bytes from Src into IntVal.

Synopsis

Declared in <llvm/ADT/APInt.h>

void
LoadIntFromMemory(
    APInt& IntVal,
    uint8_t const* Src,
    unsigned int LoadBytes);

Description

IntVal is assumed to be wide enough and initially zero.

Parameters

NameDescription
IntValDestination APInt (must be wide enough and zeroed)
SrcSource buffer
LoadBytesNumber of bytes to read