Returns true if this instruction part of the terminator for a basic block. Typically this is things like return and branch instructions.
Declared in <llvm/CodeGen/MachineInstr.h>
bool
isTerminator(QueryType Type = AnyInBundle) const;
Various passes use this to insert code into the bottom of a basic block, but before control flow occurs.
| Name | Description |
|---|---|
| Type | API for querying MachineInstr properties. They are the same as MCInstrDesc queries but they are bundle aware. |