LLVM 22.0.0git
AArch64ConditionOptimizer.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "aarch64-condopt"

Functions

 STATISTIC (NumConditionsAdjusted, "Number of conditions adjusted")
 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

◆ DEBUG_TYPE

#define DEBUG_TYPE   "aarch64-condopt"

Definition at line 88 of file AArch64ConditionOptimizer.cpp.

Function Documentation

◆ getAdjustedCmp()

◆ getComplementOpc()

int getComplementOpc ( int Opc)
static

Definition at line 216 of file AArch64ConditionOptimizer.cpp.

References llvm_unreachable, and Opc.

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( AArch64ConditionOptimizer ,
"aarch64-condopt" ,
"AArch64 CondOpt Pass" ,
false ,
false  )

◆ parseCond()

bool parseCond ( ArrayRef< MachineOperand > Cond,
AArch64CC::CondCode & CC )
static

Definition at line 302 of file AArch64ConditionOptimizer.cpp.

References assert(), Cond, and llvm::getImm().

◆ STATISTIC()

STATISTIC ( NumConditionsAdjusted ,
"Number of conditions adjusted"  )

References MRI, and TII.

Variable Documentation

◆ condopt

aarch64 condopt

Definition at line 128 of file AArch64ConditionOptimizer.cpp.

◆ false

aarch64 AArch64 CondOpt false

Definition at line 129 of file AArch64ConditionOptimizer.cpp.

◆ Pass

aarch64 AArch64 CondOpt Pass

Definition at line 129 of file AArch64ConditionOptimizer.cpp.