// An empty set of register classes means: this register file contains all
// the physical registers specified by the target.
if (Entries.empty()) {
- for (std::pair<WriteState *, IndexPlusCostPairTy> &Mapping : RegisterMappings)
+ for (std::pair<WriteState *, IndexPlusCostPairTy> &Mapping :
+ RegisterMappings)
Mapping.second = std::make_pair(RegisterFileIndex, 1U);
return;
}
void printDispatchStalls(llvm::raw_ostream &OS) const;
public:
- DispatchStatistics() : NumDispatched(0), NumCycles(0),
+ DispatchStatistics()
+ : NumDispatched(0), NumCycles(0),
HWStalls(HWStallEvent::LastGenericEvent) {}
void onInstructionEvent(const HWInstructionEvent &Event) override;
#include "llvm/MC/MCParser/MCTargetAsmParser.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCStreamer.h"
-#include "llvm/Support/Host.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/FileSystem.h"
+#include "llvm/Support/Host.h"
#include "llvm/Support/InitLLVM.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SourceMgr.h"
cl::desc("Print register file statistics"),
cl::init(false));
-static cl::opt<bool>
- PrintDispatchStats("dispatch-stats",
- cl::desc("Print dispatch statistics"),
- cl::init(false));
+static cl::opt<bool> PrintDispatchStats("dispatch-stats",
+ cl::desc("Print dispatch statistics"),
+ cl::init(false));
-static cl::opt<bool>
- PrintSchedulerStats("scheduler-stats",
- cl::desc("Print scheduler statistics"),
- cl::init(false));
+static cl::opt<bool> PrintSchedulerStats("scheduler-stats",
+ cl::desc("Print scheduler statistics"),
+ cl::init(false));
static cl::opt<bool>
PrintRetireStats("retire-stats",
- cl::desc("Print retire control unit statistics"),
- cl::init(false));
+ cl::desc("Print retire control unit statistics"),
+ cl::init(false));
static cl::opt<bool>
PrintResourcePressureView("resource-pressure",