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

#include "llvm/Transforms/Scalar/SpeculativeExecution.h"

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

Public Member Functions

 SpeculativeExecutionPass (bool OnlyIfDivergentTarget=false)
 
PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
 
bool runImpl (Function &F, TargetTransformInfo *TTI)
 
- Public Member Functions inherited from llvm::PassInfoMixin< SpeculativeExecutionPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< SpeculativeExecutionPass >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

Detailed Description

Definition at line 69 of file SpeculativeExecution.h.

Constructor & Destructor Documentation

◆ SpeculativeExecutionPass()

llvm::SpeculativeExecutionPass::SpeculativeExecutionPass ( bool  OnlyIfDivergentTarget = false)

Definition at line 333 of file SpeculativeExecution.cpp.

Member Function Documentation

◆ run()

PreservedAnalyses llvm::SpeculativeExecutionPass::run ( Function F,
FunctionAnalysisManager AM 
)

◆ runImpl()

bool llvm::SpeculativeExecutionPass::runImpl ( Function F,
TargetTransformInfo TTI 
)

Definition at line 154 of file SpeculativeExecution.cpp.

References B, llvm::dbgs(), F, llvm::TargetTransformInfo::hasBranchDivergence(), and LLVM_DEBUG.

Referenced by run().


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