|
LLVM
3.7.0
|
#include "llvm/ADT/SmallSet.h"#include "llvm/Analysis/TargetTransformInfo.h"#include "llvm/Analysis/ValueTracking.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Module.h"#include "llvm/IR/Operator.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"Go to the source code of this file.
Namespaces | |
| llvm | |
| Compute iterated dominance frontiers using a linear time algorithm. | |
Macros | |
| #define | DEBUG_TYPE "speculative-execution" |
Functions | |
| INITIALIZE_PASS_BEGIN (SpeculativeExecution,"speculative-execution","Speculatively execute instructions", false, false) INITIALIZE_PASS_END(SpeculativeExecution | |
| static unsigned | ComputeSpeculationCost (const Instruction *I, const TargetTransformInfo &TTI) |
| FunctionPass * | llvm::createSpeculativeExecutionPass () |
Variables | |
| static cl::opt< unsigned > | SpecExecMaxSpeculationCost ("spec-exec-max-speculation-cost", cl::init(7), cl::Hidden, cl::desc("Speculative execution is not applied to basic blocks where ""the cost of the instructions to speculatively execute ""exceeds this limit.")) |
| static cl::opt< unsigned > | SpecExecMaxNotHoisted ("spec-exec-max-not-hoisted", cl::init(5), cl::Hidden, cl::desc("Speculative execution is not applied to basic blocks where the ""number of instructions that would not be speculatively executed ""exceeds this limit.")) |
| speculative | execution |
| speculative Speculatively execute | instructions |
| speculative Speculatively execute | false |
| #define DEBUG_TYPE "speculative-execution" |
Definition at line 66 of file SpeculativeExecution.cpp.
|
static |
Definition at line 171 of file SpeculativeExecution.cpp.
References llvm::APIntOps::And(), llvm::Operator::getOpcode(), llvm::TargetTransformInfo::getUserCost(), llvm::APIntOps::Or(), llvm::MCID::Select, and llvm::APIntOps::Xor().
| INITIALIZE_PASS_BEGIN | ( | SpeculativeExecution | , |
| "speculative-execution" | , | ||
| "Speculatively execute instructions" | , | ||
| false | , | ||
| false | |||
| ) |
| speculative execution |
Definition at line 107 of file SpeculativeExecution.cpp.
| speculative Speculatively execute false |
Definition at line 107 of file SpeculativeExecution.cpp.
| speculative Speculatively execute instructions |
Definition at line 107 of file SpeculativeExecution.cpp.
|
static |
1.8.6