llvm::MachineInstr::wouldBeTriviallyDead

Return true if this would be trivially dead if all defined regs were dead.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
wouldBeTriviallyDead() const;

Return Value

True if the instruction has no hard-to-model side effects.