Home
last modified time | relevance | path

Searched refs:Red (Results 1 – 25 of 52) sorted by relevance

123

/llvm-project/clang/test/OpenMP/
H A Dreduction_compound_op.cpp48 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 DEnumeratedArrayTest.cpp27 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 Denum-preferred-type.cpp3 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 Denum-switch-case.c2 Red, enumerator
13 case Red:
H A Denum-switch-case.cpp3 Red, enumerator
15 case N::Red:
H A Dmacros.c2 Red, Green, Blue enumerator
H A Denum-switch-case-qualified.cpp6 Red, enumerator
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_report_decorator.h29 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 Dannotate-tokens.c11 enum Color { Red, Green, Blue }; enumerator
25 case Red: in g()
32 return Red; in g()
H A Dload-decls.c2 Red, enumerator
6 Rouge = Red
H A Dcomplete-type-factors.m4 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 Dcomplete-enums.cpp5 Red = 17, enumerator
13 case Color::Red; in f()
H A Dcomplete-enums.c12 case Red: in f()
/llvm-project/llvm/test/Transforms/LoopVectorize/ARM/
H A Darm-ieee-vectorize.ll95 %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 Dtypo.c16 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 Dredundant-expression.cpp669 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 Dasan_descriptions.h52 return Red(); in ShadowByte()
58 return Red(); in ShadowByte()
71 return Red(); in ShadowByte()
/llvm-project/clang/test/CodeGenObjC/
H A Dboxing.m96 typedef enum : NSInteger { Red, Green, Blue } Color;
98 @(Red);
99 Color col = Red;
/llvm-project/mlir/include/mlir/Dialect/Utils/
H A DStructuredOpsUtils.h104 struct Red : public IteratorType { struct
105 Red() : IteratorType(IteratorTypeT::reduction) {} in Red() function
/llvm-project/clang/test/ExtractAPI/
H A Dstruct.c19 unsigned Red; member
/llvm-project/clang/test/PCH/
H A Denum.c10 int i = Red;
H A Denum.h4 Red, enumerator
/llvm-project/clang-tools-extra/test/clang-move/Inputs/
H A Denum.h2 enum E1 { Green, Red }; enumerator
/llvm-project/clang/test/CXX/over/over.built/
H A Dp26.cpp4 enum class Color { Red, Green, Blue }; enumerator
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyOptionsTest.cpp14 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()

123