LLVM  3.7.0
Namespaces | Macros | Functions | Variables
AArch64ConditionOptimizer.cpp File Reference
#include "AArch64.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include <cstdlib>
#include <tuple>
Include dependency graph for AArch64ConditionOptimizer.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Macros

#define DEBUG_TYPE   "aarch64-condopt"
 

Functions

 STATISTIC (NumConditionsAdjusted,"Number of conditions adjusted")
 
void llvm::initializeAArch64ConditionOptimizerPass (PassRegistry &)
 
 INITIALIZE_PASS_BEGIN (AArch64ConditionOptimizer,"aarch64-condopt","AArch64 CondOpt Pass", false, false) INITIALIZE_PASS_END(AArch64ConditionOptimizer
 
static int getComplementOpc (int Opc)
 
static AArch64CC::CondCode getAdjustedCmp (AArch64CC::CondCode Cmp)
 
static bool parseCond (ArrayRef< MachineOperand > Cond, AArch64CC::CondCode &CC)
 

Variables

aarch64 condopt
 
aarch64 AArch64 CondOpt Pass
 
aarch64 AArch64 CondOpt false
 

Macro Definition Documentation

#define DEBUG_TYPE   "aarch64-condopt"

Definition at line 82 of file AArch64ConditionOptimizer.cpp.

Function Documentation

static AArch64CC::CondCode getAdjustedCmp ( AArch64CC::CondCode  Cmp)
static
static int getComplementOpc ( int  Opc)
static

Definition at line 191 of file AArch64ConditionOptimizer.cpp.

References llvm_unreachable.

INITIALIZE_PASS_BEGIN ( AArch64ConditionOptimizer  ,
"aarch64-condopt ,
"AArch64 CondOpt Pass ,
false  ,
false   
)
static bool parseCond ( ArrayRef< MachineOperand Cond,
AArch64CC::CondCode CC 
)
static

Definition at line 279 of file AArch64ConditionOptimizer.cpp.

References llvm::ArrayRef< T >::size().

STATISTIC ( NumConditionsAdjusted  ,
"Number of conditions adjusted"   
)

Variable Documentation

aarch64 condopt

Definition at line 121 of file AArch64ConditionOptimizer.cpp.

aarch64 AArch64 CondOpt false

Definition at line 121 of file AArch64ConditionOptimizer.cpp.

aarch64 AArch64 CondOpt Pass

Definition at line 121 of file AArch64ConditionOptimizer.cpp.