LLVM API Documentation
#include "llvm/Transforms/Scalar.h"#include "llvm/ADT/Statistic.h"#include "llvm/IR/BasicBlock.h"#include "llvm/IR/Constants.h"#include "llvm/IR/Function.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Intrinsics.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/MDBuilder.h"#include "llvm/IR/Metadata.h"#include "llvm/Pass.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include <vector>
Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "lower-expect-intrinsic" |
Functions | |
| STATISTIC (IfHandled,"Number of 'expect' intrinsic instructions handled") | |
| INITIALIZE_PASS (LowerExpectIntrinsic,"lower-expect","Lower 'expect' ""Intrinsics", false, false) FunctionPass *llvm | |
Variables | |
| static cl::opt< uint32_t > | LikelyBranchWeight ("likely-branch-weight", cl::Hidden, cl::init(64), cl::desc("Weight of the branch likely to be taken (default = 64)")) |
| static cl::opt< uint32_t > | UnlikelyBranchWeight ("unlikely-branch-weight", cl::Hidden, cl::init(4), cl::desc("Weight of the branch unlikely to be taken (default = 4)")) |
| #define DEBUG_TYPE "lower-expect-intrinsic" |
Definition at line 14 of file LowerExpectIntrinsic.cpp.
| INITIALIZE_PASS | ( | LowerExpectIntrinsic | , |
| "lower-expect" | , | ||
| "Lower 'expect' ""Intrinsics" | , | ||
| false | , | ||
| false | |||
| ) |
Definition at line 169 of file LowerExpectIntrinsic.cpp.
| STATISTIC | ( | IfHandled | , |
| "Number of 'expect' intrinsic instructions handled" | |||
| ) |
|
static |