13#ifndef LLVM_PASSINFO_H 
   14#define LLVM_PASSINFO_H 
   38  const bool IsCFGOnlyPass = 
false;      
 
   39  const bool IsAnalysis;                 
 
   46           bool isCFGOnly, 
bool is_analysis)
 
   47      : PassName(
name), PassArgument(arg), PassID(pi), IsCFGOnlyPass(isCFGOnly),
 
   48        IsAnalysis(is_analysis), NormalCtor(normal) {}
 
 
   66  bool isPassID(
const void *IDPtr)
 const { 
return PassID == IDPtr; }
 
   87           "Cannot call createPass on PassInfo without default ctor!");
 
 
 
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
 
bool isPassID(const void *IDPtr) const
Return true if this PassID implements the specified ID pointer.
 
PassInfo & operator=(const PassInfo &)=delete
 
NormalCtor_t getNormalCtor() const
getNormalCtor - Return a pointer to a function, that when called, creates an instance of the pass and...
 
PassInfo(const PassInfo &)=delete
 
void setNormalCtor(NormalCtor_t Ctor)
 
PassInfo(StringRef name, StringRef arg, const void *pi, NormalCtor_t normal, bool isCFGOnly, bool is_analysis)
PassInfo ctor - Do not call this directly, this should only be invoked through RegisterPass.
 
StringRef getPassArgument() const
getPassArgument - Return the command line option that may be passed to 'opt' that will cause this pas...
 
StringRef getPassName() const
getPassName - Return the friendly name for the pass, never returns null
 
bool isCFGOnlyPass() const
isCFGOnlyPass - return true if this pass only looks at the CFG for the function.
 
Pass * createPass() const
createPass() - Use this method to create an instance of this pass.
 
const void * getTypeInfo() const
getTypeInfo - Return the id object for the pass... TODO : Rename
 
Pass interface - Implemented by all 'passes'.
 
StringRef - Represent a constant reference to a string, i.e.
 
This is an optimization pass for GlobalISel generic memory operations.