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
129 lines
3.5 KiB
TableGen
129 lines
3.5 KiB
TableGen
// RUN: llvm-tblgen %s
|
|
|
|
class ConstantsImpl {
|
|
int Zero = 0;
|
|
int One = 1;
|
|
int Two = 2;
|
|
int Three = 3;
|
|
int Five = 5;
|
|
}
|
|
|
|
def Constants : ConstantsImpl;
|
|
|
|
// CHECK-DAG: def var_bound_whitespaceA0
|
|
// CHECK-DAG: def var_bound_whitespaceA1
|
|
// CHECK-DAG: def var_bound_whitespaceA2
|
|
foreach Index = Constants.Zero ... Constants.Two in {
|
|
def var_bound_whitespaceA#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def var_bound_whitespaceB0
|
|
// CHECK-DAG: def var_bound_whitespaceB1
|
|
// CHECK-DAG: def var_bound_whitespaceB2
|
|
foreach Index = Constants.Zero...Constants.Two in {
|
|
def var_bounds_whitespaceB#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def var_bound_whitespaceC0
|
|
// CHECK-DAG: def var_bound_whitespaceC1
|
|
// CHECK-DAG: def var_bound_whitespaceC2
|
|
foreach Index = Constants.Zero ...Constants.Two in {
|
|
def var_bounds_whitespaceC#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def var_bound_whitespaceD0
|
|
// CHECK-DAG: def var_bound_whitespaceD1
|
|
// CHECK-DAG: def var_bound_whitespaceD2
|
|
foreach Index = Constants.Zero... Constants.Two in {
|
|
def var_bounds_whitespaceD#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def const_lower_whitespaceA0
|
|
// CHECK-DAG: def const_lower_whitespaceA1
|
|
// CHECK-DAG: def const_lower_whitespaceA2
|
|
foreach Index = 0 ... Constants.Two in {
|
|
def const_lower_whitespaceA#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def const_lower_whitespaceB0
|
|
// CHECK-DAG: def const_lower_whitespaceB1
|
|
// CHECK-DAG: def const_lower_whitespaceB2
|
|
foreach Index = 0...Constants.Two in {
|
|
def const_lower_whitespaceB#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def const_lower_whitespaceC0
|
|
// CHECK-DAG: def const_lower_whitespaceC1
|
|
// CHECK-DAG: def const_lower_whitespaceC2
|
|
foreach Index = 0 ...Constants.Two in {
|
|
def const_lower_whitespaceC#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def const_lower_whitespaceD0
|
|
// CHECK-DAG: def const_lower_whitespaceD1
|
|
// CHECK-DAG: def const_lower_whitespaceD2
|
|
foreach Index = 0... Constants.Two in {
|
|
def const_lower_whitespaceD#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def const_upper_whitespaceA0
|
|
// CHECK-DAG: def const_upper_whitespaceA1
|
|
// CHECK-DAG: def const_upper_whitespaceA2
|
|
foreach Index = Constants.Zero ... 2 in {
|
|
def const_upper_whitespaceA#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def const_upper_whitespaceB0
|
|
// CHECK-DAG: def const_upper_whitespaceB1
|
|
// CHECK-DAG: def const_upper_whitespaceB2
|
|
foreach Index = Constants.Zero...2 in {
|
|
def const_upper_whitespaceB#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def const_upper_whitespaceC0
|
|
// CHECK-DAG: def const_upper_whitespaceC1
|
|
// CHECK-DAG: def const_upper_whitespaceC2
|
|
foreach Index = Constants.Zero ...2 in {
|
|
def const_upper_whitespaceC#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def const_upper_whitespaceD0
|
|
// CHECK-DAG: def const_upper_whitespaceD1
|
|
// CHECK-DAG: def const_upper_whitespaceD2
|
|
foreach Index = Constants.Zero... 2 in {
|
|
def const_upper_whitespaceD#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def multi_rangeA0
|
|
// CHECK-DAG: def multi_rangeA1
|
|
// CHECK-DAG: def multi_rangeA2
|
|
// CHECK-DAG: def multi_rangeA3
|
|
foreach Index = {Constants.Zero...Constants.One, Constants.Two...Constants.Three} in {
|
|
def multi_rangeA#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def multi_rangeB0
|
|
// CHECK-DAG: def multi_rangeB1
|
|
// CHECK-DAG: def multi_rangeB3
|
|
// CHECK-DAG: def multi_rangeB4
|
|
// CHECK-DAG: def multi_rangeB5
|
|
foreach Index = {0...Constants.One, Constants.Three...Constants.Five} in {
|
|
def multi_rangeB#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def multi_rangeC0
|
|
// CHECK-DAG: def multi_rangeC1
|
|
// CHECK-DAG: def multi_rangeC2
|
|
// CHECK-DAG: def multi_rangeC3
|
|
foreach Index = {0...Constants.One, 2...Constants.Three} in {
|
|
def multi_rangeC#Index;
|
|
}
|
|
|
|
// CHECK-DAG: def multi_rangeD0
|
|
// CHECK-DAG: def multi_rangeD1
|
|
// CHECK-DAG: def multi_rangeD2
|
|
// CHECK-DAG: def multi_rangeD3
|
|
foreach Index = {0...1, Constants.Two...3} in {
|
|
def multi_rangeD#Index;
|
|
}
|