LLVM API Documentation
#include "llvm/Pass.h"#include "llvm/Analysis/Passes.h"#include "llvm/Analysis/ProfileInfo.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Namespaces | |
| namespace | llvm |
Defines | |
| #define | DEBUG_TYPE "profile-estimator" |
| #define | EDGE_ERROR(V1, V2) |
| #define | EDGE_WEIGHT(E) |
Functions | |
| FunctionPass * | llvm::createProfileEstimatorPass () |
| Pass * | llvm::createProfileEstimatorPass (const unsigned execcount) |
| static double | ignoreMissing (double w) |
Variables | |
| static cl::opt< double > | ProfileInfoExecCount ("profile-estimator-loop-weight", cl::init(10), cl::value_desc("loop-weight"), cl::desc("Number of loop executions used for profile-estimator")) |
| static RegisterPass < ProfileEstimatorPass > | X ("profile-estimator","Estimate profiling information", false, true) |
| static RegisterAnalysisGroup < ProfileInfo > | Y (X) |
| #define DEBUG_TYPE "profile-estimator" |
Definition at line 14 of file ProfileEstimatorPass.cpp.
| #define EDGE_ERROR | ( | V1, | |||
| V2 | ) |
| #define EDGE_WEIGHT | ( | E | ) |
| static double ignoreMissing | ( | double | w | ) | [static] |
Definition at line 81 of file ProfileEstimatorPass.cpp.
| std::set<BasicBlock*> BBisVisited |
Definition at line 36 of file ProfileEstimatorPass.cpp.
| double ExecCount |
Definition at line 34 of file ProfileEstimatorPass.cpp.
char ID [static] |
Definition at line 39 of file ProfileEstimatorPass.cpp.
Definition at line 35 of file ProfileEstimatorPass.cpp.
Referenced by llvm::AliasSetTracker::add(), llvm::LiveIntervals::addIntervalsForSpills(), AddressIsTaken(), llvm::MachineLoopInfo::addTopLevelLoop(), llvm::LoopInfo::addTopLevelLoop(), AllGlobalLoadUsesSimpleEnoughForHeapSRA(), AllUsesOfLoadedValueWillTrapIfNull(), AnalyzeGlobal(), llvm::MachineLoopInfo::begin(), llvm::LoopInfo::begin(), llvm::MachineLoopInfo::changeLoopFor(), llvm::LoopInfo::changeLoopFor(), llvm::MachineLoopInfo::changeTopLevelLoop(), llvm::LoopInfo::changeTopLevelLoop(), CleanupConstantGlobalUsers(), llvm::LiveIntervals::computeNumbering(), llvm::LPPassManager::deleteLoopFromQueue(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), EmitLiveInCopies(), llvm::PPCTargetLowering::EmitPartwordAtomicBinary(), llvm::MachineLoopInfo::empty(), llvm::LoopInfo::empty(), llvm::MachineLoopInfo::end(), llvm::LoopInfo::end(), EvaluateFunction(), FindAllMemoryUses(), llvm::FindAvailableLoadedValue(), llvm::LoopInfo::getBase(), llvm::MemoryDependenceAnalysis::getDependency(), GetHeapSROAValue(), llvm::MachineLoopInfo::getLoopDepth(), llvm::LoopInfo::getLoopDepth(), llvm::MachineLoopInfo::getLoopFor(), llvm::LoopInfo::getLoopFor(), llvm::LPPassManager::insertLoop(), llvm::isAllocaPromotable(), isEquivalentOperation(), llvm::Instruction::isIdenticalToWhenDefined(), llvm::MachineLoopInfo::isLoopHeader(), llvm::LoopInfo::isLoopHeader(), llvm::RSProfilers_std::isProfiling(), llvm::isSafeToLoadUnconditionally(), llvm::Instruction::isSameOperationAs(), llvm::LPPassManager::LPPassManager(), llvm::MachineLoopInfo::operator[](), llvm::LoopInfo::operator[](), OptimizeAwayTrappingUsesOfLoads(), OptimizeAwayTrappingUsesOfValue(), OptimizeGlobalAddressOfMalloc(), PerformHeapAllocSRoA(), llvm::LoopInfo::print(), llvm::MachineLoopInfo::releaseMemory(), llvm::LoopInfo::releaseMemory(), llvm::AliasSetTracker::remove(), llvm::MachineLoopInfo::removeBlock(), llvm::LoopInfo::removeBlock(), llvm::MachineLoopInfo::removeLoop(), llvm::LoopInfo::removeLoop(), llvm::LPPassManager::runOnFunction(), llvm::LiveStacks::scaleNumbering(), llvm::LiveIntervals::scaleNumbering(), llvm::SimplifyCFG(), llvm::SplitBlock(), llvm::SplitCriticalEdge(), TryToShrinkGlobalToBoolean(), and llvm::LoopDependencies::VisitLoop().
| std::map<Loop*,double> LoopExitWeights |
Definition at line 37 of file ProfileEstimatorPass.cpp.
cl::opt<double> ProfileInfoExecCount("profile-estimator-loop-weight", cl::init(10), cl::value_desc("loop-weight"), cl::desc("Number of loop executions used for profile-estimator")) [static] |
RegisterPass<ProfileEstimatorPass> X("profile-estimator","Estimate profiling information", false, true) [static] |
RegisterAnalysisGroup<ProfileInfo> Y(X) [static] |