LLVM 20.0.0git
Namespaces | Macros | Functions | Variables
HexagonBranchRelaxation.cpp File Reference
#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

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define DEBUG_TYPE   "hexagon-brelax"
 

Functions

FunctionPassllvm::createHexagonBranchRelaxation ()
 
void llvm::initializeHexagonBranchRelaxationPass (PassRegistry &)
 
 INITIALIZE_PASS (HexagonBranchRelaxation, "hexagon-brelax", "Hexagon Branch Relaxation", false, false) FunctionPass *llvm
 

Variables

static cl::opt< uint32_tBranchRelaxSafetyBuffer ("branch-relax-safety-buffer", cl::init(200), cl::Hidden, cl::desc("safety buffer size"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "hexagon-brelax"

Definition at line 30 of file HexagonBranchRelaxation.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( HexagonBranchRelaxation  ,
"hexagon-brelax"  ,
"Hexagon Branch Relaxation"  ,
false  ,
false   
)

Definition at line 85 of file HexagonBranchRelaxation.cpp.

Variable Documentation

◆ BranchRelaxSafetyBuffer

cl::opt< uint32_t > BranchRelaxSafetyBuffer("branch-relax-safety-buffer", cl::init(200), cl::Hidden, cl::desc("safety buffer size")) ( "branch-relax-safety-buffer"  ,
cl::init(200)  ,
cl::Hidden  ,
cl::desc("safety buffer size")   
)
static