LLVM
8.0.1
|
#include "llvm/CodeGen/DFAPacketizer.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBundle.h"
#include "llvm/CodeGen/ScheduleDAG.h"
#include "llvm/CodeGen/ScheduleDAGInstrs.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCInstrItineraries.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <iterator>
#include <memory>
#include <vector>
Go to the source code of this file.
Classes | |
class | llvm::DefaultVLIWScheduler |
Namespaces | |
llvm | |
This class represents lattice values for constants. | |
Macros | |
#define | DEBUG_TYPE "packets" |
Functions | |
static DFAInput | addDFAFuncUnits (DFAInput Inp, unsigned FuncUnits) |
static DFAInput | getDFAInsnInput (const std::vector< unsigned > &InsnClass) |
Return the DFAInput for an instruction class input vector. More... | |
Variables | |
static cl::opt< unsigned > | InstrLimit ("dfa-instr-limit", cl::Hidden, cl::init(0), cl::desc("If present, stops packetizing after N instructions")) |
static unsigned | InstrCount = 0 |
#define DEBUG_TYPE "packets" |
Definition at line 47 of file DFAPacketizer.cpp.
Definition at line 57 of file DFAPacketizer.cpp.
References DFA_MAX_RESOURCES.
Referenced by getDFAInsnInput(), and llvm::DFAPacketizer::getInsnInput().
Return the DFAInput for an instruction class input vector.
This function is used in both DFAPacketizer.cpp and in DFAPacketizerEmitter.cpp.
Definition at line 64 of file DFAPacketizer.cpp.
References addDFAFuncUnits(), assert(), and DFA_MAX_RESTERMS.
Referenced by llvm::DFAPacketizer::getInsnInput().
|
static |
Definition at line 52 of file DFAPacketizer.cpp.
Referenced by llvm::FPPassManager::doFinalization(), llvm::AnalysisResolver::findImplPass(), llvm::MachineFunction::getInstructionCount(), llvm::MachineTraceMetrics::getResources(), llvm::PMDataManager::initSizeRemarkInfo(), parseCond(), llvm::ILPValue::print(), llvm::LPPassManager::runOnFunction(), llvm::FPPassManager::runOnFunction(), llvm::TailDuplicator::shouldTailDuplicate(), and llvm::SchedDFSImpl::visitPostorderNode().
|
static |