Go to the documentation of this file.
15 #ifndef LLVM_ANALYSIS_LEGACYDIVERGENCEANALYSIS_H
16 #define LLVM_ANALYSIS_LEGACYDIVERGENCEANALYSIS_H
27 class TargetTransformInfo;
62 bool shouldUseGPUDivergenceAnalysis(
const Function &
F,
66 std::unique_ptr<DivergenceInfo> gpuDA;
76 #endif // LLVM_ANALYSIS_LEGACYDIVERGENCEANALYSIS_H
bool isDivergentUse(const Use *U) const
This is an optimization pass for GlobalISel generic memory operations.
LegacyDivergenceAnalysis()
Represent the analysis usage information of a pass.
This class implements an extremely fast bulk output stream that can only output to a stream.
void print(raw_ostream &OS, const Module *) const override
print - Print out the internal state of the pass.
bool runOnFunction(Function &F) override
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
void removeValue(const Value *V)
A Module instance is used to store all the information related to an LLVM module.
Machine Check Debug Module
bool isDivergent(const Value *V) const
bool isUniform(const Value *V) const
bool erase(const ValueT &V)
FunctionPass class - This class is used to implement most global optimizations.
LLVM Value Representation.
A Use represents the edge between a Value definition and its users.
bool isUniformUse(const Use *U) const