llvm::MachineInstr::isInsideBundle

Return true if MI is in a bundle (but not the first MI in a bundle).

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
isInsideBundle() const;

Description

A bundle looks like this before it's finalized: ---------------- | MI | ---------------- | ---------------- | MI * | ---------------- | ---------------- | MI * | ---------------- In this case, the first MI starts a bundle but is not inside a bundle, the next 2 MIs are considered "inside" the bundle.

After a bundle is finalized, it looks like this: ---------------- | Bundle | ---------------- | ---------------- | MI * | ---------------- | ---------------- | MI * | ---------------- | ---------------- | MI * | ---------------- The first instruction has the special opcode "BUNDLE". It's not "inside" a bundle, but the next three MIs are.

Return Value

True if BundledPred is set.