Lines Matching refs:cl
68 static cl::OptionCategory ToolOptions("Tool Options");
69 static cl::OptionCategory ViewOptions("View Options");
71 static cl::opt<std::string> InputFilename(cl::Positional,
72 cl::desc("<input file>"),
73 cl::cat(ToolOptions), cl::init("-"));
75 static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"),
76 cl::init("-"), cl::cat(ToolOptions),
77 cl::value_desc("filename"));
79 static cl::opt<std::string>
81 cl::desc("Target architecture. "
83 cl::cat(ToolOptions));
85 static cl::opt<std::string>
87 cl::desc("Target triple. See -version for available targets"),
88 cl::cat(ToolOptions));
90 static cl::opt<std::string>
92 cl::desc("Target a specific cpu type (-mcpu=help for details)"),
93 cl::value_desc("cpu-name"), cl::cat(ToolOptions), cl::init("native"));
95 static cl::list<std::string>
96 MATTRS("mattr", cl::CommaSeparated,
97 cl::desc("Target specific attributes (-mattr=help for details)"),
98 cl::value_desc("a1,+a2,-a3,..."), cl::cat(ToolOptions));
100 static cl::opt<bool> PrintJson("json",
101 cl::desc("Print the output in json format"),
102 cl::cat(ToolOptions), cl::init(false));
104 static cl::opt<int>
106 cl::desc("Syntax variant to use for output printing"),
107 cl::cat(ToolOptions), cl::init(-1));
109 static cl::opt<bool>
110 PrintImmHex("print-imm-hex", cl::cat(ToolOptions), cl::init(false),
111 cl::desc("Prefer hex format when printing immediate values"));
113 static cl::opt<unsigned> Iterations("iterations",
114 cl::desc("Number of iterations to run"),
115 cl::cat(ToolOptions), cl::init(0));
117 static cl::opt<unsigned>
118 DispatchWidth("dispatch", cl::desc("Override the processor dispatch width"),
119 cl::cat(ToolOptions), cl::init(0));
121 static cl::opt<unsigned>
123 cl::desc("Maximum number of physical registers which can "
125 cl::cat(ToolOptions), cl::init(0));
127 static cl::opt<unsigned>
128 MicroOpQueue("micro-op-queue-size", cl::Hidden,
129 cl::desc("Number of entries in the micro-op queue"),
130 cl::cat(ToolOptions), cl::init(0));
132 static cl::opt<unsigned>
133 DecoderThroughput("decoder-throughput", cl::Hidden,
134 cl::desc("Maximum throughput from the decoders "
136 cl::cat(ToolOptions), cl::init(0));
138 static cl::opt<bool>
140 cl::desc("Print register file statistics"),
141 cl::cat(ViewOptions), cl::init(false));
143 static cl::opt<bool> PrintDispatchStats("dispatch-stats",
144 cl::desc("Print dispatch statistics"),
145 cl::cat(ViewOptions), cl::init(false));
147 static cl::opt<bool>
148 PrintSummaryView("summary-view", cl::Hidden,
149 cl::desc("Print summary view (enabled by default)"),
150 cl::cat(ViewOptions), cl::init(true));
152 static cl::opt<bool> PrintSchedulerStats("scheduler-stats",
153 cl::desc("Print scheduler statistics"),
154 cl::cat(ViewOptions), cl::init(false));
156 static cl::opt<bool>
158 cl::desc("Print retire control unit statistics"),
159 cl::cat(ViewOptions), cl::init(false));
161 static cl::opt<bool> PrintResourcePressureView(
163 cl::desc("Print the resource pressure view (enabled by default)"),
164 cl::cat(ViewOptions), cl::init(true));
166 static cl::opt<bool> PrintTimelineView("timeline",
167 cl::desc("Print the timeline view"),
168 cl::cat(ViewOptions), cl::init(false));
170 static cl::opt<unsigned> TimelineMaxIterations(
172 cl::desc("Maximum number of iterations to print in timeline view"),
173 cl::cat(ViewOptions), cl::init(0));
175 static cl::opt<unsigned>
177 cl::desc("Maximum number of cycles in the timeline view, "
179 cl::cat(ViewOptions), cl::init(80));
181 static cl::opt<bool>
183 cl::desc("If set, assume that loads and stores do not alias"),
184 cl::cat(ToolOptions), cl::init(true));
186 static cl::opt<unsigned> LoadQueueSize("lqueue",
187 cl::desc("Size of the load queue"),
188 cl::cat(ToolOptions), cl::init(0));
190 static cl::opt<unsigned> StoreQueueSize("squeue",
191 cl::desc("Size of the store queue"),
192 cl::cat(ToolOptions), cl::init(0));
194 static cl::opt<bool>
196 cl::desc("Print instruction tables"),
197 cl::cat(ToolOptions), cl::init(false));
199 static cl::opt<bool> PrintInstructionInfoView(
201 cl::desc("Print the instruction info view (enabled by default)"),
202 cl::cat(ViewOptions), cl::init(true));
204 static cl::opt<bool> EnableAllStats("all-stats",
205 cl::desc("Print all hardware statistics"),
206 cl::cat(ViewOptions), cl::init(false));
208 static cl::opt<bool>
210 cl::desc("Print all views including hardware statistics"),
211 cl::cat(ViewOptions), cl::init(false));
213 static cl::opt<bool> EnableBottleneckAnalysis(
215 cl::desc("Enable bottleneck analysis (disabled by default)"),
216 cl::cat(ViewOptions), cl::init(false));
218 static cl::opt<bool> ShowEncoding(
220 cl::desc("Print encoding information in the instruction info view"),
221 cl::cat(ViewOptions), cl::init(false));
223 static cl::opt<bool> ShowBarriers(
225 cl::desc("Print memory barrier information in the instruction info view"),
226 cl::cat(ViewOptions), cl::init(false));
228 static cl::opt<bool> DisableCustomBehaviour(
230 cl::desc(
232 cl::cat(ViewOptions), cl::init(false));
269 static void processOptionImpl(cl::opt<bool> &O, const cl::opt<bool> &Default) { in processOptionImpl()
288 const cl::opt<bool> &Default = in processViewOptions()
320 cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion); in main()
322 cl::HideUnrelatedOptions({&ToolOptions, &ViewOptions}); in main()
325 cl::ParseCommandLineOptions(argc, argv, in main()