Return true if it is safe to move this instruction.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
isSafeToMove(bool& SawStore) const;

Description

If SawStore is set to true, a store or call lies between the current location and the intended destination.

Return Value

True if moving this instruction is safe.

Parameters

Name

Description

SawStore

Set to true when a store/call is seen while checking.

Created with MrDocs