LLVM API Documentation

Defines | Functions
MachineBasicBlock.cpp File Reference
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/LiveVariables.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/SlotIndexes.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/LeakDetector.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include <algorithm>
Include dependency graph for MachineBasicBlock.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "codegen"

Functions

static void unbundleSingleMI (MachineInstr *MI)

Define Documentation

#define DEBUG_TYPE   "codegen"

Definition at line 39 of file MachineBasicBlock.cpp.


Function Documentation

static void unbundleSingleMI ( MachineInstr MI) [static]

Prepare MI to be removed from its bundle. This fixes bundle flags on MI's neighboring instructions so the bundle won't be broken by removing MI.

Definition at line 944 of file MachineBasicBlock.cpp.

References llvm::MachineInstr::isBundledWithPred(), llvm::MachineInstr::isBundledWithSucc(), llvm::MachineInstr::unbundleFromPred(), and llvm::MachineInstr::unbundleFromSucc().

Referenced by llvm::MachineBasicBlock::remove_instr().