Home
last modified time | relevance | path

Searched refs:Int2 (Results 1 – 22 of 22) sorted by relevance

/external/llvm/unittests/ADT/
DPointerSumTypeTest.cpp17 enum Kinds { Float, Int1, Int2 }; enumerator
23 PointerSumTypeMember<Int2, int *>>
29 b(SumType::create<Int1>(&i1)), c(SumType::create<Int2>(&i2)), n() {} in PointerSumTypeTest()
42 EXPECT_EQ(Int2, c.getTag()); in TEST_F()
49 EXPECT_FALSE(a.is<Int2>()); in TEST_F()
52 EXPECT_FALSE(b.is<Int2>()); in TEST_F()
55 EXPECT_TRUE(c.is<Int2>()); in TEST_F()
61 EXPECT_EQ(nullptr, a.get<Int2>()); in TEST_F()
64 EXPECT_EQ(nullptr, b.get<Int2>()); in TEST_F()
67 EXPECT_EQ(&i2, c.get<Int2>()); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DPointerSumTypeTest.cpp17 enum Kinds { Float, Int1, Int2 }; enumerator
23 PointerSumTypeMember<Int2, int *>>
29 b(SumType::create<Int1>(&i1)), c(SumType::create<Int2>(&i2)), n() {} in PointerSumTypeTest()
42 EXPECT_EQ(Int2, c.getTag()); in TEST_F()
49 EXPECT_FALSE(a.is<Int2>()); in TEST_F()
52 EXPECT_FALSE(b.is<Int2>()); in TEST_F()
55 EXPECT_TRUE(c.is<Int2>()); in TEST_F()
61 EXPECT_EQ(nullptr, a.get<Int2>()); in TEST_F()
64 EXPECT_EQ(nullptr, b.get<Int2>()); in TEST_F()
67 EXPECT_EQ(&i2, c.get<Int2>()); in TEST_F()
[all …]
/external/clang/test/Index/
Dcomplete-interfaces.m4 @class Int1, Int2, Int3, Int4;
11 @interface Int2 : Int3 interface
16 @implementation Int2 implementation
24 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int2}
29 // CHECK-CC2-NEXT: ObjCInterfaceDecl:{TypedText Int2}
38 // CHECK-CC4-NEXT: ObjCInterfaceDecl:{TypedText Int2}
/external/swiftshader/src/Reactor/
DReactor.hpp47 class Int2;
800 RValue<Int2> MulAdd(RValue<Short4> x, RValue<Short4> y);
803 RValue<Int2> UnpackLow(RValue<Short4> x, RValue<Short4> y);
804 RValue<Int2> UnpackHigh(RValue<Short4> x, RValue<Short4> y);
996 explicit Int(RValue<Int2> cast);
1196 class Int2 : public LValue<Int2> class
1200 explicit Int2(RValue<Int4> cast);
1202 Int2() = default;
1203 Int2(int x, int y);
1204 Int2(RValue<Int2> rhs);
[all …]
Dx86.hpp66 RValue<Short4> packssdw(RValue<Int2> x, RValue<Int2> y);
79 RValue<Int2> pslld(RValue<Int2> x, unsigned char y);
81 RValue<Int2> psrad(RValue<Int2> x, unsigned char y);
93 RValue<Int2> pmaddwd(RValue<Short4> x, RValue<Short4> y);
DLLVMReactor.cpp3257 Value *short4 = As<Short4>(Int2(As<Int4>(packed))).value; in Short4()
3276 storeValue(As<Short4>(Int2(v4i32)).value); in Short4()
3545 RValue<Int2> MulAdd(RValue<Short4> x, RValue<Short4> y) in MulAdd()
3550 return As<Int2>(V(lowerMulAdd(V(x.value), V(y.value)))); in MulAdd()
3574 RValue<Int2> UnpackLow(RValue<Short4> x, RValue<Short4> y) in UnpackLow()
3577 return As<Int2>(Nucleus::createShuffleVector(x.value, y.value, shuffle)); in UnpackLow()
3580 RValue<Int2> UnpackHigh(RValue<Short4> x, RValue<Short4> y) in UnpackHigh()
3584 return As<Int2>(Swizzle(As<Int4>(lowHigh), 0xEE)); in UnpackHigh()
4136 Int::Int(RValue<Int2> cast) in Int()
4886 Int2::Int2(RValue<Int4> cast) in Int2() function in rr::Int2
[all …]
DSubzeroReactor.cpp3264 Value *int2 = RValue<Int2>(Int2(As<Int4>(packed))).value; in Short4()
3625 RValue<Int2> MulAdd(RValue<Short4> x, RValue<Short4> y) in MulAdd()
3629 Int2 result; in MulAdd()
3645 return As<Int2>(V(result)); in MulAdd()
3709 RValue<Int2> UnpackLow(RValue<Short4> x, RValue<Short4> y) in UnpackLow()
3712 return As<Int2>(Nucleus::createShuffleVector(x.value, y.value, shuffle)); in UnpackLow()
3715 RValue<Int2> UnpackHigh(RValue<Short4> x, RValue<Short4> y) in UnpackHigh()
3719 return As<Int2>(Swizzle(As<Int4>(lowHigh), 0xEE)); in UnpackHigh()
4403 Int::Int(RValue<Int2> cast) in Int()
5140 Int2::Int2(RValue<Int4> cast) in Int2() function in rr::Int2
[all …]
DReactorUnitTests.cpp185 *Pointer<Int2>(out + 16 * 3) = Int2(0x24232221, 0x28272625); in TEST()
231 … *Pointer<Int4>(out + 16 * 0) = Int4(Int2(0x04030201, 0x08070605), Int2(0x0C0B0A09, 0x100F0E0D)); in TEST()
286 *Pointer<Int2>(out + 16 * (512 + 2)) = UnpackLow(Short4(1, 2, 3, 4), Short4(5, 6, 7, 8)); in TEST()
287 *Pointer<Int2>(out + 16 * (512 + 3)) = UnpackHigh(Short4(1, 2, 3, 4), Short4(5, 6, 7, 8)); in TEST()
968 *Pointer<Int2>(out + 8 * 0) = in TEST()
/external/swiftshader/src/Main/
DFrameBuffer.cpp227 *Pointer<Int2>(d) = As<Int2>(PackUnsigned(c0, c1)); in copyRoutine()
273 *Pointer<Int>(d) = Int(As<Int2>(PackUnsigned(c, c))); in copyRoutine()
335 *Pointer<Int2>(d) = As<Int2>(PackUnsigned(c0, c1)); in copyRoutine()
381 *Pointer<Int>(d) = Int(As<Int2>(PackUnsigned(c, c))); in copyRoutine()
475 Int c = Int(As<Int2>(PackUnsigned(cc, cc))); in copyRoutine()
600 Int c = Int(As<Int2>(PackUnsigned(c1, c1))); in blend()
609 Int c = Int(As<Int2>(PackUnsigned(c1, c1))); in blend()
/external/swiftshader/src/WSI/
DFrameBuffer.cpp224 *Pointer<Int2>(d) = As<Int2>(PackUnsigned(c0, c1)); in copyRoutine()
268 *Pointer<Int>(d) = Int(As<Int2>(PackUnsigned(c, c))); in copyRoutine()
326 *Pointer<Int2>(d) = As<Int2>(PackUnsigned(c0, c1)); in copyRoutine()
370 *Pointer<Int>(d) = Int(As<Int2>(PackUnsigned(c, c))); in copyRoutine()
420 Int c = Int(As<Int2>(PackUnsigned(cc, cc))); in copyRoutine()
540 Int c = Int(As<Int2>(PackUnsigned(c1, c1))); in blend()
/external/swiftshader/src/Pipeline/
DPixelRoutine.cpp937 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
995 c01 = As<Short4>(Insert(As<Int2>(c01), *Pointer<Int>(buffer), 0)); in readPixel()
997 c01 = As<Short4>(Insert(As<Int2>(c01), *Pointer<Int>(buffer), 1)); in readPixel()
1416 Int c01 = Extract(As<Int2>(current.x), 0); in writeColor()
1434 Int c23 = Extract(As<Int2>(current.x), 1); in writeColor()
1527 Int2 value; in writeColor()
1532 Int2 packedCol = As<Int2>(current.x); in writeColor()
1538 UInt2 rgbaMask = As<UInt2>(Int2(tmpMask, tmpMask)); in writeColor()
1542 packedCol = As<Int2>((As<UInt2>(packedCol) & mergedMask) | (As<UInt2>(value) & ~mergedMask)); in writeColor()
2084 xyzw = As<UShort4>(Insert(As<Int2>(xyzw), *Pointer<Int>(buffer), 0)); in writeColor()
[all …]
DSamplerCore.cpp430 mask = As<Short4>(Int2(As<Int4>(PackSigned(border, border)))); in border()
1615 index[0] = Extract(As<Int2>(uuuu), 0); in computeIndices()
1616 index[1] = Extract(As<Int2>(uuuu), 1); in computeIndices()
1617 index[2] = Extract(As<Int2>(uuu2), 0); in computeIndices()
1618 index[3] = Extract(As<Int2>(uuu2), 1); in computeIndices()
1822 c.x = UnpackLow(As<Int2>(c.x), As<Int2>(c.z)); in sampleTexel()
1823 c.y = UnpackHigh(As<Int2>(c.y), As<Int2>(c.z)); in sampleTexel()
2187 return As<Short4>(Int2(convert)) + Short4(0x8000u); in address()
DShaderCore.cpp476 Int2 tmp0 = UnpackHigh(row0, row1); in transpose4x4()
477 Int2 tmp1 = UnpackHigh(row2, row3); in transpose4x4()
478 Int2 tmp2 = UnpackLow(row0, row1); in transpose4x4()
479 Int2 tmp3 = UnpackLow(row2, row3); in transpose4x4()
489 Int2 tmp0 = UnpackHigh(row0, row1); in transpose4x3()
490 Int2 tmp1 = UnpackHigh(row2, row3); in transpose4x3()
491 Int2 tmp2 = UnpackLow(row0, row1); in transpose4x3()
492 Int2 tmp3 = UnpackLow(row2, row3); in transpose4x3()
/external/swiftshader/src/Shader/
DPixelRoutine.cpp1010 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
1096 c01 = As<Short4>(Insert(As<Int2>(c01), *Pointer<Int>(buffer), 0)); in readPixel()
1098 c01 = As<Short4>(Insert(As<Int2>(c01), *Pointer<Int>(buffer), 1)); in readPixel()
1582 Int c01 = Extract(As<Int2>(current.x), 0); in writeColor()
1600 Int c23 = Extract(As<Int2>(current.x), 1); in writeColor()
1739 Int2 value; in writeColor()
1744 Int2 packedCol = As<Int2>(current.x); in writeColor()
1750 UInt2 rgbaMask = As<UInt2>(Int2(tmpMask, tmpMask)); in writeColor()
1754 packedCol = As<Int2>((As<UInt2>(packedCol) & mergedMask) | (As<UInt2>(value) & ~mergedMask)); in writeColor()
2322 xyzw = As<UShort4>(Insert(As<Int2>(xyzw), *Pointer<Int>(buffer), 0)); in writeColor()
[all …]
DSamplerCore.cpp521 mask = As<Short4>(Int2(As<Int4>(PackSigned(border, border)))); in border()
1706 index[0] = Extract(As<Int2>(uuuu), 0); in computeIndices()
1707 index[1] = Extract(As<Int2>(uuuu), 1); in computeIndices()
1708 index[2] = Extract(As<Int2>(uuu2), 0); in computeIndices()
1709 index[3] = Extract(As<Int2>(uuu2), 1); in computeIndices()
1967 c.x = UnpackLow(As<Int2>(c.x), As<Int2>(c.z)); in sampleTexel()
1968 c.y = UnpackHigh(As<Int2>(c.y), As<Int2>(c.z)); in sampleTexel()
2329 return As<Short4>(Int2(convert)) + Short4(0x8000u); in address()
DShaderCore.cpp476 Int2 tmp0 = UnpackHigh(row0, row1); in transpose4x4()
477 Int2 tmp1 = UnpackHigh(row2, row3); in transpose4x4()
478 Int2 tmp2 = UnpackLow(row0, row1); in transpose4x4()
479 Int2 tmp3 = UnpackLow(row2, row3); in transpose4x4()
489 Int2 tmp0 = UnpackHigh(row0, row1); in transpose4x3()
490 Int2 tmp1 = UnpackHigh(row2, row3); in transpose4x3()
491 Int2 tmp2 = UnpackLow(row0, row1); in transpose4x3()
492 Int2 tmp3 = UnpackLow(row2, row3); in transpose4x3()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp362 Constant *Int2 = ConstantExpr::getPtrToInt(G2, IntTy); in TEST() local
363 ASSERT_NE(Int1, Int2); in TEST()
370 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST()
/external/llvm/unittests/IR/
DConstantsTest.cpp361 Constant *Int2 = ConstantExpr::getPtrToInt(G2, IntTy); in TEST() local
362 ASSERT_NE(Int1, Int2); in TEST()
369 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST()
/external/libxcam/modules/soft/
Dsoft_image.h36 typedef Vector2<int> Int2; typedef
/external/skqp/src/sksl/
DSkSLCompiler.cpp89 ADD_TYPE(Int2); in Compiler()
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp135 getMDTwoInt(LLVMContext *Context, unsigned Int1, unsigned Int2) { in getMDTwoInt() argument
138 ValueVec.push_back(ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(*Context), Int2))); in getMDTwoInt()
/external/skia/src/sksl/
DSkSLCompiler.cpp89 ADD_TYPE(Int2); in Compiler()