LLVM 20.0.0git
|
#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/Debug.h"
#include "llvm/Support/ErrorHandling.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 |
#define DEBUG_TYPE "ppc-ctrloops-verify" |
Definition at line 43 of file PPCCTRLoopsVerify.cpp.
|
static |
Definition at line 79 of file PPCCTRLoopsVerify.cpp.
References MI.
Referenced by verifyCTRBranch().
INITIALIZE_PASS_BEGIN | ( | PPCCTRLoopsVerify | , |
"ppc-ctr-loops-verify" | , | ||
"PowerPC CTR Loops Verify" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 93 of file PPCCTRLoopsVerify.cpp.
References llvm::append_range(), llvm::MachineBasicBlock::begin(), llvm::MachineFunction::begin(), clobbersCTR(), llvm::SmallSet< T, N, C >::count(), llvm::dbgs(), llvm::SmallVectorBase< Size_T >::empty(), llvm::MachineBasicBlock::end(), llvm::MachineBasicBlock::getFullName(), llvm::MachineBasicBlock::getLastNonDebugInstr(), llvm::MachineBasicBlock::getParent(), I, llvm::SmallSet< T, N, C >::insert(), LLVM_DEBUG, MBB, llvm::SmallVectorImpl< T >::pop_back_val(), llvm::MachineBasicBlock::predecessors(), and llvm::printMBBReference().
Definition at line 73 of file PPCCTRLoopsVerify.cpp.
ppc ctr loops verify |
Definition at line 72 of file PPCCTRLoopsVerify.cpp.
Referenced by llvm::AArch64LegalizerInfo::AArch64LegalizerInfo(), llvm::AArch64RegisterBankInfo::AArch64RegisterBankInfo(), llvm::ARMLegalizerInfo::ARMLegalizerInfo(), llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::end(), llvm::MipsLegalizerInfo::MipsLegalizerInfo(), llvm::ScalarEvolutionVerifierPass::run(), llvm::JumpThreadingPass::run(), llvm::SPIRVLegalizerInfo::SPIRVLegalizerInfo(), and llvm::X86LegalizerInfo::X86LegalizerInfo().
static void Verify |
Definition at line 73 of file PPCCTRLoopsVerify.cpp.
Referenced by llvm::TargetPassConfig::addVerifyPass(), llvm::sandboxir::User::getOperandUseDefault(), llvm::sandboxir::GlobalObject::getOperandUseInternal(), llvm::sandboxir::Constant::getOperandUseInternal(), llvm::GVNPass::ValueTable::lookup(), llvm::SafepointIRVerifierPass::run(), llvm::dwarf_linker::classic::DWARFLinker::setVerifyInputDWARF(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::setVerifyInputDWARF(), llvm::ExecutionEngine::setVerifyModules(), and llvm::EngineBuilder::setVerifyModules().