LLVM 19.0.0git
Macros | Functions | Variables
PPCCTRLoops.cpp File Reference
#include "PPC.h"
#include "PPCInstrInfo.h"
#include "PPCSubtarget.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.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 <cassert>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "ppc-ctrloops"
 

Functions

 STATISTIC (NumCTRLoops, "Number of CTR loops generated")
 
 STATISTIC (NumNormalLoops, "Number of normal compare + branch loops generated")
 
 INITIALIZE_PASS_BEGIN (PPCCTRLoops, DEBUG_TYPE, "PowerPC CTR loops generation", false, false) INITIALIZE_PASS_END(PPCCTRLoops
 

Variables

 DEBUG_TYPE
 
PowerPC CTR loops generation
 
PowerPC CTR loops false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ppc-ctrloops"

Definition at line 52 of file PPCCTRLoops.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( PPCCTRLoops  ,
DEBUG_TYPE  ,
"PowerPC CTR loops generation"  ,
false  ,
false   
)

◆ STATISTIC() [1/2]

STATISTIC ( NumCTRLoops  ,
"Number of CTR loops generated"   
)

◆ STATISTIC() [2/2]

STATISTIC ( NumNormalLoops  ,
"Number of normal compare + branch loops generated"   
)

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 90 of file PPCCTRLoops.cpp.

◆ false

PowerPC CTR loops false

Definition at line 91 of file PPCCTRLoops.cpp.

◆ generation

PowerPC CTR loops generation

Definition at line 90 of file PPCCTRLoops.cpp.