public:
ReadState(const ReadDescriptor &Desc, unsigned RegID)
: RD(&Desc), RegisterID(RegID), PRFID(0), DependentWrites(0),
- CyclesLeft(UNKNOWN_CYCLES), TotalCycles(0), CRD(),
- IsReady(true), IsZero(false), IndependentFromDef(false) {}
+ CyclesLeft(UNKNOWN_CYCLES), TotalCycles(0), CRD(), IsReady(true),
+ IsZero(false), IndependentFromDef(false) {}
const ReadDescriptor &getDescriptor() const { return *RD; }
unsigned getSchedClass() const { return RD->SchedClassID; }
CriticalRegDep CRD;
public:
- InstructionBase(const InstrDesc &D) : Desc(D), IsOptimizableMove(false) {}
+ InstructionBase(const InstrDesc &D)
+ : Desc(D), IsOptimizableMove(false), CRD() {}
SmallVectorImpl<WriteState> &getDefs() { return Defs; }
const ArrayRef<WriteState> getDefs() const { return Defs; }
cl::value_desc("filename"));
static cl::opt<std::string>
- ArchName("march", cl::desc("Target architecture. "
- "See -version for available targets"),
+ ArchName("march",
+ cl::desc("Target architecture. "
+ "See -version for available targets"),
cl::cat(ToolOptions));
static cl::opt<std::string>
WithColor::error() << IE.Message << '\n';
IP->printInst(&IE.Inst, SS, "", *STI);
SS.flush();
- WithColor::note() << "instruction: " << InstructionStr
- << '\n';
+ WithColor::note()
+ << "instruction: " << InstructionStr << '\n';
})) {
// Default case.
WithColor::error() << toString(std::move(NewE));
mca::PipelinePrinter Printer(*P);
if (PrintSummaryView)
- Printer.addView(llvm::make_unique<mca::SummaryView>(
- SM, Insts, DispatchWidth));
+ Printer.addView(
+ llvm::make_unique<mca::SummaryView>(SM, Insts, DispatchWidth));
if (EnableBottleneckAnalysis)
Printer.addView(llvm::make_unique<mca::BottleneckAnalysis>(SM));