LLVM 20.0.0git
Namespaces | Macros | Functions
HexagonCFGOptimizer.cpp File Reference
#include "Hexagon.h"
#include "MCTargetDesc/HexagonMCTargetDesc.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/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Pass.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
#include <vector>

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_cfg"
 

Functions

FunctionPassllvm::createHexagonCFGOptimizer ()
 
void llvm::initializeHexagonCFGOptimizerPass (PassRegistry &)
 
static bool IsConditionalBranch (int Opc)
 
static bool IsUnconditionalJump (int Opc)
 
 INITIALIZE_PASS (HexagonCFGOptimizer, "hexagon-cfg", "Hexagon CFG Optimizer", false, false) FunctionPass *llvm
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "hexagon_cfg"

Definition at line 25 of file HexagonCFGOptimizer.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( HexagonCFGOptimizer  ,
"hexagon-cfg"  ,
"Hexagon CFG Optimizer"  ,
false  ,
false   
)

Definition at line 241 of file HexagonCFGOptimizer.cpp.

◆ IsConditionalBranch()

static bool IsConditionalBranch ( int  Opc)
static

Definition at line 61 of file HexagonCFGOptimizer.cpp.

◆ IsUnconditionalJump()

static bool IsUnconditionalJump ( int  Opc)
static

Definition at line 76 of file HexagonCFGOptimizer.cpp.