CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
35 lines
2.0 KiB
TableGen
35 lines
2.0 KiB
TableGen
include "llvm/Option/OptParser.td"
|
|
|
|
class F<string letter, string help> : Flag<["-"], letter>, HelpText<help>;
|
|
class FF<string name, string help> : Flag<["--"], name>, HelpText<help>;
|
|
|
|
// General options
|
|
def generic_group : OptionGroup<"Genric Options">, HelpText<"Generic Options">;
|
|
def help : FF<"help", "Display this help">, Group<generic_group>;
|
|
def : F<"h", "Alias for --help">, Alias<help>, Group<generic_group>;
|
|
def version : FF<"version", "Display the LLVM version">, Group<generic_group>;
|
|
def : F<"v", "Alias for --version">, Alias<version>, Group<generic_group>;
|
|
|
|
// Action options
|
|
def action_group : OptionGroup<"Action">, HelpText<"Action (required)">;
|
|
def show : FF<"show", "Show summary of the (indexed) codegen data file.">,
|
|
Group<action_group>;
|
|
def : F<"s", "Alias for --show">, Alias<show>, Group<action_group>;
|
|
def convert : FF<"convert", "Convert the (indexed) codegen data file in either text or binary format.">,
|
|
Group<action_group>;
|
|
def : F<"c", "Alias for --convert">, Alias<convert>, Group<action_group>;
|
|
def merge : FF<"merge", "Take binary files having raw codegen data in custom sections, and merge them into an indexed codegen data file.">,
|
|
Group<action_group>;
|
|
def : F<"m", "Alias for --merge">, Alias<merge>, Group<action_group>;
|
|
|
|
// Additional options
|
|
def cgdata_version : FF<"cgdata-version", "Display the cgdata version">;
|
|
def skip_trim : FF<"skip-trim", "Skip trimming content when merging the cgdata">;
|
|
def output : Option<["--"], "output", KIND_SEPARATE>,
|
|
HelpText<"Specify the name for the output file to be created">, MetaVarName<"<file>">;
|
|
def : JoinedOrSeparate<["-"], "o">, Alias<output>, MetaVarName<"<file>">, HelpText<"Alias for --output">;
|
|
def format : Option<["--"], "format", KIND_SEPARATE>,
|
|
HelpText<"Specify the output format (text or binary)">, MetaVarName<"<value>">;
|
|
def : JoinedOrSeparate<["-"], "f">, Alias<format>, HelpText<"Alias for --format">;
|
|
def indexed_codegen_data_lazy_loading : F<"indexed-codegen-data-lazy-loading", "Lazily load indexed CodeGenData for testing purpose.">, Flags<[HelpHidden]>;
|