LLVM  8.0.1
Namespaces | Macros | Functions | Variables
ARCBranchFinalize.cpp File Reference
#include "ARCInstrInfo.h"
#include "ARCTargetMachine.h"
#include "MCTargetDesc/ARCInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/Support/Debug.h"
#include <vector>
Include dependency graph for ARCBranchFinalize.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 

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 14 of file ARCBranchFinalize.cpp.

Function Documentation

◆ getBRccForPseudo()

static unsigned getBRccForPseudo ( MachineInstr MI)
static

Definition at line 100 of file ARCBranchFinalize.cpp.

References assert(), llvm::MachineInstr::getOpcode(), and isBRccPseudo().

Referenced by getCmpForPseudo().

◆ getCCForBRcc()

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

◆ getCmpForPseudo()

static unsigned getCmpForPseudo ( MachineInstr MI)
static

◆ INITIALIZE_PASS_BEGIN()

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

◆ isBRccPseudo()

static bool isBRccPseudo ( MachineInstr MI)
static

Definition at line 95 of file ARCBranchFinalize.cpp.

References llvm::MachineInstr::getOpcode().

Referenced by getBRccForPseudo(), and getCmpForPseudo().

Variable Documentation

◆ branches

arc branch ARC finalize branches

Definition at line 65 of file ARCBranchFinalize.cpp.

◆ false

arc branch ARC finalize false

Definition at line 65 of file ARCBranchFinalize.cpp.

◆ finalize

arc branch finalize