Lines Matching refs:cl
30 static cl::SubCommand GraphDiff("graph-diff",
32 static cl::opt<std::string> GraphDiffInput1(cl::Positional,
33 cl::desc("<xray log file 1>"),
34 cl::Required, cl::sub(GraphDiff));
35 static cl::opt<std::string> GraphDiffInput2(cl::Positional,
36 cl::desc("<xray log file 2>"),
37 cl::Required, cl::sub(GraphDiff));
39 static cl::opt<bool>
41 cl::desc("Keep going on errors encountered"),
42 cl::sub(GraphDiff), cl::init(false));
43 static cl::alias GraphDiffKeepGoingA("k", cl::aliasopt(GraphDiffKeepGoing),
44 cl::desc("Alias for -keep-going"));
45 static cl::opt<bool>
47 cl::desc("Keep going on errors encountered in trace 1"),
48 cl::sub(GraphDiff), cl::init(false));
49 static cl::alias GraphDiffKeepGoing1A("k1", cl::aliasopt(GraphDiffKeepGoing1),
50 cl::desc("Alias for -keep-going-1"));
51 static cl::opt<bool>
53 cl::desc("Keep going on errors encountered in trace 2"),
54 cl::sub(GraphDiff), cl::init(false));
55 static cl::alias GraphDiffKeepGoing2A("k2", cl::aliasopt(GraphDiffKeepGoing2),
56 cl::desc("Alias for -keep-going-2"));
58 static cl::opt<std::string>
60 cl::desc("binary with the instrumentation map, or "
62 cl::value_desc("binary with xray_instr_map or yaml"),
63 cl::sub(GraphDiff), cl::init(""));
64 static cl::alias GraphDiffInstrMapA("m", cl::aliasopt(GraphDiffInstrMap),
65 cl::desc("Alias for -instr-map"));
66 static cl::opt<std::string>
68 cl::desc("binary with the instrumentation map, or "
70 cl::value_desc("binary with xray_instr_map or yaml"),
71 cl::sub(GraphDiff), cl::init(""));
72 static cl::alias GraphDiffInstrMap1A("m1", cl::aliasopt(GraphDiffInstrMap1),
73 cl::desc("Alias for -instr-map-1"));
74 static cl::opt<std::string>
76 cl::desc("binary with the instrumentation map, or "
78 cl::value_desc("binary with xray_instr_map or yaml"),
79 cl::sub(GraphDiff), cl::init(""));
80 static cl::alias GraphDiffInstrMap2A("m2", cl::aliasopt(GraphDiffInstrMap2),
81 cl::desc("Alias for -instr-map-2"));
83 static cl::opt<bool> GraphDiffDeduceSiblingCalls(
85 cl::desc("Deduce sibling calls when unrolling function call stacks"),
86 cl::sub(GraphDiff), cl::init(false));
87 static cl::alias
88 GraphDiffDeduceSiblingCallsA("d", cl::aliasopt(GraphDiffDeduceSiblingCalls),
89 cl::desc("Alias for -deduce-sibling-calls"));
90 static cl::opt<bool> GraphDiffDeduceSiblingCalls1(
92 cl::desc("Deduce sibling calls when unrolling function call stacks"),
93 cl::sub(GraphDiff), cl::init(false));
94 static cl::alias GraphDiffDeduceSiblingCalls1A(
95 "d1", cl::aliasopt(GraphDiffDeduceSiblingCalls1),
96 cl::desc("Alias for -deduce-sibling-calls-1"));
97 static cl::opt<bool> GraphDiffDeduceSiblingCalls2(
99 cl::desc("Deduce sibling calls when unrolling function call stacks"),
100 cl::sub(GraphDiff), cl::init(false));
101 static cl::alias GraphDiffDeduceSiblingCalls2A(
102 "d2", cl::aliasopt(GraphDiffDeduceSiblingCalls2),
103 cl::desc("Alias for -deduce-sibling-calls-2"));
105 static cl::opt<GraphRenderer::StatType> GraphDiffEdgeLabel(
106 "edge-label", cl::desc("Output graphs with edges labeled with this field"),
107 cl::value_desc("field"), cl::sub(GraphDiff),
108 cl::init(GraphRenderer::StatType::NONE),
109 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
125 static cl::alias GraphDiffEdgeLabelA("e", cl::aliasopt(GraphDiffEdgeLabel),
126 cl::desc("Alias for -edge-label"));
128 static cl::opt<GraphRenderer::StatType> GraphDiffEdgeColor(
129 "edge-color", cl::desc("Output graphs with edges colored by this field"),
130 cl::value_desc("field"), cl::sub(GraphDiff),
131 cl::init(GraphRenderer::StatType::NONE),
132 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
148 static cl::alias GraphDiffEdgeColorA("c", cl::aliasopt(GraphDiffEdgeColor),
149 cl::desc("Alias for -edge-color"));
151 static cl::opt<GraphRenderer::StatType> GraphDiffVertexLabel(
153 cl::desc("Output graphs with vertices labeled with this field"),
154 cl::value_desc("field"), cl::sub(GraphDiff),
155 cl::init(GraphRenderer::StatType::NONE),
156 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
172 static cl::alias GraphDiffVertexLabelA("v", cl::aliasopt(GraphDiffVertexLabel),
173 cl::desc("Alias for -vertex-label"));
175 static cl::opt<GraphRenderer::StatType> GraphDiffVertexColor(
177 cl::desc("Output graphs with vertices colored by this field"),
178 cl::value_desc("field"), cl::sub(GraphDiff),
179 cl::init(GraphRenderer::StatType::NONE),
180 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
196 static cl::alias GraphDiffVertexColorA("b", cl::aliasopt(GraphDiffVertexColor),
197 cl::desc("Alias for -vertex-color"));
199 static cl::opt<int> GraphDiffVertexLabelTrunc(
200 "vertex-label-trun", cl::desc("What length to truncate vertex labels to "),
201 cl::sub(GraphDiff), cl::init(40));
202 static cl::alias
203 GraphDiffVertexLabelTrunc1("t", cl::aliasopt(GraphDiffVertexLabelTrunc),
204 cl::desc("Alias for -vertex-label-trun"));
206 static cl::opt<std::string>
207 GraphDiffOutput("output", cl::value_desc("Output file"), cl::init("-"),
208 cl::desc("output file; use '-' for stdout"),
209 cl::sub(GraphDiff));
210 static cl::alias GraphDiffOutputA("o", cl::aliasopt(GraphDiffOutput),
211 cl::desc("Alias for -output"));
406 template <typename T> static T &ifSpecified(T &A, cl::alias &AA, T &B) { in ifSpecified()