Lines Matching refs:cl

31 static cl::SubCommand GraphDiff("graph-diff",
33 static cl::opt<std::string> GraphDiffInput1(cl::Positional,
34 cl::desc("<xray log file 1>"),
35 cl::Required, cl::sub(GraphDiff));
36 static cl::opt<std::string> GraphDiffInput2(cl::Positional,
37 cl::desc("<xray log file 2>"),
38 cl::Required, cl::sub(GraphDiff));
40 static cl::opt<bool>
42 cl::desc("Keep going on errors encountered"),
43 cl::sub(GraphDiff), cl::init(false));
44 static cl::alias GraphDiffKeepGoingA("k", cl::aliasopt(GraphDiffKeepGoing),
45 cl::desc("Alias for -keep-going"));
46 static cl::opt<bool>
48 cl::desc("Keep going on errors encountered in trace 1"),
49 cl::sub(GraphDiff), cl::init(false));
50 static cl::alias GraphDiffKeepGoing1A("k1", cl::aliasopt(GraphDiffKeepGoing1),
51 cl::desc("Alias for -keep-going-1"));
52 static cl::opt<bool>
54 cl::desc("Keep going on errors encountered in trace 2"),
55 cl::sub(GraphDiff), cl::init(false));
56 static cl::alias GraphDiffKeepGoing2A("k2", cl::aliasopt(GraphDiffKeepGoing2),
57 cl::desc("Alias for -keep-going-2"));
59 static cl::opt<std::string>
61 cl::desc("binary with the instrumentation map, or "
63 cl::value_desc("binary with xray_instr_map or yaml"),
64 cl::sub(GraphDiff), cl::init(""));
65 static cl::alias GraphDiffInstrMapA("m", cl::aliasopt(GraphDiffInstrMap),
66 cl::desc("Alias for -instr-map"));
67 static cl::opt<std::string>
69 cl::desc("binary with the instrumentation map, or "
71 cl::value_desc("binary with xray_instr_map or yaml"),
72 cl::sub(GraphDiff), cl::init(""));
73 static cl::alias GraphDiffInstrMap1A("m1", cl::aliasopt(GraphDiffInstrMap1),
74 cl::desc("Alias for -instr-map-1"));
75 static cl::opt<std::string>
77 cl::desc("binary with the instrumentation map, or "
79 cl::value_desc("binary with xray_instr_map or yaml"),
80 cl::sub(GraphDiff), cl::init(""));
81 static cl::alias GraphDiffInstrMap2A("m2", cl::aliasopt(GraphDiffInstrMap2),
82 cl::desc("Alias for -instr-map-2"));
84 static cl::opt<bool> GraphDiffDeduceSiblingCalls(
86 cl::desc("Deduce sibling calls when unrolling function call stacks"),
87 cl::sub(GraphDiff), cl::init(false));
88 static cl::alias
89 GraphDiffDeduceSiblingCallsA("d", cl::aliasopt(GraphDiffDeduceSiblingCalls),
90 cl::desc("Alias for -deduce-sibling-calls"));
91 static cl::opt<bool> GraphDiffDeduceSiblingCalls1(
93 cl::desc("Deduce sibling calls when unrolling function call stacks"),
94 cl::sub(GraphDiff), cl::init(false));
95 static cl::alias GraphDiffDeduceSiblingCalls1A(
96 "d1", cl::aliasopt(GraphDiffDeduceSiblingCalls1),
97 cl::desc("Alias for -deduce-sibling-calls-1"));
98 static cl::opt<bool> GraphDiffDeduceSiblingCalls2(
100 cl::desc("Deduce sibling calls when unrolling function call stacks"),
101 cl::sub(GraphDiff), cl::init(false));
102 static cl::alias GraphDiffDeduceSiblingCalls2A(
103 "d2", cl::aliasopt(GraphDiffDeduceSiblingCalls2),
104 cl::desc("Alias for -deduce-sibling-calls-2"));
106 static cl::opt<GraphRenderer::StatType> GraphDiffEdgeLabel(
107 "edge-label", cl::desc("Output graphs with edges labeled with this field"),
108 cl::value_desc("field"), cl::sub(GraphDiff),
109 cl::init(GraphRenderer::StatType::NONE),
110 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
126 static cl::alias GraphDiffEdgeLabelA("e", cl::aliasopt(GraphDiffEdgeLabel),
127 cl::desc("Alias for -edge-label"));
129 static cl::opt<GraphRenderer::StatType> GraphDiffEdgeColor(
130 "edge-color", cl::desc("Output graphs with edges colored by this field"),
131 cl::value_desc("field"), cl::sub(GraphDiff),
132 cl::init(GraphRenderer::StatType::NONE),
133 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
149 static cl::alias GraphDiffEdgeColorA("c", cl::aliasopt(GraphDiffEdgeColor),
150 cl::desc("Alias for -edge-color"));
152 static cl::opt<GraphRenderer::StatType> GraphDiffVertexLabel(
154 cl::desc("Output graphs with vertices labeled with this field"),
155 cl::value_desc("field"), cl::sub(GraphDiff),
156 cl::init(GraphRenderer::StatType::NONE),
157 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
173 static cl::alias GraphDiffVertexLabelA("v", cl::aliasopt(GraphDiffVertexLabel),
174 cl::desc("Alias for -vertex-label"));
176 static cl::opt<GraphRenderer::StatType> GraphDiffVertexColor(
178 cl::desc("Output graphs with vertices colored by this field"),
179 cl::value_desc("field"), cl::sub(GraphDiff),
180 cl::init(GraphRenderer::StatType::NONE),
181 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
197 static cl::alias GraphDiffVertexColorA("b", cl::aliasopt(GraphDiffVertexColor),
198 cl::desc("Alias for -vertex-color"));
200 static cl::opt<int> GraphDiffVertexLabelTrunc(
201 "vertex-label-trun", cl::desc("What length to truncate vertex labels to "),
202 cl::sub(GraphDiff), cl::init(40));
203 static cl::alias
204 GraphDiffVertexLabelTrunc1("t", cl::aliasopt(GraphDiffVertexLabelTrunc),
205 cl::desc("Alias for -vertex-label-trun"));
207 static cl::opt<std::string>
208 GraphDiffOutput("output", cl::value_desc("Output file"), cl::init("-"),
209 cl::desc("output file; use '-' for stdout"),
210 cl::sub(GraphDiff));
211 static cl::alias GraphDiffOutputA("o", cl::aliasopt(GraphDiffOutput),
212 cl::desc("Alias for -output"));
407 template <typename T> static T &ifSpecified(T &A, cl::alias &AA, T &B) { in ifSpecified()