getLastNonDebugInstr overloads

Synopses

Declared in <llvm/CodeGen/MachineBasicBlock.h>

Return an iterator to the last non‐debug instruction, or end().

iterator
getLastNonDebugInstr(bool SkipPseudoOp = true);

Const overload of getLastNonDebugInstr.

const_iterator
getLastNonDebugInstr(bool SkipPseudoOp = true) const;

Return Value

  • An iterator to the last non‐debug instruction, or end().

  • Same as getLastNonDebugInstr.

Parameters

Name

Description

SkipPseudoOp

If true, also skip pseudo‐probe instructions.

Created with MrDocs