LLVM API Documentation


Public Member Functions | |
| SCCP () | |
| bool | runOnFunction (Function &F) |
| virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
Static Public Attributes | |
| char | ID = 0 |
Definition at line 1498 of file SCCP.cpp.
|
|
|
|
|
getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below. Reimplemented from llvm::Pass. Definition at line 1507 of file SCCP.cpp. References llvm::AnalysisUsage::setPreservesCFG(). |
|
|
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass. Implements llvm::FunctionPass. Definition at line 1526 of file SCCP.cpp. References llvm::Function::arg_begin(), llvm::Function::arg_end(), llvm::SmallVectorImpl< T >::back(), llvm::Function::begin(), DOUT, llvm::SmallVectorImpl< T >::empty(), llvm::Function::end(), llvm::Instruction::eraseFromParent(), llvm::Value::getNameStart(), llvm::Value::getType(), SCCPSolver::getValueMapping(), SCCPSolver::isBlockExecutable(), LatticeVal, SCCPSolver::MarkBlockExecutable(), SCCPSolver::markOverdefined(), llvm::SmallVectorImpl< T >::pop_back(), llvm::SmallVectorImpl< T >::push_back(), llvm::Value::replaceAllUsesWith(), SCCPSolver::ResolvedUndefsIn(), SCCPSolver::Solve(), and llvm::Value::use_empty(). |
|
|
|