class MIBundleBuilder
Declaration
class MIBundleBuilder { /* full declaration omitted */ };
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:512
Method Overview
- public MIBundleBuilder(llvm::MachineBasicBlock & BB, int Pos)
- public MIBundleBuilder(llvm::MachineBasicBlock & BB, int B, int E)
- public MIBundleBuilder(llvm::MachineInstr * MI)
- public llvm::MIBundleBuilder & append(llvm::MachineInstr * MI)
- public int begin() const
- public bool empty() const
- public int end() const
- public llvm::MachineBasicBlock & getMBB() const
- public llvm::MIBundleBuilder & insert(int I, llvm::MachineInstr * MI)
- public llvm::MIBundleBuilder & prepend(llvm::MachineInstr * MI)
Methods
¶MIBundleBuilder(llvm::MachineBasicBlock& BB,
int Pos)
MIBundleBuilder(llvm::MachineBasicBlock& BB,
int Pos)
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:520
Parameters
- llvm::MachineBasicBlock& BB
- int Pos
¶MIBundleBuilder(llvm::MachineBasicBlock& BB,
int B,
int E)
MIBundleBuilder(llvm::MachineBasicBlock& BB,
int B,
int E)
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:524
Parameters
- llvm::MachineBasicBlock& BB
- int B
- int E
¶MIBundleBuilder(llvm::MachineInstr* MI)
MIBundleBuilder(llvm::MachineInstr* MI)
Description
Create an MIBundleBuilder representing an existing instruction or bundle that has MI as its head.
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:538
Parameters
¶llvm::MIBundleBuilder& append(
llvm::MachineInstr* MI)
llvm::MIBundleBuilder& append(
llvm::MachineInstr* MI)
Description
Insert MI into MBB by appending it to the instructions in the bundle. MI will become the last instruction in the bundle.
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:585
Parameters
¶int begin() const
int begin() const
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:550
¶bool empty() const
bool empty() const
Description
Return true if no instructions have been inserted in this bundle yet. Empty bundles aren't representable in a MachineBasicBlock.
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:547
¶int end() const
int end() const
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:553
¶llvm::MachineBasicBlock& getMBB() const
llvm::MachineBasicBlock& getMBB() const
Description
Return a reference to the basic block containing this bundle.
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:543
¶llvm::MIBundleBuilder& insert(
int I,
llvm::MachineInstr* MI)
llvm::MIBundleBuilder& insert(
int I,
llvm::MachineInstr* MI)
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:557
Parameters
- int I
- llvm::MachineInstr* MI
¶llvm::MIBundleBuilder& prepend(
llvm::MachineInstr* MI)
llvm::MIBundleBuilder& prepend(
llvm::MachineInstr* MI)
Description
Insert MI into MBB by prepending it to the instructions in the bundle. MI will become the first instruction in the bundle.
Declared at: llvm/include/llvm/CodeGen/MachineInstrBuilder.h:579