| /llvm-project/clang/test/OpenMP/ |
| H A D | reduction_compound_op.cpp | 48 Point Red; in foo() local 49 #pragma omp parallel for reduction(+: Red) in foo() 51 work(Red, I, Points); in foo() 53 #pragma omp parallel for reduction(-: Red) in foo() 55 work(Red, I, Points); in foo() 57 #pragma omp parallel for reduction(*: Red) in foo() 59 work(Red, I, Points); in foo() 61 #pragma omp parallel for reduction(&: Red) in foo() 63 work(Red, I, Points); in foo() 65 #pragma omp parallel for reduction(|: Red) in foo() [all...] |
| /llvm-project/llvm/unittests/ADT/ |
| H A D | EnumeratedArrayTest.cpp | 27 enum class Colors { Red, Blue, Green, Last = Green }; in TEST() enumerator 31 Array1[Colors::Red] = 1.0; in TEST() 35 EXPECT_EQ(Array1[Colors::Red], 1.0); in TEST() 41 EXPECT_TRUE(Array2[Colors::Red]); in TEST() 45 Array2[Colors::Red] = true; in TEST() 49 EXPECT_TRUE(Array2[Colors::Red]); in TEST() 55 EXPECT_EQ(Array3[Colors::Red], 10.0); in TEST() 66 enum class Colors { Red, Blue, Green, Last = Green }; in TEST() enumerator 81 enum class Colors { Red, Blue, Green, Last = Green }; in TEST() enumerator 86 Array[Colors::Red] = 1.0; in TEST() [all …]
|
| /llvm-project/clang/test/CodeCompletion/ |
| H A D | enum-preferred-type.cpp | 3 Red, enumerator 10 color = N::Color::Red; in test() 11 test(N::Color::Red); in test() 12 if (color == N::Color::Red) {} in test()
|
| H A D | enum-switch-case.c | 2 Red, enumerator 13 case Red:
|
| H A D | enum-switch-case.cpp | 3 Red, enumerator 15 case N::Red:
|
| H A D | macros.c | 2 Red, Green, Blue enumerator
|
| H A D | enum-switch-case-qualified.cpp | 6 Red, enumerator
|
| /llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_report_decorator.h | 29 const char *Warning() const { return Red(); } in Warning() 30 const char *Error() const { return Red(); } in Error() 35 const char *Red() const { return ansi_ ? "\033[1m\033[31m" : ""; } in Red() function
|
| /llvm-project/clang/test/Index/ |
| H A D | annotate-tokens.c | 11 enum Color { Red, Green, Blue }; enumerator 25 case Red: in g() 32 return Red; in g()
|
| H A D | load-decls.c | 2 Red, enumerator 6 Rouge = Red
|
| H A D | complete-type-factors.m | 4 Red, Green, Blue 31 [a method:Red priority:High]; 32 [A method:Red priority:Low]; 45 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Red} (32) 59 // CHECK-CC2: EnumConstantDecl:{ResultType enum Color}{TypedText Red} (16) 75 // CHECK-CC3: EnumConstantDecl:{ResultType enum Color}{TypedText Red} (65) 91 // CHECK-CC4: EnumConstantDecl:{ResultType enum Color}{TypedText Red} (65) 109 // CHECK-CC6: EnumConstantDecl:{ResultType enum Color}{TypedText Red} (16) 122 // CHECK-CC7: EnumConstantDecl:{ResultType enum Color}{TypedText Red} (16) 134 // CHECK-CC8: EnumConstantDecl:{ResultType enum Color}{TypedText Red} (65)
|
| H A D | complete-enums.cpp | 5 Red = 17, enumerator 13 case Color::Red; in f()
|
| H A D | complete-enums.c | 12 case Red: in f()
|
| /llvm-project/llvm/test/Transforms/LoopVectorize/ARM/ |
| H A D | arm-ieee-vectorize.ll | 95 %Red.06 = phi i32 [ %add, %for.body ], [ undef, %for.body.preheader ] 101 %add = add nsw i32 %mul, %Red.06 111 %Red.0.lcssa = phi i32 [ undef, %entry ], [ %add.lcssa, %for.end.loopexit ] 112 ret i32 %Red.0.lcssa 132 %Red.06 = phi float [ %add, %for.body ], [ undef, %for.body.preheader ] 138 %add = fadd float %Red.06, %mul 148 %Red.0.lcssa = phi float [ undef, %entry ], [ %add.lcssa, %for.end.loopexit ] 149 ret float %Red.0.lcssa 255 %Red.06 = phi i32 [ %add, %for.body ], [ undef, %for.body.preheader ] 261 %add = add nsw i32 %mul, %Red [all...] |
| /llvm-project/clang/test/FixIt/ |
| H A D | typo.c | 16 enum Color { Red, Green, Blue }; enumerator 29 2.71818, 5.0, 6.0, Red
|
| /llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/ |
| H A D | redundant-expression.cpp | 669 enum Color { Red, Yellow, Green }; enumerator 671 if (C == Red && C == Yellow) return 1; in TestRelationalWithEnum() 673 if (C == Red && C != Red) return 1; in TestRelationalWithEnum() 675 if (C != Red || C != Yellow) return 1; in TestRelationalWithEnum() 679 if (C == Red || C == Yellow) return 1; in TestRelationalWithEnum() 680 if (C != Red && C != Yellow) return 1; in TestRelationalWithEnum()
|
| /llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_descriptions.h | 52 return Red(); in ShadowByte() 58 return Red(); in ShadowByte() 71 return Red(); in ShadowByte()
|
| /llvm-project/clang/test/CodeGenObjC/ |
| H A D | boxing.m | 96 typedef enum : NSInteger { Red, Green, Blue } Color; 98 @(Red); 99 Color col = Red;
|
| /llvm-project/mlir/include/mlir/Dialect/Utils/ |
| H A D | StructuredOpsUtils.h | 104 struct Red : public IteratorType { struct 105 Red() : IteratorType(IteratorTypeT::reduction) {} in Red() function
|
| /llvm-project/clang/test/ExtractAPI/ |
| H A D | struct.c | 19 unsigned Red; member
|
| /llvm-project/clang/test/PCH/ |
| H A D | enum.c | 10 int i = Red;
|
| H A D | enum.h | 4 Red, enumerator
|
| /llvm-project/clang-tools-extra/test/clang-move/Inputs/ |
| H A D | enum.h | 2 enum E1 { Green, Red }; enumerator
|
| /llvm-project/clang/test/CXX/over/over.built/ |
| H A D | p26.cpp | 4 enum class Color { Red, Green, Blue }; enumerator
|
| /llvm-project/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ClangTidyOptionsTest.cpp | 14 enum class Colours { Red, Orange, Yellow, Green, Blue, Indigo, Violet }; enumerator 19 {Colours::Red, "Red"}, {Colours::Orange, "Orange"}, in getEnumMapping() 400 CheckOptions["test.Valid"] = "Red"; in TEST() 417 CHECK_VAL(TestCheck.getIntLocal<Colours>("Valid"), Colours::Red); in TEST() 435 "'test.ValidWrongCase'; did you mean 'Red'?"), in TEST()
|