Compute whether or not a memory access at MI1 aliases with an access at MI2

Synopsis

Declared in <llvm/CodeGen/GlobalISel/LoadStoreOpt.h>

bool
aliasIsKnownForLoadStore(
    MachineInstr const& MI1,
    MachineInstr const& MI2,
    bool& IsAlias,
    MachineRegisterInfo& MRI);

Return Value

true if either alias/no‐alias is known. Sets IsAlias accordingly.

Parameters

Name

Description

MI1

First memory instruction.

MI2

Second memory instruction.

IsAlias

Set to true when the accesses are known to alias.

MRI

Register info used to inspect addressing operands.

Created with MrDocs