LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SCCP Struct Reference

Inheritance diagram for SCCP:

Inheritance graph
[legend]
Collaboration diagram for SCCP:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SCCP ()
bool runOnFunction (Function &F)
virtual void getAnalysisUsage (AnalysisUsage &AU) const

Static Public Attributes

char ID = 0

Detailed Description

SCCP Class - This class uses the SCCPSolver to implement a per-function Sparse Conditional Constant Propagator.

Definition at line 1498 of file SCCP.cpp.


Constructor & Destructor Documentation

SCCP::SCCP  )  [inline]
 

Definition at line 1500 of file SCCP.cpp.


Member Function Documentation

virtual void SCCP::getAnalysisUsage AnalysisUsage AU  )  const [inline, virtual]
 

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().

bool SCCP::runOnFunction Function F  )  [virtual]
 

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().


Member Data Documentation

char SCCP::ID = 0 [static]
 

Definition at line 1513 of file SCCP.cpp.


The documentation for this struct was generated from the following file:


This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.