ΒΆbool aliasIsKnownForLoadStore(
    const llvm::MachineInstr& MI1,
    const llvm::MachineInstr& MI2,
    bool& IsAlias,
    llvm::MachineRegisterInfo& MRI)

Description

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

Declared at: llvm/include/llvm/CodeGen/GlobalISel/LoadStoreOpt.h:49

Parameters

const llvm::MachineInstr& MI1
const llvm::MachineInstr& MI2
bool& IsAlias
llvm::MachineRegisterInfo& MRI

Returns

true if either alias/no-alias is known. Sets \p IsAlias accordingly.