LLVM  14.0.0git
Public Types | Public Member Functions | List of all members
llvm::DivergenceAnalysis Class Reference

Divergence analysis frontend for GPU kernels. More...

#include "llvm/Analysis/DivergenceAnalysis.h"

Inheritance diagram for llvm::DivergenceAnalysis:
Inheritance graph
[legend]
Collaboration diagram for llvm::DivergenceAnalysis:
Collaboration graph
[legend]

Public Types

using Result = DivergenceInfo
 

Public Member Functions

Result run (Function &F, FunctionAnalysisManager &AM)
 Runs the divergence analysis on @F, a GPU kernel. More...
 
- Public Member Functions inherited from llvm::PassInfoMixin< DivergenceAnalysis >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::AnalysisInfoMixin< DivergenceAnalysis >
static AnalysisKeyID ()
 Returns an opaque, unique ID for this analysis type. More...
 
- Static Public Member Functions inherited from llvm::PassInfoMixin< DivergenceAnalysis >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

Detailed Description

Divergence analysis frontend for GPU kernels.

Definition at line 186 of file DivergenceAnalysis.h.

Member Typedef Documentation

◆ Result

Definition at line 192 of file DivergenceAnalysis.h.

Member Function Documentation

◆ run()

DivergenceAnalysis::Result DivergenceAnalysis::run ( Function F,
FunctionAnalysisManager AM 
)

Runs the divergence analysis on @F, a GPU kernel.

Definition at line 383 of file DivergenceAnalysis.cpp.

References F, and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult().


The documentation for this class was generated from the following files: