LLVM API Documentation

AliasAnalysisCounter.cpp File Reference

#include "llvm/Analysis/Passes.h"
#include "llvm/Pass.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/CommandLine.h"
#include <iostream>

Include dependency graph for AliasAnalysisCounter.cpp:

Go to the source code of this file.

Functions

ModulePassllvm::createAliasAnalysisCounterPass ()

Variables

cl::opt< bool > PrintAll ("count-aa-print-all-queries", cl::ReallyHidden)
cl::opt< bool > PrintAllFailures ("count-aa-print-all-failed-queries", cl::ReallyHidden)
unsigned No
unsigned May
unsigned Must
unsigned NoMR
unsigned JustRef
unsigned JustMod
unsigned MR
const char * Name
ModuleM
RegisterOpt< AliasAnalysisCounter > X ("count-aa","Count Alias Analysis Query Responses")
RegisterAnalysisGroup< AliasAnalysis,
AliasAnalysisCounter > 
Y


Variable Documentation

unsigned JustMod

Definition at line 31 of file AliasAnalysisCounter.cpp.

unsigned JustRef

Definition at line 31 of file AliasAnalysisCounter.cpp.

Module* M

Definition at line 33 of file AliasAnalysisCounter.cpp.

Referenced by llvm::CallGraphNode::addCalledFunction(), llvm::DefaultIntrinsicLowering::AddPrototypes(), llvm::MachineDebugInfo::AnalyzeModule(), llvm::AssemblyWriter::AssemblyWriter(), llvm::BytecodeWriter::BytecodeWriter(), llvm::CachedWriter::CachedWriter(), CheckAllGraphs(), CheckVarargs(), llvm::CloneModule(), CountInternalUses(), llvm::Interpreter::create(), llvm::X86SharedAsmPrinter::doFinalization(), llvm::PhyRegAlloc::doFinalization(), llvm::FunctionPassManagerT::doFinalization(), llvm::BasicBlockPassManager::doFinalization(), llvm::ELFWriter::doFinalization(), llvm::X86IntelAsmPrinter::doInitialization(), llvm::X86SharedAsmPrinter::doInitialization(), llvm::FunctionPassManagerT::doInitialization(), llvm::BasicBlockPassManager::doInitialization(), llvm::ELFWriter::doInitialization(), llvm::AsmPrinter::doInitialization(), llvm::SDNode::dump(), llvm::ExecutionEngine::emitGlobals(), EnsureFunctionExists(), llvm::ExecutionEngine::ExecutionEngine(), llvm::ExistingModuleProvider::ExistingModuleProvider(), fillTypeNameTable(), PerFunctionInfo::FunctionStart(), GetAllDefinedSymbols(), llvm::Archive::getAllModules(), GetAllUndefinedSymbols(), llvm::MachineDebugInfo::getAnchoredDescriptors(), getArgumentPermutation(), llvm::GetBytecodeDependentLibraries(), llvm::GetBytecodeSymbols(), getCaption(), llvm::TargetMachineRegistry::getClosestStaticTargetForModule(), llvm::MachineDebugInfo::getGlobalVariablesUsing(), getGlobalVariablesUsing(), getModuleFromVal(), llvm::X86TargetMachine::getModuleMatchQuality(), llvm::SparcTargetMachine::getModuleMatchQuality(), llvm::PPCTargetMachine::getModuleMatchQuality(), llvm::IA64TargetMachine::getModuleMatchQuality(), llvm::AlphaTargetMachine::getModuleMatchQuality(), getPointerToNamedFunction(), getStringRef(), getSymbols(), getUpgradedIntrinsic(), getUpgradedUnaryFn(), llvm::CallGraph::initialize(), llvm::InlineFunction(), llvm::MachineBasicBlock::insert(), InsertInstrumentationCall(), llvm::InsertProfilingInitCall(), llvm::IntervalIterator< NodeTy, OrigContainer_t, GT, IGT >::IntervalIterator(), llvm::Archive::isBytecodeArchive(), LinkAppendingVars(), llvm::Linker::LinkInFile(), lle_X_fprintf(), lle_X_printf(), llvm::MachineOperand::MachineOperand(), llvm::Mangler::Mangler(), llvm::DSNode::mergeTypeInfo(), llvm::operator<<(), llvm::CachedWriter::operator<<(), llvm::ParseAssemblyString(), llvm::PPCSubtarget::PPCSubtarget(), llvm::EquivClassGraphs::print(), llvm::CompleteBUDataStructures::print(), llvm::TDDataStructures::print(), llvm::BUDataStructures::print(), llvm::LocalDataStructures::print(), llvm::FindUsedTypes::print(), printCollection(), PrintModRefResults(), PrintOps(), llvm::PMDebug::PrintPassInformation(), PrintResults(), ProcessGlobalsWithSameName(), llvm::BytecodeReader::releaseModule(), ReplaceCallWith(), ResolveFunctions(), ResolveGlobalVariables(), llvm::PassManager::run(), llvm::WriteBytecodePass::runOnModule(), llvm::TDDataStructures::runOnModule(), llvm::PrintModulePass::runOnModule(), llvm::ModulePassManager::runOnModule(), llvm::FunctionPass::runOnModule(), llvm::LocalDataStructures::runOnModule(), llvm::EquivClassGraphs::runOnModule(), llvm::CompleteBUDataStructures::runOnModule(), llvm::BUDataStructures::runOnModule(), llvm::PassManagerT< llvm::BBTraits >::runOnUnit(), RunParser(), llvm::ModulePassManager::runPass(), llvm::BasicBlockPassManager::runPass(), llvm::ModulePass::runPass(), llvm::BasicBlockPass::runPass(), llvm::RunVMAsmParser(), llvm::CachedWriter::setModule(), llvm::MachineDebugInfo::SetupCompileUnits(), llvm::SimplifyCFG(), llvm::SlotCalculator::SlotCalculator(), SolveQuadraticEquation(), llvm::TargetData::TargetData(), ToStr(), llvm::verifyModule(), llvm::AssemblyWriter::write(), llvm::WriteBytecodeToFile(), llvm::WriteTypeSymbolic(), llvm::X86Subtarget::X86Subtarget(), llvm::DebugScope::~DebugScope(), and llvm::DIE::~DIE().

unsigned May

Definition at line 30 of file AliasAnalysisCounter.cpp.

unsigned MR

Definition at line 31 of file AliasAnalysisCounter.cpp.

Referenced by llvm::X86JITInfo::relocate(), llvm::SparcV9JITInfo::relocate(), llvm::PPCJITInfo::relocate(), and llvm::AlphaJITInfo::relocate().

unsigned Must

Definition at line 30 of file AliasAnalysisCounter.cpp.

const char* Name

Definition at line 32 of file AliasAnalysisCounter.cpp.

Referenced by llvm::AllocaInst::AllocaInst(), BreakUpSubtract(), llvm::canConstantFoldCallTo(), llvm::Constant::Constant(), llvm::ConstantFoldCall(), llvm::ConvertExpressionToType(), ConvertOperandToType(), ConvertShiftToMul(), FoldTwoEntryPHINode(), getArgumentPermutation(), getBBVal(), llvm::Function::getIntrinsicID(), llvm::Value::getName(), llvm::SourceFileInfo::getName(), llvm::SDNode::getOperationName(), llvm::AlphaRegisterInfo::getPrettyName(), getUpgradedIntrinsic(), getUpgradedUnaryFn(), llvm::Mangler::getValueName(), llvm::Value::hasName(), LinkTypes(), llvm::MallocInst::MallocInst(), ParseGlobalVariable(), llvm::BytecodeReader::ParseSymbolTable(), llvm::PHINode::PHINode(), llvm::X86IntelAsmPrinter::printOp(), llvm::X86IntelAsmPrinter::printOperand(), llvm::X86ATTAsmPrinter::printOperand(), llvm::Function::renameLocalSymbols(), ReplaceCallWith(), llvm::ExecutionEngine::runStaticConstructorsDestructors(), llvm::SelectInst::SelectInst(), setTypeName(), setValueName(), llvm::ShiftInst::ShiftInst(), ShrinkGlobalToBoolean(), llvm::TerminatorInst::TerminatorInst(), llvm::UnaryInstruction::UnaryInstruction(), llvm::SelectionDAGLowering::visitCall(), and llvm::WriteGraph().

unsigned No

Definition at line 30 of file AliasAnalysisCounter.cpp.

unsigned NoMR

Definition at line 31 of file AliasAnalysisCounter.cpp.

cl::opt<bool> PrintAll("count-aa-print-all-queries", cl::ReallyHidden) [static]

cl::opt<bool> PrintAllFailures("count-aa-print-all-failed-queries", cl::ReallyHidden) [static]

RegisterOpt<AliasAnalysisCounter> X("count-aa","Count Alias Analysis Query Responses") [static]

Referenced by FindInOperandList().

RegisterAnalysisGroup<AliasAnalysis, AliasAnalysisCounter> Y [static]

Definition at line 114 of file AliasAnalysisCounter.cpp.

Referenced by llvm::cast(), and llvm::DSGraph::removeDeadNodes().