LLVM 22.0.0git
ARCBranchFinalize.cpp File Reference

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   "arc-branch-finalize"

Functions

void llvm::initializeARCBranchFinalizePass (PassRegistry &Registry)
FunctionPassllvm::createARCBranchFinalizePass ()
 INITIALIZE_PASS_BEGIN (ARCBranchFinalize, "arc-branch-finalize", "ARC finalize branches", false, false) INITIALIZE_PASS_END(ARCBranchFinalize
arc branch ARC finalize static false unsigned getCCForBRcc (unsigned CC)
static bool isBRccPseudo (MachineInstr *MI)
static unsigned getBRccForPseudo (MachineInstr *MI)
static unsigned getCmpForPseudo (MachineInstr *MI)

Variables

arc branch finalize
arc branch ARC finalize branches
arc branch ARC finalize false

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "arc-branch-finalize"

Definition at line 25 of file ARCBranchFinalize.cpp.

Function Documentation

◆ getBRccForPseudo()

unsigned getBRccForPseudo ( MachineInstr * MI)
static

Definition at line 100 of file ARCBranchFinalize.cpp.

References assert(), isBRccPseudo(), and MI.

◆ getCCForBRcc()

arc branch ARC finalize static false unsigned getCCForBRcc ( unsigned CC)
static

◆ getCmpForPseudo()

unsigned getCmpForPseudo ( MachineInstr * MI)
static

Definition at line 107 of file ARCBranchFinalize.cpp.

References assert(), isBRccPseudo(), and MI.

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( ARCBranchFinalize ,
"arc-branch-finalize" ,
"ARC finalize branches" ,
false ,
false  )

◆ isBRccPseudo()

bool isBRccPseudo ( MachineInstr * MI)
static

Definition at line 95 of file ARCBranchFinalize.cpp.

References MI.

Referenced by getBRccForPseudo(), and getCmpForPseudo().

Variable Documentation

◆ branches

arc branch ARC finalize branches

Definition at line 66 of file ARCBranchFinalize.cpp.

◆ false

arc branch ARC finalize false

Definition at line 66 of file ARCBranchFinalize.cpp.

◆ finalize