Return true if this instruction can be folded as a memory operand.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
canFoldAsLoad(QueryType Type = IgnoreBundle) const;

Description

Typically simple loads or constant‐pool‐like materializations with a single virtual register definition.

Return Value

True if the instruction can fold as a load.

Parameters

Name

Description

Type

How to query when this instruction is part of a bundle.

Created with MrDocs