LLVM  6.0.0svn
Namespaces | Macros | Functions
HexagonCFGOptimizer.cpp File Reference
#include "Hexagon.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/Pass.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include <cassert>
#include <vector>
Include dependency graph for HexagonCFGOptimizer.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

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 26 of file HexagonCFGOptimizer.cpp.

Function Documentation

◆ INITIALIZE_PASS()

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

Definition at line 245 of file HexagonCFGOptimizer.cpp.

◆ IsConditionalBranch()

static bool IsConditionalBranch ( int  Opc)
static

Definition at line 62 of file HexagonCFGOptimizer.cpp.

Referenced by IsUnconditionalJump().

◆ IsUnconditionalJump()

static bool IsUnconditionalJump ( int  Opc)
static