LLVM API Documentation

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

llvm::RegisterAnalysis< PassName > Struct Template Reference

#include <PassSupport.h>

Inheritance diagram for llvm::RegisterAnalysis< PassName >:

Inheritance graph
[legend]
Collaboration diagram for llvm::RegisterAnalysis< PassName >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RegisterAnalysis (const char *PassArg, const char *Name, bool CFGOnly=false)

Detailed Description

template<typename PassName>
struct llvm::RegisterAnalysis< PassName >

RegisterAnalysis - Register something that is to show up in Analysis, this is just a shortcut for specifying RegisterPass... Analyses take a special argument that, when set to true, tells the system that the analysis ONLY depends on the shape of the CFG, so if a transformation preserves the CFG that the analysis is not invalidated.

Definition at line 262 of file PassSupport.h.


Constructor & Destructor Documentation

template<typename PassName>
llvm::RegisterAnalysis< PassName >::RegisterAnalysis const char *  PassArg,
const char *  Name,
bool  CFGOnly = false
[inline]
 

Definition at line 263 of file PassSupport.h.

References llvm::PassInfo::Analysis, CFGOnly, llvm::RegisterPassBase::registerPass(), and llvm::RegisterPassBase::setOnlyUsesCFG().


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