LLVM 20.0.0git
Macros | Functions | Variables
PPCCTRLoopsVerify.cpp File Reference
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "PPC.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/ilist_iterator.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBundleIterator.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/Register.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/PassRegistry.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/GenericDomTreeConstruction.h"
#include "llvm/Support/Printable.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "ppc-ctrloops-verify"
 

Functions

 INITIALIZE_PASS_BEGIN (PPCCTRLoopsVerify, "ppc-ctr-loops-verify", "PowerPC CTR Loops Verify", false, false) INITIALIZE_PASS_END(PPCCTRLoopsVerify
 
static bool clobbersCTR (const MachineInstr &MI)
 
static bool verifyCTRBranch (MachineBasicBlock *MBB, MachineBasicBlock::iterator I)
 

Variables

ppc ctr loops verify
 
ppc ctr loops PowerPC CTR Loops Verify
 
ppc ctr loops PowerPC CTR Loops false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ppc-ctrloops-verify"

Definition at line 45 of file PPCCTRLoopsVerify.cpp.

Function Documentation

◆ clobbersCTR()

static bool clobbersCTR ( const MachineInstr MI)
static

Definition at line 81 of file PPCCTRLoopsVerify.cpp.

References MI.

Referenced by verifyCTRBranch().

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( PPCCTRLoopsVerify  ,
"ppc-ctr-loops-verify"  ,
"PowerPC CTR Loops Verify"  ,
false  ,
false   
)

◆ verifyCTRBranch()

static bool verifyCTRBranch ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  I 
)
static

Variable Documentation

◆ false

ppc ctr loops PowerPC CTR Loops false

Definition at line 75 of file PPCCTRLoopsVerify.cpp.

◆ verify

ppc ctr loops verify

◆ Verify

static void Verify