llvm::MachineInstr::getParent

getParent overloads

Synopses

Declared in <llvm/CodeGen/MachineInstr.h>

Return the basic block that contains this instruction.

MachineBasicBlock const*
getParent() const;
» more...

Return the mutable basic block that contains this instruction.

MachineBasicBlock*
getParent();
» more...

Return Value

  • Const pointer to the parent MachineBasicBlock, or null.
  • Mutable pointer to the parent MachineBasicBlock, or null.