Home
last modified time | relevance | path

Searched refs:CASE (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVBaseInfo.cpp33 CASE(Capability, Matrix) in getCapabilityName()
34 CASE(Capability, Shader) in getCapabilityName()
38 CASE(Capability, Linkage) in getCapabilityName()
39 CASE(Capability, Kernel) in getCapabilityName()
44 CASE(Capability, Int64) in getCapabilityName()
49 CASE(Capability, Pipes) in getCapabilityName()
50 CASE(Capability, Groups) in getCapabilityName()
54 CASE(Capability, Int16) in getCapabilityName()
68 CASE(Capability, Int8) in getCapabilityName()
694 CASE(BuiltIn, Layer) in getBuiltInName()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnitIndex.cpp50 #define CASE(S,T) \ in serializeSectionKind() macro
53 CASE(INFO, INFO); in serializeSectionKind()
56 CASE(LINE, LINE); in serializeSectionKind()
57 CASE(EXT_LOC, LOC); in serializeSectionKind()
60 CASE(MACRO, MACRO); in serializeSectionKind()
61 #undef CASE in serializeSectionKind()
76 #define CASE(S,T) \ in deserializeSectionKind() macro
79 CASE(INFO, INFO); in deserializeSectionKind()
82 CASE(LINE, LINE); in deserializeSectionKind()
83 CASE(LOC, EXT_LOC); in deserializeSectionKind()
[all …]
/llvm-project-15.0.7/clang/lib/Basic/
H A DIdentifierTable.cpp341 CASE( 2, 'i', '\0', if); in getPPKeywordID()
342 CASE( 4, 'e', 'i', elif); in getPPKeywordID()
343 CASE( 4, 'e', 's', else); in getPPKeywordID()
344 CASE( 4, 'l', 'n', line); in getPPKeywordID()
345 CASE( 4, 's', 'c', sccs); in getPPKeywordID()
346 CASE( 5, 'e', 'd', endif); in getPPKeywordID()
347 CASE( 5, 'e', 'r', error); in getPPKeywordID()
348 CASE( 5, 'i', 'e', ident); in getPPKeywordID()
349 CASE( 5, 'i', 'd', ifdef); in getPPKeywordID()
350 CASE( 5, 'u', 'd', undef); in getPPKeywordID()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/
H A Ddebug_line_short_prologue_v4.s4 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=0 -o %t0
7 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=1 -o %t1
10 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=2 -o %t2
13 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=3 -o %t3
16 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=4 -o %t4
19 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=5 -o %t5
57 .if CASE >= 1
62 .if CASE >= 2
64 .if CASE >= 3
66 .if CASE >= 4
[all …]
H A Ddebug_line_short_prologue.s4 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=0 -o %t0
7 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=1 -o %t1
10 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=2 -o %t2
13 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj --defsym CASE=3 -o %t3
51 .if CASE >= 1
55 .if CASE >= 2
57 .if CASE >= 3
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dbranch-clone.cpp341 CASE(1) in test_macro13()
344 CASE(2) in test_macro13()
347 CASE(3) in test_macro13()
352 CASE(4) in test_macro13()
354 CASE(5) in test_macro13()
356 CASE(6) in test_macro13()
358 CASE(7) in test_macro13()
363 CASE(8) in test_macro13()
366 CASE(9) in test_macro13()
375 CASE(10) in test_macro13()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DCodegenUtils.cpp89 #define CASE(ONAME, O) \ in overheadTypeFunctionSuffix() macro
92 FOREVERY_FIXED_O(CASE) in overheadTypeFunctionSuffix()
93 #undef CASE in overheadTypeFunctionSuffix()
131 #define CASE(VNAME, V) \ in primaryTypeFunctionSuffix() macro
134 FOREVERY_V(CASE) in primaryTypeFunctionSuffix()
135 #undef CASE in primaryTypeFunctionSuffix()
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DSparseTensorUtils.cpp1545 #define CASE_SECSAME(p, v, P, V) CASE(p, p, v, P, P, V)
1582 CASE(OverheadType::kU64, OverheadType::kU8, PrimaryType::kF64, uint64_t, in _mlir_ciface_newSparseTensor()
1600 CASE(OverheadType::kU8, OverheadType::kU64, PrimaryType::kF64, uint8_t, in _mlir_ciface_newSparseTensor()
1602 CASE(OverheadType::kU8, OverheadType::kU32, PrimaryType::kF64, uint8_t, in _mlir_ciface_newSparseTensor()
1604 CASE(OverheadType::kU8, OverheadType::kU16, PrimaryType::kF64, uint8_t, in _mlir_ciface_newSparseTensor()
1606 CASE(OverheadType::kU8, OverheadType::kU8, PrimaryType::kF64, uint8_t, in _mlir_ciface_newSparseTensor()
1634 CASE(OverheadType::kU8, OverheadType::kU64, PrimaryType::kF32, uint8_t, in _mlir_ciface_newSparseTensor()
1636 CASE(OverheadType::kU8, OverheadType::kU32, PrimaryType::kF32, uint8_t, in _mlir_ciface_newSparseTensor()
1638 CASE(OverheadType::kU8, OverheadType::kU16, PrimaryType::kF32, uint8_t, in _mlir_ciface_newSparseTensor()
1640 CASE(OverheadType::kU8, OverheadType::kU8, PrimaryType::kF32, uint8_t, in _mlir_ciface_newSparseTensor()
[all …]
/llvm-project-15.0.7/libcxx/test/support/
H A Dcheck_assertion.h118 #define CASE(K) case K: return #K in ResultKindToString() macro
120 CASE(RK_MatchFailure); in ResultKindToString()
121 CASE(RK_DidNotDie); in ResultKindToString()
122 CASE(RK_SetupFailure); in ResultKindToString()
123 CASE(RK_MatchFound); in ResultKindToString()
124 CASE(RK_Unknown); in ResultKindToString()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXLoadedDiagnostic.cpp76 #define CASE(X) case serialized_diags::X: return CXDiagnostic_##X; in getSeverity() macro
77 CASE(Ignored) in getSeverity()
78 CASE(Note) in getSeverity()
79 CASE(Warning) in getSeverity()
80 CASE(Error) in getSeverity()
81 CASE(Fatal) in getSeverity()
82 #undef CASE in getSeverity()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp691 CASE(0); in getRegisterOrZero()
692 CASE(1); in getRegisterOrZero()
693 CASE(2); in getRegisterOrZero()
694 CASE(3); in getRegisterOrZero()
695 CASE(4); in getRegisterOrZero()
696 CASE(5); in getRegisterOrZero()
697 CASE(6); in getRegisterOrZero()
698 CASE(7); in getRegisterOrZero()
699 CASE(8); in getRegisterOrZero()
700 CASE(9); in getRegisterOrZero()
[all …]
/llvm-project-15.0.7/lld/test/ELF/
H A Dundef-spell-corrector.s68 # RUN: not ld.lld %t.o %t1.o -o /dev/null 2>&1 | FileCheck --check-prefix=CASE %s
70 # RUN: not ld.lld %t1.o -o /dev/null 2>&1 | FileCheck --check-prefix=CASE %s
72 # CASE: error: undefined symbol: FOO(int const*)
73 # CASE-NEXT: >>> referenced by {{.*}}
74 # CASE-NEXT: >>> did you mean: foo(int const*)
/llvm-project-15.0.7/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp628 #define CASE(X) case DiagnosticsEngine::X: return serialized_diags::X; in getStableLevel() macro
629 CASE(Ignored) in getStableLevel()
630 CASE(Note) in getStableLevel()
631 CASE(Remark) in getStableLevel()
632 CASE(Warning) in getStableLevel()
633 CASE(Error) in getStableLevel()
634 CASE(Fatal) in getStableLevel()
635 #undef CASE in getStableLevel()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DFuchsiaHandleChecker.cpp158 #define CASE(ID) \ in dump() macro
162 CASE(Kind::MaybeAllocated) in dump()
163 CASE(Kind::Allocated) in dump()
164 CASE(Kind::Released) in dump()
165 CASE(Kind::Escaped) in dump()
166 CASE(Kind::Unowned) in dump()
H A DMallocChecker.cpp201 #define CASE(ID) case ID: OS << #ID; break; in dump() macro
202 CASE(Allocated) in dump()
203 CASE(AllocatedOfSizeZero) in dump()
204 CASE(Released) in dump()
205 CASE(Relinquished) in dump()
206 CASE(Escaped) in dump()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dobjc-arc.m177 { // CASE ONE -- OBJECT IN ARRAY CREATED DIRECTLY
184 { // CASE TWO -- OBJECT IN ARRAY CREATED BY DUPING AUTORELEASED ARRAY
192 { // CASE THREE -- OBJECT IN RETAINED @[]
199 // CASE 4, verify analyzer still working.
H A Dretain-release.m2062 { // CASE ONE -- OBJECT IN ARRAY CREATED DIRECTLY
2070 { // CASE TWO -- OBJECT IN ARRAY CREATED BY DUPING AUTORELEASED ARRAY
2079 { // CASE THREE -- OBJECT IN RETAINED @[]
2087 { // CASE FOUR -- OBJECT IN ARRAY CREATED BY DUPING @[]
2096 { // CASE FIVE -- OBJECT IN RETAINED @{}
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp723 #define CASE(T) \ in Visit() macro
726 CASE(Multi); in Visit()
727 CASE(Text); in Visit()
728 CASE(Placeholder); in Visit()
729 CASE(Select); in Visit()
730 CASE(Plural); in Visit()
731 CASE(Diff); in Visit()
732 CASE(Substitution); in Visit()
733 #undef CASE in Visit()
/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.functions/
H A Dformat_tests.h152 CASE(a)
153 CASE(A)
154 CASE(b)
155 CASE(B)
156 CASE(c)
157 CASE(d)
158 CASE(e)
159 CASE(E)
160 CASE(f)
161 CASE(F)
[all …]
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-arc-cf-annotations.m1855 { // CASE ONE -- OBJECT IN ARRAY CREATED DIRECTLY
1863 { // CASE TWO -- OBJECT IN ARRAY CREATED BY DUPING AUTORELEASED ARRAY
1872 { // CASE THREE -- OBJECT IN RETAINED @[]
1880 { // CASE FOUR -- OBJECT IN ARRAY CREATED BY DUPING @[]
1889 { // CASE FIVE -- OBJECT IN RETAINED @{}
H A Dobjcmt-arc-cf-annotations.m.result1903 { // CASE ONE -- OBJECT IN ARRAY CREATED DIRECTLY
1911 { // CASE TWO -- OBJECT IN ARRAY CREATED BY DUPING AUTORELEASED ARRAY
1920 { // CASE THREE -- OBJECT IN RETAINED @[]
1928 { // CASE FOUR -- OBJECT IN ARRAY CREATED BY DUPING @[]
1937 { // CASE FIVE -- OBJECT IN RETAINED @{}
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dresolve-labels.cpp622 template <typename FIRST, typename CASEBLOCK, typename CASE,
628 tag, construct, std::get<parser::Statement<CASE>>(inner.t)); in CheckSelectNames()
/llvm-project-15.0.7/flang/docs/
H A Df2018-grammar.md505 R1141 select-case-stmt -> [case-construct-name :] SELECT CASE ( case-expr )
506 R1142 case-stmt -> CASE case-selector [case-construct-name]
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/
H A Dcxx.bnf287 labeled-statement := CASE constant-expression : statement
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIROps.td598 let summary = "Fortran's SELECT CASE statement";
602 SELECT CASE construct. In this case, the selector value is matched

12