static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
A Module instance is used to store all the information related to an LLVM module. ...
Implements a dense probed hash-table based set.
bool runOnFunction(Function &F) override
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass...
void initializeDivergenceAnalysisPass(PassRegistry &)
void print(raw_ostream &OS, const Module *) const override
print - Print out the internal state of the pass.
Represent the analysis usage information of a pass.
bool isDivergent(const Value *V) const
FunctionPass class - This class is used to implement most global optimizations.
bool isUniform(const Value *V) const
static char ID
end namespace anonymous
LLVM Value Representation.
This class implements an extremely fast bulk output stream that can only output to a stream...