[HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (#117017)
[llvm-project.git] / llvm / test / tools / llvm-remarkutil / annotation-count.test
blobe006220c64f38fced2cfd343f392f8039cab5fba
1 RUN: llvm-remarkutil annotation-count --parser=yaml --annotation-type=remark %p/Inputs/annotation-count.yaml | FileCheck %s
2 RUN: llvm-remarkutil yaml2bitstream %p/Inputs/annotation-count.yaml | llvm-remarkutil annotation-count --parser=bitstream --annotation-type=remark | FileCheck %s
3 RUN: llvm-remarkutil count --parser=yaml --count-by=arg --group-by=function --remark-name="AnnotationSummary" %p/Inputs/annotation-count.yaml | FileCheck %s --check-prefix=COUNT-CHECK
4 RUN: llvm-remarkutil yaml2bitstream %p/Inputs/annotation-count.yaml | llvm-remarkutil count --parser=bitstream --count-by=arg --group-by=function --remark-name="AnnotationSummary" | FileCheck %s --check-prefix=COUNT-CHECK
6 ; CHECK-LABEL: Function,Count
7 ; CHECK: func1,1
8 ; CHECK: func2,2
9 ; CHECK: func3,3
11 ; COUNT-CHECK-LABEL: Function,count
12 ; COUNT-CHECK: func1,1
13 ; COUNT-CHECK: func2,2
14 ; COUNT-CHECK: func3,3