Home
last modified time | relevance | path

Searched refs:Array2 (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/llvm/unittests/ADT/
DEnumeratedArrayTest.cpp36 EnumeratedArray<bool, Colors> Array2(true); in TEST() local
38 EXPECT_TRUE(Array2[Colors::Red]); in TEST()
39 EXPECT_TRUE(Array2[Colors::Blue]); in TEST()
40 EXPECT_TRUE(Array2[Colors::Green]); in TEST()
42 Array2[Colors::Red] = true; in TEST()
43 Array2[Colors::Blue] = false; in TEST()
44 Array2[Colors::Green] = true; in TEST()
46 EXPECT_TRUE(Array2[Colors::Red]); in TEST()
47 EXPECT_FALSE(Array2[Colors::Blue]); in TEST()
48 EXPECT_TRUE(Array2[Colors::Green]); in TEST()
DArrayRefTest.cpp56 ArrayRef<uint16_t> Array2 = makeArrayRef(Words2, 5); in TEST() local
58 ArrayRef<uint16_t> Array2c = Array2.copy(Alloc); in TEST()
61 EXPECT_TRUE(Array2.equals(Array2c)); in TEST()
62 EXPECT_NE(Array2.data(), Array2c.data()); in TEST()
/external/llvm/unittests/ADT/
DArrayRefTest.cpp41 ArrayRef<uint16_t> Array2 = makeArrayRef(Words2, 5); in TEST() local
43 ArrayRef<uint16_t> Array2c = Array2.copy(Alloc); in TEST()
46 EXPECT_TRUE(Array2.equals(Array2c)); in TEST()
47 EXPECT_NE(Array2.data(), Array2c.data()); in TEST()
/external/llvm/test/Analysis/BasicAA/
Dfeaturetest.ll16 %Array2 = alloca i32, i32 200
19 call void @external(i32* %Array2)
24 %pointer2 = getelementptr i32, i32* %Array2, i64 %B
/external/llvm-project/clang/lib/AST/
DASTStructuralEquivalence.cpp569 const ArrayType *Array2) { in IsArrayStructurallyEquivalent() argument
571 Array2->getElementType())) in IsArrayStructurallyEquivalent()
573 if (Array1->getSizeModifier() != Array2->getSizeModifier()) in IsArrayStructurallyEquivalent()
575 if (Array1->getIndexTypeQualifiers() != Array2->getIndexTypeQualifiers()) in IsArrayStructurallyEquivalent()
735 const auto *Array2 = cast<ConstantArrayType>(T2); in IsStructurallyEquivalent() local
736 if (!llvm::APInt::isSameValue(Array1->getSize(), Array2->getSize())) in IsStructurallyEquivalent()
739 if (!IsArrayStructurallyEquivalent(Context, Array1, Array2)) in IsStructurallyEquivalent()
752 const auto *Array2 = cast<VariableArrayType>(T2); in IsStructurallyEquivalent() local
754 Array2->getSizeExpr())) in IsStructurallyEquivalent()
757 if (!IsArrayStructurallyEquivalent(Context, Array1, Array2)) in IsStructurallyEquivalent()
[all …]
DExpr.cpp3899 const auto *Array2 = dyn_cast<ArraySubscriptExpr>(E2); in isSameComparisonOperand() local
3900 if (Array1 && Array2) { in isSameComparisonOperand()
3901 if (!isSameComparisonOperand(Array1->getBase(), Array2->getBase())) in isSameComparisonOperand()
3905 auto Idx2 = Array2->getIdx(); in isSameComparisonOperand()
/external/swiftshader/third_party/subzero/crosstest/
Dtest_global.cpp37 double Array2[3]; member
/external/llvm-project/llvm/test/Transforms/LoopStrengthReduce/
D2012-01-02-nopreheader.ll60 define fastcc void @nopreheader2([200 x i32]* nocapture %Array2) nounwind {
77 %scevgep = getelementptr [200 x i32], [200 x i32]* %Array2, i32 %tmp26, i32 %indvar
/external/llvm/test/Transforms/LoopStrengthReduce/
D2012-01-02-nopreheader.ll60 define fastcc void @nopreheader2([200 x i32]* nocapture %Array2) nounwind {
77 %scevgep = getelementptr [200 x i32], [200 x i32]* %Array2, i32 %tmp26, i32 %indvar
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcppcoreguidelines-owning-memory.cpp338 HeapArray<int> Array2(100); in test_inner_template() local
342 Array1 = static_cast<HeapArray<int> &&>(Array2); in test_inner_template()
/external/freetype/src/otvalid/
Dotvgpos.c112 FT_UInt Array1, Array2; in otv_u_O_O_u_O_O() local
125 Array2 = FT_NEXT_USHORT( p ); in otv_u_O_O_u_O_O()
136 func( table + Array2, otvalid ); in otv_u_O_O_u_O_O()
/external/llvm-project/llvm/test/Analysis/BasicAA/
Dfeaturetest.ll31 %Array2 = alloca i32, i32 200
35 call void @external(i32* %Array2)
40 %pointer2 = getelementptr i32, i32* %Array2, i64 %B
/external/clang/test/SemaObjC/
Dkindof.m408 @interface Array2<T1, T2, T3> : NSObject interface
411 @interface Array2<T, T, __kindof I1*>(extensions2) // expected-error{{expected type parameter name}… interface in extensions2
/external/llvm-project/clang/test/SemaObjC/
Dkindof.m468 @interface Array2<T1, T2, T3> : NSObject interface
471 @interface Array2<T, T, __kindof I1*>(extensions2) // expected-error{{expected type parameter name}… interface in extensions2
/external/clang/lib/AST/
DASTImporter.cpp452 const ArrayType *Array2) { in IsArrayStructurallyEquivalent() argument
455 Array2->getElementType())) in IsArrayStructurallyEquivalent()
457 if (Array1->getSizeModifier() != Array2->getSizeModifier()) in IsArrayStructurallyEquivalent()
459 if (Array1->getIndexTypeQualifiers() != Array2->getIndexTypeQualifiers()) in IsArrayStructurallyEquivalent()
563 const ConstantArrayType *Array2 = cast<ConstantArrayType>(T2); in IsStructurallyEquivalent() local
564 if (!llvm::APInt::isSameValue(Array1->getSize(), Array2->getSize())) in IsStructurallyEquivalent()
567 if (!IsArrayStructurallyEquivalent(Context, Array1, Array2)) in IsStructurallyEquivalent()
581 const VariableArrayType *Array2 = cast<VariableArrayType>(T2); in IsStructurallyEquivalent() local
583 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
586 if (!IsArrayStructurallyEquivalent(Context, Array1, Array2)) in IsStructurallyEquivalent()
[all …]