Home
last modified time | relevance | path

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

12

/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp120 …clipFlags = *Pointer<Int>(constants + OFFSET(Constants,maxX) + SignMask(maxX) * 4); // FIXME: Ar… in computeClipFlags()
121 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxY) + SignMask(maxY) * 4); in computeClipFlags()
122 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxZ) + SignMask(maxZ) * 4); in computeClipFlags()
123 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minX) + SignMask(minX) * 4); in computeClipFlags()
124 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minY) + SignMask(minY) * 4); in computeClipFlags()
125 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minZ) + SignMask(minZ) * 4); in computeClipFlags()
132 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,fini) + SignMask(finiteXYZ) * 4); in computeClipFlags()
DPixelProgram.cpp1268 if(mask & 0x1) kill &= SignMask(CmpNLT(src.x, Float4(0.0f))); in TEXKILL()
1269 if(mask & 0x2) kill &= SignMask(CmpNLT(src.y, Float4(0.0f))); in TEXKILL()
1270 if(mask & 0x4) kill &= SignMask(CmpNLT(src.z, Float4(0.0f))); in TEXKILL()
1271 if(mask & 0x8) kill &= SignMask(CmpNLT(src.w, Float4(0.0f))); in TEXKILL()
1293 kill = ~SignMask(enableMask(instruction)); in DISCARD()
1467 Bool notAllFalse = SignMask(condition) != 0; in CALLNZp()
1485 Bool notAllFalse = SignMask(condition) != 0; in ELSE()
1651 Bool notAllFalse = SignMask(condition) != 0; in IF()
1756 Bool notAllFalse = SignMask(condition) != 0; in WHILE()
DPixelRoutine.cpp339 sMask = SignMask(value) & cMask; in stencilTest()
512 zMask = SignMask(zTest) & cMask; in depthTest()
539 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
543 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
547 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
553 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
557 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
561 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
575 Int aMask0 = SignMask(coverage0); in alphaToCoverage()
576 Int aMask1 = SignMask(coverage1); in alphaToCoverage()
[all …]
DVertexProgram.cpp1119 Bool notAllFalse = SignMask(condition) != 0; in CALLNZp()
1137 Bool notAllFalse = SignMask(condition) != 0; in ELSE()
1303 Bool notAllFalse = SignMask(condition) != 0; in IF()
1409 Bool notAllFalse = SignMask(condition) != 0; in WHILE()
DSamplerCore.cpp1510 Int yAxis = SignMask(yMajor); in cubeFace()
1511 Int zAxis = SignMask(zMajor); in cubeFace()
1514 Int negative = SignMask(n); in cubeFace()
/external/swiftshader/src/Shader/
DVertexRoutine.cpp120 …clipFlags = *Pointer<Int>(constants + OFFSET(Constants,maxX) + SignMask(maxX) * 4); // FIXME: Ar… in computeClipFlags()
121 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxY) + SignMask(maxY) * 4); in computeClipFlags()
122 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxZ) + SignMask(maxZ) * 4); in computeClipFlags()
123 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minX) + SignMask(minX) * 4); in computeClipFlags()
124 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minY) + SignMask(minY) * 4); in computeClipFlags()
125 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minZ) + SignMask(minZ) * 4); in computeClipFlags()
132 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,fini) + SignMask(finiteXYZ) * 4); in computeClipFlags()
DPixelProgram.cpp1293 if(mask & 0x1) kill &= SignMask(CmpNLT(src.x, Float4(0.0f))); in TEXKILL()
1294 if(mask & 0x2) kill &= SignMask(CmpNLT(src.y, Float4(0.0f))); in TEXKILL()
1295 if(mask & 0x4) kill &= SignMask(CmpNLT(src.z, Float4(0.0f))); in TEXKILL()
1296 if(mask & 0x8) kill &= SignMask(CmpNLT(src.w, Float4(0.0f))); in TEXKILL()
1318 kill = ~SignMask(enableMask(instruction)); in DISCARD()
1498 Bool notAllFalse = SignMask(condition) != 0; in CALLNZp()
1516 Bool notAllFalse = SignMask(condition) != 0; in ELSE()
1682 Bool notAllFalse = SignMask(condition) != 0; in IF()
1786 Bool notAllFalse = SignMask(condition) != 0; in WHILE()
DPixelRoutine.cpp339 sMask = SignMask(value) & cMask; in stencilTest()
512 zMask = SignMask(zTest) & cMask; in depthTest()
539 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
543 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
547 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
553 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
557 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
561 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
575 Int aMask0 = SignMask(coverage0); in alphaToCoverage()
576 Int aMask1 = SignMask(coverage1); in alphaToCoverage()
[all …]
DVertexProgram.cpp1203 Bool notAllFalse = SignMask(condition) != 0; in CALLNZp()
1221 Bool notAllFalse = SignMask(condition) != 0; in ELSE()
1387 Bool notAllFalse = SignMask(condition) != 0; in IF()
1492 Bool notAllFalse = SignMask(condition) != 0; in WHILE()
DPixelPipeline.cpp1656 Int kill = SignMask(CmpNLT(u, Float4(0.0f))) & in TEXKILL()
1657 SignMask(CmpNLT(v, Float4(0.0f))) & in TEXKILL()
1658 SignMask(CmpNLT(s, Float4(0.0f))); in TEXKILL()
1669 Int kill = SignMask(PackSigned(test, test)) ^ 0x0000000F; in TEXKILL()
DSamplerCore.cpp1601 Int yAxis = SignMask(yMajor); in cubeFace()
1602 Int zAxis = SignMask(zMajor); in cubeFace()
1605 Int negative = SignMask(n); in cubeFace()
/external/swiftshader/third_party/subzero/src/
DIceIntrinsics.h73 SignMask, enumerator
DIceTargetLoweringX86BaseImpl.h3713 Constant *SignMask = Ctx->getConstantInt32(0x80000000);
3746 _test(Src0HiRM, SignMask);
3750 _test(Src0HiRM, SignMask);
4481 case Intrinsics::SignMask: {
DIceTargetLoweringARM32.cpp5413 case Intrinsics::SignMask: { in lowerIntrinsicCall()
/external/swiftshader/src/Device/
DQuadRasterizer.cpp209 Int zMask = SignMask(zTest); in rasterize()
287 cMask[q] = SignMask(PackSigned(mask, mask)) & 0x0000000F; in rasterize()
/external/swiftshader/src/Renderer/
DQuadRasterizer.cpp209 Int zMask = SignMask(zTest); in rasterize()
287 cMask[q] = SignMask(PackSigned(mask, mask)) & 0x0000000F; in rasterize()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1358 APInt SignMask; member
1376 State.SignMask = APInt::getSignBit(NumBits); in getSignAsIntValue()
1413 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); in getSignAsIntValue()
1443 SDValue SignMask = DAG.getConstant(SignAsInt.SignMask, DL, IntVT); in ExpandFCOPYSIGN() local
1445 SignMask); in ExpandFCOPYSIGN()
1462 SDValue ClearSignMask = DAG.getConstant(~MagAsInt.SignMask, DL, MagVT); in ExpandFCOPYSIGN()
1508 SDValue ClearSignMask = DAG.getConstant(~ValueAsInt.SignMask, DL, IntVT); in ExpandFABS()
DDAGCombiner.cpp7360 APInt SignMask; in foldBitcastedFPLogic() local
7364 SignMask = ~APInt::getSignBit(SourceVT.getSizeInBits()); in foldBitcastedFPLogic()
7368 SignMask = APInt::getSignBit(SourceVT.getSizeInBits()); in foldBitcastedFPLogic()
7379 if (LogicOp1 && LogicOp1->getAPIntValue() == SignMask && in foldBitcastedFPLogic()
9310 APInt SignMask; in visitFNEG() local
9314 SignMask = APInt::getSignBit(N0.getValueType().getScalarSizeInBits()); in visitFNEG()
9315 SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask); in visitFNEG()
9318 SignMask = APInt::getSignBit(IntVT.getSizeInBits()); in visitFNEG()
9322 DAG.getConstant(SignMask, DL0, IntVT)); in visitFNEG()
9415 APInt SignMask; in visitFABS() local
[all …]
DTargetLowering.cpp3102 SDValue SignMask = DAG.getConstant(APInt::getSignBit(VT.getSizeInBits()), dl, in expandFP_TO_SINT() local
3116 ISD::SRA, dl, IntVT, DAG.getNode(ISD::AND, dl, IntVT, Bits, SignMask), in expandFP_TO_SINT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp70 APInt SignMask; member
1402 State.SignMask = APInt::getSignMask(NumBits); in getSignAsIntValue()
1438 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); in getSignAsIntValue()
1467 SDValue SignMask = DAG.getConstant(SignAsInt.SignMask, DL, IntVT); in ExpandFCOPYSIGN() local
1469 SignMask); in ExpandFCOPYSIGN()
1486 SDValue ClearSignMask = DAG.getConstant(~MagAsInt.SignMask, DL, MagVT); in ExpandFCOPYSIGN()
1528 SDValue ClearSignMask = DAG.getConstant(~ValueAsInt.SignMask, DL, IntVT); in ExpandFABS()
DDAGCombiner.cpp9705 APInt SignMask; in foldBitcastedFPLogic() local
9709 SignMask = ~APInt::getSignMask(SourceVT.getSizeInBits()); in foldBitcastedFPLogic()
9713 SignMask = APInt::getSignMask(SourceVT.getSizeInBits()); in foldBitcastedFPLogic()
9724 if (LogicOp1 && LogicOp1->getAPIntValue() == SignMask && in foldBitcastedFPLogic()
11882 APInt SignMask; in visitFNEG() local
11886 SignMask = APInt::getSignMask(N0.getScalarValueSizeInBits()); in visitFNEG()
11887 SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask); in visitFNEG()
11890 SignMask = APInt::getSignMask(IntVT.getSizeInBits()); in visitFNEG()
11894 DAG.getConstant(SignMask, DL0, IntVT)); in visitFNEG()
11987 APInt SignMask; in visitFABS() local
[all …]
DTargetLowering.cpp3818 SDValue SignMask = DAG.getConstant(APInt::getSignMask(VT.getSizeInBits()), dl, in expandFP_TO_SINT() local
3832 ISD::SRA, dl, IntVT, DAG.getNode(ISD::AND, dl, IntVT, Bits, SignMask), in expandFP_TO_SINT()
/external/swiftshader/src/Reactor/
DReactor.hpp572 RValue<Int> SignMask(RValue<Byte8> x);
624 RValue<Int> SignMask(RValue<SByte8> x);
1849 RValue<Int> SignMask(RValue<Int4> x);
2126 RValue<Int> SignMask(RValue<Float4> x);
DSubzeroReactor.cpp2867 RValue<Int> SignMask(RValue<Byte8> x) in SignMask() function
2877 …const Ice::Intrinsics::IntrinsicInfo intrinsic = {Ice::Intrinsics::SignMask, Ice::Intrinsics::Side… in SignMask()
3143 RValue<Int> SignMask(RValue<SByte8> x) in SignMask() function
3153 …const Ice::Intrinsics::IntrinsicInfo intrinsic = {Ice::Intrinsics::SignMask, Ice::Intrinsics::Side… in SignMask()
6027 RValue<Int> SignMask(RValue<Int4> x) in SignMask() function
6037 …const Ice::Intrinsics::IntrinsicInfo intrinsic = {Ice::Intrinsics::SignMask, Ice::Intrinsics::Side… in SignMask()
7002 RValue<Int> SignMask(RValue<Float4> x) in SignMask() function
7012 …const Ice::Intrinsics::IntrinsicInfo intrinsic = {Ice::Intrinsics::SignMask, Ice::Intrinsics::Side… in SignMask()
DLLVMReactor.cpp2913 RValue<Int> SignMask(RValue<Byte8> x) in SignMask() function
3139 RValue<Int> SignMask(RValue<SByte8> x) in SignMask() function
5725 RValue<Int> SignMask(RValue<Int4> x) in SignMask() function
6734 RValue<Int> SignMask(RValue<Float4> x) in SignMask() function

12