LLVM
8.0.1
|
#include "llvm/Transforms/Scalar/SpeculativeExecution.h"
Public Member Functions | |
SpeculativeExecutionPass (bool OnlyIfDivergentTarget=false) | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
bool | runImpl (Function &F, TargetTransformInfo *TTI) |
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... | |
Definition at line 70 of file SpeculativeExecution.h.
Definition at line 304 of file SpeculativeExecution.cpp.
PreservedAnalyses llvm::SpeculativeExecutionPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 308 of file SpeculativeExecution.cpp.
References llvm::PreservedAnalyses::all(), F(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::preserve(), llvm::PreservedAnalyses::preserveSet(), and runImpl().
bool llvm::SpeculativeExecutionPass::runImpl | ( | Function & | F, |
TargetTransformInfo * | TTI | ||
) |
Definition at line 153 of file SpeculativeExecution.cpp.
References B, llvm::dbgs(), llvm::dyn_cast(), llvm::BranchInst::getNumSuccessors(), llvm::BasicBlock::getSinglePredecessor(), llvm::BasicBlock::getSingleSuccessor(), llvm::BranchInst::getSuccessor(), llvm::BasicBlock::getTerminator(), llvm::TargetTransformInfo::hasBranchDivergence(), LLVM_DEBUG, runOnBasicBlock(), and llvm::BasicBlock::size().
Referenced by run().