/frameworks/compile/mclinker/tools/mcld/lib/ |
H A D | DynamicSectionOptions.cpp | 16 llvm::cl::opt<std::string> ArgEntry("e", 17 llvm::cl::desc("Use the explicit symbol as the entrance of your program."), 18 llvm::cl::value_desc("entry"), 19 llvm::cl::ValueRequired); 21 llvm::cl::alias ArgEntryAlias("entry", 22 llvm::cl::desc("alias for -e"), 23 llvm::cl::aliasopt(ArgEntry)); 25 llvm::cl::opt<bool> ArgBsymbolic("Bsymbolic", 26 llvm::cl::ZeroOrMore, 27 llvm::cl [all...] |
H A D | OptimizationOptions.cpp | 18 llvm::cl::opt<bool, true> ArgGCSectionsFlag("gc-sections", 19 llvm::cl::ZeroOrMore, 20 llvm::cl::location(ArgGCSections), 21 llvm::cl::desc("Enable garbage collection of unused input sections."), 22 llvm::cl::init(false)); 24 llvm::cl::opt<bool, true, llvm::cl::FalseParser> ArgNoGCSectionsFlag("no-gc-sections", 25 llvm::cl::ZeroOrMore, 26 llvm::cl::location(ArgGCSections), 27 llvm::cl [all...] |
H A D | SymbolOptions.cpp | 15 llvm::cl::list<std::string> ArgForceUndefined("u", 16 llvm::cl::ZeroOrMore, 17 llvm::cl::desc("Force symbol to be undefined in the output file"), 18 llvm::cl::value_desc("symbol")); 20 llvm::cl::alias ArgForceUndefinedAlias("undefined", 21 llvm::cl::ZeroOrMore, 22 llvm::cl::desc("alias for -u"), 23 llvm::cl::aliasopt(ArgForceUndefined)); 25 llvm::cl::opt<std::string> ArgVersionScript("version-script", 26 llvm::cl [all...] |
H A D | OutputFormatOptions.cpp | 15 llvm::cl::opt<mcld::sys::fs::Path, 17 llvm::cl::parser<mcld::sys::fs::Path> > ArgOutputFilename("o", 18 llvm::cl::desc("Output filename"), 19 llvm::cl::value_desc("filename")); 21 llvm::cl::alias AliasOutputFilename("output", 22 llvm::cl::desc("alias for -o"), 23 llvm::cl::aliasopt(ArgOutputFilename)); 25 llvm::cl::opt<mcld::LinkerConfig::CodeGenType> ArgFileType("filetype", 26 llvm::cl::init(mcld::LinkerConfig::Exec), 27 llvm::cl [all...] |
H A D | TargetControlOptions.cpp | 15 llvm::cl::opt<int> ArgGPSize("G", 16 llvm::cl::desc("Set the maximum size of objects to be optimized using GP"), 17 llvm::cl::init(8)); 19 llvm::cl::opt<bool> ArgWarnSharedTextrel("warn-shared-textrel", 20 llvm::cl::ZeroOrMore, 21 llvm::cl::desc("Warn if adding DT_TEXTREL in a shared object."), 22 llvm::cl::init(false)); 25 llvm::cl::opt<bool> ArgFIXCA8("fix-cortex-a8", 26 llvm::cl::desc("Enable Cortex-A8 Thumb-2 branch erratum fix"), 27 llvm::cl [all...] |
H A D | PreferenceOptions.cpp | 34 llvm::cl::opt<bool> ArgTrace("t", 35 llvm::cl::desc("Print the names of the input files as ld processes them.")); 37 llvm::cl::alias ArgTraceAlias("trace", 38 llvm::cl::desc("alias for -t"), 39 llvm::cl::aliasopt(ArgTrace)); 41 llvm::cl::opt<int> ArgVerbose("verbose", 42 llvm::cl::init(-1), 43 llvm::cl::desc("Display the version number for ld and list the\n" 46 llvm::cl::opt<bool> ArgVersion("V", 47 llvm::cl [all...] |
H A D | SearchPathOptions.cpp | 16 llvm::cl::opt<mcld::sys::fs::Path, 18 llvm::cl::parser<mcld::sys::fs::Path> > ArgSysRoot("sysroot", 19 llvm::cl::desc("Use directory as the location of the sysroot"), 20 llvm::cl::value_desc("directory"), 21 llvm::cl::ValueRequired); 23 llvm::cl::list<std::string, 25 llvm::cl::SearchDirParser> ArgSearchDirList("L", 26 llvm::cl::ZeroOrMore, 27 llvm::cl::desc("Add [searchdir] to the list of search paths"), 28 llvm::cl [all...] |
H A D | PositionalOptions.cpp | 22 llvm::cl::list<mcld::sys::fs::Path> ArgInputObjectFiles(llvm::cl::Positional, 23 llvm::cl::desc("[input object files]"), 24 llvm::cl::ZeroOrMore); 26 // --script is an alias, but cl::alias doesn't work correctly with cl::list. 27 llvm::cl::list<std::string> ArgLinkerScript("T", 28 llvm::cl::ZeroOrMore, 29 llvm::cl::desc("Linker script"), 30 llvm::cl [all...] |
H A D | ScriptOptions.cpp | 22 static llvm::cl::list<std::string> 24 llvm::cl::ZeroOrMore, 25 llvm::cl::desc("Use a wrap function fo symbol."), 26 llvm::cl::value_desc("symbol")); 28 static llvm::cl::list<std::string> 30 llvm::cl::ZeroOrMore, 31 llvm::cl::desc("Use a portable function fo symbol."), 32 llvm::cl::value_desc("symbol")); 34 static llvm::cl::list<std::string> 36 llvm::cl [all...] |
/frameworks/compile/mclinker/tools/mcld/include/mcld/ |
H A D | PreferenceOptions.h | 33 llvm::cl::opt<bool>& m_Trace; 34 llvm::cl::opt<int>& m_Verbose; 35 llvm::cl::opt<bool>& m_Version; 36 llvm::cl::opt<int>& m_MaxErrorNum; 37 llvm::cl::opt<int>& m_MaxWarnNum; 38 llvm::cl::opt<Color>& m_Color; 39 llvm::cl::opt<bool>& m_PrintMap;
|
H A D | OutputFormatOptions.h | 33 llvm::cl::opt<mcld::sys::fs::Path, 35 llvm::cl::parser<mcld::sys::fs::Path> >& m_OutputFilename; 36 llvm::cl::opt<mcld::LinkerConfig::CodeGenType>& m_FileType; 37 llvm::cl::opt<mcld::LinkerConfig::CodeGenType>& m_OFormat; 38 llvm::cl::opt<bool>& m_Shared; 39 llvm::cl::opt<bool>& m_PIE; 40 llvm::cl::opt<bool>& m_Relocatable; 41 llvm::cl::opt<mcld::Input::Type>& m_Format; 42 llvm::cl::opt<bool>& m_StripDebug; 43 llvm::cl [all...] |
H A D | DynamicSectionOptions.h | 29 llvm::cl::opt<std::string>& m_Entry; 30 llvm::cl::opt<bool>& m_Bsymbolic; 31 llvm::cl::opt<bool>& m_Bgroup; 32 llvm::cl::opt<std::string>& m_SOName; 33 llvm::cl::opt<llvm::cl::boolOrDefault>& m_NoUndefined; 34 llvm::cl::opt<llvm::cl::boolOrDefault>& m_AllowMulDefs; 35 llvm::cl::list<ZOption, 37 llvm::cl [all...] |
H A D | PositionalOptions.h | 51 llvm::cl::list<mcld::sys::fs::Path>& m_InputObjectFiles; 52 llvm::cl::list<std::string>& m_LinkerScript; 53 llvm::cl::list<std::string>& m_NameSpecList; 54 llvm::cl::list<bool>& m_WholeArchiveList; 55 llvm::cl::list<bool>& m_NoWholeArchiveList; 56 llvm::cl::list<bool>& m_AsNeededList; 57 llvm::cl::list<bool>& m_NoAsNeededList; 58 llvm::cl::list<bool>& m_AddNeededList; 59 llvm::cl::list<bool>& m_NoAddNeededList; 60 llvm::cl [all...] |
H A D | OptimizationOptions.h | 30 llvm::cl::opt<mcld::GeneralOptions::ICF>& m_ICF; 31 llvm::cl::opt<unsigned>& m_ICFIterations; 32 llvm::cl::opt<bool>& m_PrintICFSections; 33 llvm::cl::opt<char>& m_OptLevel; 34 llvm::cl::list<std::string>& m_Plugin; 35 llvm::cl::list<std::string>& m_PluginOpt;
|
H A D | ScriptOptions.h | 31 llvm::cl::list<std::string>& m_WrapList; 32 llvm::cl::list<std::string>& m_PortList; 33 llvm::cl::list<std::string>& m_AddressMapList; 34 llvm::cl::opt<unsigned long long>& m_BssSegAddr; 35 llvm::cl::opt<unsigned long long>& m_DataSegAddr; 36 llvm::cl::opt<unsigned long long>& m_TextSegAddr;
|
H A D | TargetControlOptions.h | 25 llvm::cl::opt<int>& m_GPSize; 26 llvm::cl::opt<bool>& m_WarnSharedTextrel; 27 llvm::cl::opt<bool>& m_FIXCA8; 28 llvm::cl::opt<bool>& m_EB; 29 llvm::cl::opt<bool>& m_EL; 30 llvm::cl::opt<bool>& m_SVR4Compatibility;
|
H A D | SymbolOptions.h | 27 llvm::cl::list<std::string>& m_ForceUndefined; 28 llvm::cl::opt<std::string>& m_VersionScript; 29 llvm::cl::opt<bool>& m_WarnCommon; 30 llvm::cl::opt<bool>& m_DefineCommon;
|
H A D | TripleOptions.h | 26 llvm::cl::opt<std::string>& m_TargetTriple; 27 llvm::cl::opt<std::string>& m_MArch; 28 llvm::cl::opt<std::string>& m_MCPU; 29 llvm::cl::list<std::string>& m_MAttrs; 30 llvm::cl::opt<std::string>& m_Emulation;
|
H A D | SearchPathOptions.h | 29 llvm::cl::opt<mcld::sys::fs::Path, 31 llvm::cl::parser<mcld::sys::fs::Path> >& m_SysRoot; 32 llvm::cl::list<std::string, 34 llvm::cl::SearchDirParser>& m_SearchDirList; 35 llvm::cl::opt<bool>& m_NoStdlib; 36 llvm::cl::list<std::string, 38 llvm::cl::SearchDirParser>& m_RuntimePath; 41 llvm::cl::list<std::string, 43 llvm::cl::SearchDirParser>& m_RuntimePathLink; 44 llvm::cl [all...] |
/frameworks/compile/slang/ |
H A D | llvm-rs-as.cpp | 39 static cl::opt<std::string> 40 InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-")); 42 static cl::opt<std::string> 43 OutputFilename("o", cl::desc("Override output filename"), 44 cl::value_desc("filename")); 46 static cl::opt<bool> 47 Force("f", cl::desc("Enable binary output on terminals")); 49 static cl [all...] |
/frameworks/compile/mclinker/lib/CodeGen/ |
H A D | MCLinker.cpp | 67 static cl::list<mcld::sys::fs::Path> 68 ArgInputObjectFiles(cl::Positional, 69 cl::desc("[input object files]"), 70 cl::ZeroOrMore); 75 static cl::list<std::string> 77 cl::ZeroOrMore, 78 cl::desc("Add the archive or object file specified by namespec to " 80 cl::value_desc("namespec"), 81 cl::Prefix); 83 static cl [all...] |
/frameworks/compile/libbcc/tools/bcc_compat/ |
H A D | Main.cpp | 50 llvm::cl::list<std::string> 51 OptInputFilenames(llvm::cl::Positional, llvm::cl::OneOrMore, 52 llvm::cl::desc("<input bitcode files>")); 54 llvm::cl::opt<std::string> 55 OptOutputFilename("o", llvm::cl::desc("Specify the output filename"), 56 llvm::cl::value_desc("filename")); 58 llvm::cl::opt<std::string> 59 OptRuntimePath("rt-path", llvm::cl::desc("Specify the runtime library path"), 60 llvm::cl [all...] |
/frameworks/compile/libbcc/tools/bcc/ |
H A D | Main.cpp | 57 llvm::cl::opt<std::string> 58 OptInputFilename(llvm::cl::Positional, llvm::cl::ValueRequired, 59 llvm::cl::desc("<input bitcode file>")); 61 llvm::cl::opt<std::string> 62 OptOutputFilename("o", llvm::cl::desc("Specify the output filename"), 63 llvm::cl::value_desc("filename"), 64 llvm::cl::init("bcc_output")); 66 llvm::cl::opt<std::string> 67 OptBCLibFilename("bclib", llvm::cl [all...] |
/frameworks/compile/libbcc/tools/bcc_strip_attr/ |
H A D | bcc_strip_attr.cpp | 34 static cl::list<std::string> 35 InputFilenames(cl::Positional, 36 cl::desc("<input bitcode files>")); 38 static cl::opt<std::string> 39 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"), 40 cl::value_desc("filename")); 42 static cl::opt<bool> 44 cl::desc("Write output as LLVM assembly"), cl [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | CommandLine.h | 21 namespace cl { namespace in namespace:llvm 26 class SearchDirParser : public llvm::cl::basic_parser<std::string> 48 class FalseParser : public cl::parser<bool> 52 bool parse(cl::Option &O, StringRef ArgName, StringRef Arg, bool &Val) { 53 if (cl::parser<bool>::parse(O, ArgName, Arg, Val)) 84 class parser<mcld::ZOption> : public llvm::cl::basic_parser<mcld::ZOption> 97 } // namespace of cl
|