LLVM 20.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]

Public Member Functions

 SpeculativeExecutionPass (bool OnlyIfDivergentTarget=false)
 
PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
 
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 
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.
 

Detailed Description

Definition at line 71 of file SpeculativeExecution.h.

Constructor & Destructor Documentation

◆ SpeculativeExecutionPass()

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

Definition at line 346 of file SpeculativeExecution.cpp.

Member Function Documentation

◆ printPipeline()

void llvm::SpeculativeExecutionPass::printPipeline ( raw_ostream OS,
function_ref< StringRef(StringRef)>  MapClassName2PassName 
)

Definition at line 363 of file SpeculativeExecution.cpp.

References OS, and printPipeline().

Referenced by printPipeline().

◆ run()

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

◆ runImpl()

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

Definition at line 155 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: