/external/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 | 1157 if(mask & 0x1) kill &= SignMask(CmpNLT(src.x, Float4(0.0f))); in TEXKILL() 1158 if(mask & 0x2) kill &= SignMask(CmpNLT(src.y, Float4(0.0f))); in TEXKILL() 1159 if(mask & 0x4) kill &= SignMask(CmpNLT(src.z, Float4(0.0f))); in TEXKILL() 1160 if(mask & 0x8) kill &= SignMask(CmpNLT(src.w, Float4(0.0f))); in TEXKILL() 1182 kill = ~SignMask(enableMask(instruction)); in DISCARD() 1231 Bool allBreak = SignMask(enableBreak) == 0x0; in BREAK() 1280 Bool allBreak = SignMask(enableBreak) == 0x0; in BREAK() 1384 Bool notAllFalse = SignMask(condition) != 0; in CALLNZp() 1402 Bool notAllFalse = SignMask(condition) != 0; in ELSE() 1573 Bool notAllFalse = SignMask(condition) != 0; in IF() [all …]
|
D | PixelRoutine.cpp | 348 sMask = SignMask(value) & cMask; in stencilTest() 521 zMask = SignMask(zTest) & cMask; in depthTest() 548 aMask = SignMask(Pack(cmp, Short4(0x0000, 0x0000, 0x0000, 0x0000))); in alphaTest() 552 aMask = SignMask(Pack(cmp, Short4(0x0000, 0x0000, 0x0000, 0x0000))); in alphaTest() 556 aMask = SignMask(Pack(cmp, Short4(0x0000, 0x0000, 0x0000, 0x0000))); in alphaTest() 562 aMask = SignMask(Pack(cmp, Short4(0x0000, 0x0000, 0x0000, 0x0000))); in alphaTest() 566 aMask = SignMask(Pack(cmp, Short4(0x0000, 0x0000, 0x0000, 0x0000))); in alphaTest() 570 aMask = SignMask(Pack(cmp, Short4(0x0000, 0x0000, 0x0000, 0x0000))); in alphaTest() 584 Int aMask0 = SignMask(coverage0); in alphaToCoverage() 585 Int aMask1 = SignMask(coverage1); in alphaToCoverage() [all …]
|
D | VertexProgram.cpp | 1012 Bool allBreak = SignMask(enableBreak) == 0x0; in BREAK() 1061 Bool allBreak = SignMask(enableBreak) == 0x0; in BREAK() 1165 Bool notAllFalse = SignMask(condition) != 0; in CALLNZp() 1183 Bool notAllFalse = SignMask(condition) != 0; in ELSE() 1354 Bool notAllFalse = SignMask(condition) != 0; in IF() 1462 Bool notAllFalse = SignMask(condition) != 0; in WHILE()
|
D | PixelPipeline.cpp | 1655 Int kill = SignMask(CmpNLT(u, Float4(0.0f))) & in TEXKILL() 1656 SignMask(CmpNLT(v, Float4(0.0f))) & in TEXKILL() 1657 SignMask(CmpNLT(s, Float4(0.0f))); in TEXKILL() 1668 Int kill = SignMask(Pack(test, test)) ^ 0x0000000F; in TEXKILL()
|
D | SamplerCore.cpp | 1612 Int yAxis = SignMask(yMajor); in cubeFace() 1613 Int zAxis = SignMask(zMajor); in cubeFace() 1616 Int negative = SignMask(n); in cubeFace()
|
/external/swiftshader/src/Renderer/ |
D | QuadRasterizer.cpp | 208 Int zMask = SignMask(zTest); in rasterize() 286 cMask[q] = SignMask(Pack(mask, mask)) & 0x0000000F; in rasterize()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 1358 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()
|
D | DAGCombiner.cpp | 7360 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 …]
|
D | TargetLowering.cpp | 3102 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/src/Reactor/ |
D | Nucleus.hpp | 774 RValue<Int> SignMask(RValue<Byte8> x); 827 RValue<Int> SignMask(RValue<SByte8> x); 1716 RValue<Int> SignMask(RValue<Int4> x); 2394 RValue<Int> SignMask(RValue<Float4> x);
|
D | Nucleus.cpp | 2277 RValue<Int> SignMask(RValue<Byte8> x) in SignMask() function 2585 RValue<Int> SignMask(RValue<SByte8> x) in SignMask() function 5611 RValue<Int> SignMask(RValue<Int4> x) in SignMask() function 6713 RValue<Int> SignMask(RValue<Float4> x) in SignMask() function
|