#include "ARMBasicBlockInfo.h"
#include "ARM.h"
#include "ARMBaseInstrInfo.h"
#include "ARMMachineFunctionInfo.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/Support/Debug.h"
#define DEBUG_TYPE …
usingnamespacellvm;
namespace llvm {
static bool
mayOptimizeThumb2Instruction(const MachineInstr *MI) { … }
void ARMBasicBlockUtils::computeBlockSize(MachineBasicBlock *MBB) { … }
unsigned ARMBasicBlockUtils::getOffsetOf(MachineInstr *MI) const { … }
bool ARMBasicBlockUtils::isBBInRange(MachineInstr *MI,
MachineBasicBlock *DestBB,
unsigned MaxDisp) const { … }
void ARMBasicBlockUtils::adjustBBOffsetsAfter(MachineBasicBlock *BB) { … }
}