llvm::MachineInstr::mayLoad

Return true if this instruction could possibly read memory.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
mayLoad(QueryType Type = AnyInBundle) const;

Description

Not limited to simple loads; the value may also be modified.

Return Value

True if the instruction may load.

Parameters

NameDescription
TypeHow to query when this instruction is part of a bundle.