Return a location for Inst, or nullopt if it has no memory location.

Synopsis

Declared in <llvm/Analysis/MemoryLocation.h>

static
std::optional<MemoryLocation>
getOrNone(Instruction const* Inst);

Return Value

MemoryLocation for Inst, or nullopt if none applies.

Parameters

Name

Description

Inst

Instruction that may or may not access memory.

Created with MrDocs