/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | VertexRoutine.cpp | 132 clipFlags = Pointer<Int>(constants + OFFSET(Constants, maxX))[SignMask(maxX)]; in computeClipFlags() 133 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxY))[SignMask(maxY)]; in computeClipFlags() 134 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minX))[SignMask(minX)]; in computeClipFlags() 135 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minY))[SignMask(minY)]; in computeClipFlags() 140 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxZ))[SignMask(maxZ)]; in computeClipFlags() 141 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minZ))[SignMask(minZ)]; in computeClipFlags() 150 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, fini))[SignMask(finiteXYZ)]; in computeClipFlags() 165 auto mask = SignMask(CmpGE(distance, SIMD::Float(0))); in computeCullMask()
|
D | ShaderCore.cpp | 633 return rr::SignMask(ints) != 0; in AnyTrue() 638 return rr::SignMask(~ints) != 0; in AnyFalse() 1028 return rr::SignMask(~CmpEQ(o.yzww, o + SIMD::Int(1 * step, 2 * step, 3 * step, 0))) == 0; in hasSequentialOffsets() 1055 return rr::SignMask(~CmpEQ(o, o.yzwx)) == 0; in hasEqualOffsets()
|
D | PixelProgram.cpp | 236 cMask[q] &= SignMask(CmpNEQ(outputSampleMask & SIMD::Int(1 << q), SIMD::Int(0))); in executeShader()
|
D | SpirvShaderGroup.cpp | 201 …dst.move(0, SIMD::Int(SignMask(state->activeLaneMask() & predicate.Int(0)))); // Considers helper… in EmitGroupNonUniform()
|
D | PixelRoutine.cpp | 245 auto clipMask = SignMask(CmpGE(distance, SIMD::Float(0))); in quad() 373 sMask[q] &= SignMask(value); in stencilTest() 483 zMask = SignMask(zTest) & cMask; in depthTest32F() 560 zMask = SignMask(zTest) & cMask; in depthTest16() 661 cMask &= zMask & SignMask(zTest); in depthBoundsTest() 665 zMask &= cMask & SignMask(zTest); in depthBoundsTest() 681 Int aMask = SignMask(coverage); in alphaToCoverage()
|
D | SpirvShaderControlFlow.cpp | 577 state->routine->killMask |= SignMask(state->activeLaneMask()); in EmitKill()
|
D | SamplerCore.cpp | 1264 Int yAxis = SignMask(yMajor); in cubeFace() 1265 Int zAxis = SignMask(zMajor); in cubeFace() 1268 Int negative = SignMask(n); in cubeFace()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | VertexRoutine.cpp | 120 …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()
|
D | PixelProgram.cpp | 1328 if(mask & 0x1) kill &= SignMask(CmpNLT(src.x, Float4(0.0f))); in TEXKILL() 1329 if(mask & 0x2) kill &= SignMask(CmpNLT(src.y, Float4(0.0f))); in TEXKILL() 1330 if(mask & 0x4) kill &= SignMask(CmpNLT(src.z, Float4(0.0f))); in TEXKILL() 1331 if(mask & 0x8) kill &= SignMask(CmpNLT(src.w, Float4(0.0f))); in TEXKILL() 1353 kill = ~SignMask(enableMask(instruction)); in DISCARD() 1533 Bool notAllFalse = SignMask(condition) != 0; in CALLNZp() 1551 Bool notAllFalse = SignMask(condition) != 0; in ELSE() 1717 Bool notAllFalse = SignMask(condition) != 0; in IF() 1821 Bool notAllFalse = SignMask(condition) != 0; in WHILE()
|
D | PixelRoutine.cpp | 339 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 …]
|
D | VertexProgram.cpp | 1217 Bool notAllFalse = SignMask(condition) != 0; in CALLNZp() 1235 Bool notAllFalse = SignMask(condition) != 0; in ELSE() 1401 Bool notAllFalse = SignMask(condition) != 0; in IF() 1506 Bool notAllFalse = SignMask(condition) != 0; in WHILE()
|
D | PixelPipeline.cpp | 1656 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()
|
D | SamplerCore.cpp | 1602 Int yAxis = SignMask(yMajor); in cubeFace() 1603 Int zAxis = SignMask(zMajor); in cubeFace() 1606 Int negative = SignMask(n); in cubeFace()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceIntrinsics.h | 66 SignMask, enumerator
|
D | IceTargetLoweringX8632.cpp | 3451 Constant *SignMask = Ctx->getConstantInt32(0x80000000); in lowerIcmp64() local 3484 _test(Src0HiRM, SignMask); in lowerIcmp64() 3488 _test(Src0HiRM, SignMask); in lowerIcmp64() 4145 case Intrinsics::SignMask: { in lowerIntrinsic()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | QuadRasterizer.cpp | 209 Int zMask = SignMask(zTest); in rasterize() 287 cMask[q] = SignMask(PackSigned(mask, mask)) & 0x0000000F; in rasterize()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | QuadRasterizer.cpp | 202 cMask[q] = SignMask(PackSigned(mask, mask)) & 0x0000000F; in rasterize()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 2364 RValue<Int> SignMask(RValue<Byte8> x) in SignMask() function 2375 …const Ice::Intrinsics::IntrinsicInfo intrinsic = { Ice::Intrinsics::SignMask, Ice::Intrinsics::Sid… in SignMask() 2476 RValue<Int> SignMask(RValue<SByte8> x) in SignMask() function 2487 …const Ice::Intrinsics::IntrinsicInfo intrinsic = { Ice::Intrinsics::SignMask, Ice::Intrinsics::Sid… in SignMask() 3687 RValue<Int> SignMask(RValue<Int4> x) in SignMask() function 3698 …const Ice::Intrinsics::IntrinsicInfo intrinsic = { Ice::Intrinsics::SignMask, Ice::Intrinsics::Sid… in SignMask() 4034 RValue<Int> SignMask(RValue<Float4> x) in SignMask() function 4045 …const Ice::Intrinsics::IntrinsicInfo intrinsic = { Ice::Intrinsics::SignMask, Ice::Intrinsics::Sid… in SignMask()
|
D | Reactor.hpp | 716 RValue<Int> SignMask(RValue<Byte8> x); 769 RValue<Int> SignMask(RValue<SByte8> x); 2024 RValue<Int> SignMask(RValue<Int4> x); 2365 RValue<Int> SignMask(RValue<Float4> x);
|
D | LLVMReactor.cpp | 1913 RValue<Int> SignMask(RValue<Byte8> x) in SignMask() function 1967 RValue<Int> SignMask(RValue<SByte8> x) in SignMask() function 2799 RValue<Int> SignMask(RValue<Int4> x) in SignMask() function 3215 RValue<Int> SignMask(RValue<Float4> x) in SignMask() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 70 APInt SignMask; member 1453 State.SignMask = APInt::getSignMask(NumBits); in getSignAsIntValue() 1488 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); in getSignAsIntValue() 1517 SDValue SignMask = DAG.getConstant(SignAsInt.SignMask, DL, IntVT); in ExpandFCOPYSIGN() local 1519 SignMask); in ExpandFCOPYSIGN() 1536 SDValue ClearSignMask = DAG.getConstant(~MagAsInt.SignMask, DL, MagVT); in ExpandFCOPYSIGN() 1578 SDValue ClearSignMask = DAG.getConstant(~ValueAsInt.SignMask, DL, IntVT); in ExpandFABS()
|
D | DAGCombiner.cpp | 11102 APInt SignMask; in foldBitcastedFPLogic() local 11106 SignMask = ~APInt::getSignMask(SourceVT.getScalarSizeInBits()); in foldBitcastedFPLogic() 11110 SignMask = APInt::getSignMask(SourceVT.getScalarSizeInBits()); in foldBitcastedFPLogic() 11114 SignMask = APInt::getSignMask(SourceVT.getScalarSizeInBits()); in foldBitcastedFPLogic() 11126 if (LogicOp1 && LogicOp1->getAPIntValue() == SignMask && in foldBitcastedFPLogic() 13402 APInt SignMask; in visitFNEG() local 13406 SignMask = APInt::getSignMask(N0.getScalarValueSizeInBits()); in visitFNEG() 13407 SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask); in visitFNEG() 13410 SignMask = APInt::getSignMask(IntVT.getSizeInBits()); in visitFNEG() 13414 DAG.getConstant(SignMask, DL0, IntVT)); in visitFNEG() [all …]
|
D | TargetLowering.cpp | 6054 SDValue SignMask = DAG.getConstant(APInt::getSignMask(SrcEltBits), dl, IntVT); in expandFP_TO_SINT() local 6066 DAG.getNode(ISD::AND, dl, IntVT, Bits, SignMask), in expandFP_TO_SINT() 6122 APInt SignMask = APInt::getSignMask(DstVT.getScalarSizeInBits()); in expandFP_TO_UINT() local 6124 APF.convertFromAPInt(SignMask, false, APFloat::rmNearestTiesToEven)) { in expandFP_TO_UINT() 6162 DAG.getConstant(SignMask, dl, DstVT)); in expandFP_TO_UINT() 6186 DAG.getConstant(SignMask, dl, DstVT)); in expandFP_TO_UINT()
|
D | LegalizeFloatTypes.cpp | 459 APInt SignMask = APInt::getSignMask(NVT.getSizeInBits()); in SoftenFloatRes_FNEG() local 461 DAG.getConstant(SignMask, dl, NVT)); in SoftenFloatRes_FNEG()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 2278 APInt SignMask = APInt::getSignMask(Ty->getScalarSizeInBits()); in foldICmpSRemConstant() local 2279 Constant *MaskC = ConstantInt::get(Ty, SignMask | (*DivisorC - 1)); in foldICmpSRemConstant() 2291 return new ICmpInst(ICmpInst::ICMP_UGT, And, ConstantInt::get(Ty, SignMask)); in foldICmpSRemConstant()
|