Lines Matching refs:cl
43 static cl::opt<std::string>
44 InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-"));
46 static cl::opt<std::string>
47 OutputFilename("o", cl::desc("Output filename"),
48 cl::value_desc("filename"));
50 static cl::opt<bool>
51 ShowEncoding("show-encoding", cl::desc("Show instruction encodings"));
53 static cl::opt<bool>
54 ShowInst("show-inst", cl::desc("Show internal instruction representation"));
56 static cl::opt<bool>
58 cl::desc("Show instructions operands as parsed"));
60 static cl::opt<unsigned>
62 cl::desc("Syntax variant to use for output printing"));
64 static cl::opt<bool>
65 RelaxAll("mc-relax-all", cl::desc("Relax all fixups"));
67 static cl::opt<bool>
68 DisableCFI("disable-cfi", cl::desc("Do not use .cfi_* directives"));
70 static cl::opt<bool>
71 NoExecStack("mc-no-exec-stack", cl::desc("File doesn't need an exec stack"));
78 static cl::opt<OutputFileType>
79 FileType("filetype", cl::init(OFT_AssemblyFile),
80 cl::desc("Choose an output file type:"),
81 cl::values(
90 static cl::list<std::string>
91 IncludeDirs("I", cl::desc("Directory of include files"),
92 cl::value_desc("directory"), cl::Prefix);
94 static cl::opt<std::string>
95 ArchName("arch", cl::desc("Target arch to assemble for, "
98 static cl::opt<std::string>
99 TripleName("triple", cl::desc("Target triple to assemble for, "
102 static cl::opt<std::string>
104 cl::desc("Target a specific cpu type (-mcpu=help for details)"),
105 cl::value_desc("cpu-name"),
106 cl::init(""));
108 static cl::list<std::string>
110 cl::CommaSeparated,
111 cl::desc("Target specific attributes (-mattr=help for details)"),
112 cl::value_desc("a1,+a2,-a3,..."));
114 static cl::opt<Reloc::Model>
116 cl::desc("Choose relocation model"),
117 cl::init(Reloc::Default),
118 cl::values(
129 static cl::opt<llvm::CodeModel::Model>
131 cl::desc("Choose code model"),
132 cl::init(CodeModel::Default),
133 cl::values(clEnumValN(CodeModel::Default, "default",
145 static cl::opt<bool>
146 NoInitialTextSection("n", cl::desc("Don't assume assembly file starts "
149 static cl::opt<bool>
150 SaveTempLabels("L", cl::desc("Don't discard temporary labels"));
152 static cl::opt<bool>
153 GenDwarfForAssembly("g", cl::desc("Generate dwarf debugging info for assembly "
156 static cl::opt<std::string>
158 cl::desc("Specifies the debug info's compilation dir"));
160 static cl::opt<std::string>
162 cl::desc("Specifies the name we should consider the input file"));
172 static cl::opt<ActionType>
173 Action(cl::desc("Action to perform:"),
174 cl::init(AC_Assemble),
175 cl::values(clEnumValN(AC_AsLex, "as-lex",
353 cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion);
355 cl::ParseCommandLineOptions(argc, argv, "llvm machine code playground\n");