LLVM
8.0.1
|
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SparseSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/MachineTraceMetrics.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "early-ifcvt" |
Functions | |
STATISTIC (NumDiamondsSeen, "Number of diamonds") | |
STATISTIC (NumDiamondsConv, "Number of diamonds converted") | |
STATISTIC (NumTrianglesSeen, "Number of triangles") | |
STATISTIC (NumTrianglesConv, "Number of triangles converted") | |
INITIALIZE_PASS_BEGIN (EarlyIfConverter, DEBUG_TYPE, "Early If Converter", false, false) INITIALIZE_PASS_END(EarlyIfConverter | |
static unsigned | adjCycles (unsigned Cyc, int Delta) |
Variables | |
static cl::opt< unsigned > | BlockInstrLimit ("early-ifcvt-limit", cl::init(30), cl::Hidden, cl::desc("Maximum number of instructions per speculated block.")) |
static cl::opt< bool > | Stress ("stress-early-ifcvt", cl::Hidden, cl::desc("Turn all knobs to 11")) |
DEBUG_TYPE | |
Early If | Converter |
Early If | false |
#define DEBUG_TYPE "early-ifcvt" |
Definition at line 42 of file EarlyIfConversion.cpp.
Definition at line 684 of file EarlyIfConversion.cpp.
References llvm::dbgs(), llvm::Depth, llvm::MachineTraceMetrics::InstrCycles::Depth, llvm::TargetSubtargetInfo::enableEarlyIfConversion(), llvm::MachineTraceMetrics::Trace::getCriticalPath(), llvm::MachineFunction::getFunction(), llvm::MachineTraceMetrics::Trace::getInstrCycles(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineTraceMetrics::Trace::getInstrSlack(), llvm::MachineFunction::getName(), llvm::MachineTraceMetrics::Trace::getPHIDepth(), llvm::MachineFunction::getRegInfo(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::MachineTraceMetrics::Trace::getResourceLength(), llvm::MCSubtargetInfo::getSchedModel(), llvm::MachineFunction::getSubtarget(), LLVM_DEBUG, Loops, MaxDepth, llvm::post_order(), llvm::SmallVectorTemplateBase< T >::push_back(), Stress, and llvm::MachineTraceMetrics::TS_MinInstrCount.
INITIALIZE_PASS_BEGIN | ( | EarlyIfConverter | , |
DEBUG_TYPE | , | ||
"Early If Converter" | , | ||
false | , | ||
false | |||
) |
STATISTIC | ( | NumDiamondsSeen | , |
"Number of diamonds" | |||
) |
STATISTIC | ( | NumDiamondsConv | , |
"Number of diamonds converted" | |||
) |
STATISTIC | ( | NumTrianglesSeen | , |
"Number of triangles" | |||
) |
STATISTIC | ( | NumTrianglesConv | , |
"Number of triangles converted" | |||
) |
|
static |
Early If Converter |
Definition at line 632 of file EarlyIfConversion.cpp.
DEBUG_TYPE |
Definition at line 632 of file EarlyIfConversion.cpp.
Early If false |
Definition at line 632 of file EarlyIfConversion.cpp.
Referenced by adjCycles().