LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/SpeculativeExecution.h"
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. | |
Definition at line 71 of file SpeculativeExecution.h.
llvm::SpeculativeExecutionPass::SpeculativeExecutionPass | ( | bool | OnlyIfDivergentTarget = false | ) |
Definition at line 346 of file SpeculativeExecution.cpp.
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().
PreservedAnalyses llvm::SpeculativeExecutionPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 350 of file SpeculativeExecution.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::preserveSet(), and 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().