|
LLVM
8.0.1
|
#include "Hexagon.h"#include "HexagonInstrInfo.h"#include "HexagonSubtarget.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/CodeGen/Passes.h"#include "llvm/Pass.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include <cassert>#include <cstdint>#include <cstdlib>#include <iterator>
Go to the source code of this file.
Namespaces | |
| llvm | |
| This class represents lattice values for constants. | |
Macros | |
| #define | DEBUG_TYPE "hexagon-brelax" |
Functions | |
| FunctionPass * | llvm::createHexagonBranchRelaxation () |
| void | llvm::initializeHexagonBranchRelaxationPass (PassRegistry &) |
| INITIALIZE_PASS (HexagonBranchRelaxation, "hexagon-brelax", "Hexagon Branch Relaxation", false, false) FunctionPass *llvm | |
Variables | |
| static cl::opt< uint32_t > | BranchRelaxSafetyBuffer ("branch-relax-safety-buffer", cl::init(200), cl::Hidden, cl::ZeroOrMore, cl::desc("safety buffer size")) |
| #define DEBUG_TYPE "hexagon-brelax" |
Definition at line 10 of file HexagonBranchRelaxation.cpp.
| INITIALIZE_PASS | ( | HexagonBranchRelaxation | , |
| "hexagon-brelax" | , | ||
| "Hexagon Branch Relaxation" | , | ||
| false | , | ||
| false | |||
| ) |
Definition at line 85 of file HexagonBranchRelaxation.cpp.
References llvm::abs(), llvm::MachineOperand::addTargetFlag(), assert(), B, BranchRelaxSafetyBuffer, llvm::dbgs(), llvm::MachineBasicBlock::getFirstInstrTerminator(), llvm::HexagonSubtarget::getInstrInfo(), llvm::MachineInstr::getOperand(), llvm::MachineInstr::getParent(), llvm::MachineFunction::getSubtarget(), HEXAGON_INSTR_SIZE, llvm::HexagonII::HMOTF_ConstExtended, llvm::MachineBasicBlock::instr_end(), llvm::MachineInstr::isBranch(), llvm::MachineOperand::isMBB(), LLVM_DEBUG, and MI.
|
static |
Referenced by INITIALIZE_PASS().
1.8.13