LLVM 17.0.0git
|
Divergence analysis frontend for GPU kernels. More...
#include "llvm/Analysis/DivergenceAnalysis.h"
Public Types | |
using | Result = DivergenceInfo |
Public Member Functions | |
Result | run (Function &F, FunctionAnalysisManager &AM) |
Runs the divergence analysis on @F, a GPU kernel. | |
![]() | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
![]() | |
static AnalysisKey * | ID () |
Returns an opaque, unique ID for this analysis type. | |
![]() | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Divergence analysis frontend for GPU kernels.
Definition at line 185 of file DivergenceAnalysis.h.
Definition at line 191 of file DivergenceAnalysis.h.
DivergenceAnalysis::Result DivergenceAnalysis::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Runs the divergence analysis on @F, a GPU kernel.
Definition at line 382 of file DivergenceAnalysis.cpp.
References F, and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult().