Home
last modified time | relevance | path

Searched refs:isSigned (Results 1 – 25 of 141) sorted by relevance

123456

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dcopyvertex.inc.h303 template <bool isSigned, bool normalized, bool toFloat, bool toHalf>
312 if (isSigned) in CopyPackedRGB()
357 if (isSigned) in CopyPackedRGB()
378 template <bool isSigned, bool normalized, bool toFloat, bool toHalf>
386 if (isSigned) in CopyPackedAlpha()
452 if (isSigned) in CopyPackedAlpha()
482 template <bool isSigned, bool normalized, bool toFloat, bool toHalf>
504 priv::CopyPackedRGB<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData()
506 priv::CopyPackedRGB<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData()
508 priv::CopyPackedRGB<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData()
[all …]
Dcopyvertex.h58 template <bool isSigned, bool normalized, bool toFloat, bool toHalf>
64 template <bool isSigned, bool normalized, bool toHalf>
70 template <bool isSigned, bool normalized, bool toHalf>
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBlendIntegerTest.cpp43 template <GLenum internalformat, GLuint components, bool isSigned>
62 ANGLE_GL_PROGRAM(program, essl3_shaders::vs::Simple(), isSigned ? kFssi : kFsui); in runTest()
74 if (isSigned) in runTest()
100 if (isSigned) in runTest()
114 template <bool isSigned>
140 isSigned ? kFragmentSigned : kFragmentUnsigned); in runTestMRT()
154 glRenderbufferStorage(GL_RENDERBUFFER, isSigned ? GL_RGBA32I : GL_RGBA32UI, in runTestMRT()
169 if (isSigned) in runTestMRT()
190 if (isSigned) in runTestMRT()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dcopyvertex.inc.h225 template <bool isSigned, bool normalized, bool toFloat>
234 if (isSigned) in CopyPackedRGB()
283 if (isSigned) in CopyPackedRGB()
304 template <bool isSigned, bool normalized, bool toFloat>
310 if (isSigned) in CopyPackedAlpha()
399 if (isSigned) in CopyPackedAlpha()
446 template <bool isSigned, bool normalized, bool toFloat>
468 priv::CopyPackedRGB<isSigned, normalized, toFloat>( in CopyXYZ10W2ToXYZW32FVertexData()
470 priv::CopyPackedRGB<isSigned, normalized, toFloat>( in CopyXYZ10W2ToXYZW32FVertexData()
472 priv::CopyPackedRGB<isSigned, normalized, toFloat>( in CopyXYZ10W2ToXYZW32FVertexData()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h48 bool isNegative() const { return isSigned() && APInt::isNegative(); } in isNegative()
76 bool isSigned() const { return !IsUnsigned; } in isSigned() function
83 APInt::toString(Str, Radix, isSigned());
88 return APInt::toString(Radix, isSigned()); in toString()
95 return isSigned() ? getSExtValue() : getZExtValue(); in getExtValue()
307 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned()) in compareValues()
318 if (I1.isSigned()) { in compareValues()
319 assert(!I2.isSigned() && "Expected signed mismatch"); in compareValues()
323 assert(I2.isSigned() && "Expected signed mismatch"); in compareValues()
347 I.print(OS, I.isSigned());
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp61 return (CmpInst::isSigned(P1) == CmpInst::isSigned(P2)) || in predicatesFoldable()
62 (CmpInst::isSigned(P1) && ICmpInst::isEquality(P2)) || in predicatesFoldable()
63 (CmpInst::isSigned(P2) && ICmpInst::isEquality(P1)); in predicatesFoldable()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DBC_Decoder.cpp147 …*dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp, int channel, bool isSigned) const in decode()
151 if(isSigned) in decode()
175 c[6] = isSigned ? -128 : 0; in decode()
176 c[7] = isSigned ? 127 : 255; in decode()
396 bool isSigned; member
410 isSigned = false; in RGBf()
436 if(isSigned) in resolveDelta()
444 if(isSigned) in unquantize()
578 Color interpolate(RGBf e0, RGBf e1, const IndexInfo &index, bool isSigned) in interpolate() argument
597 if(isSigned) in interpolate()
[all …]
DETC_Decoder.cpp28 inline short clampEAC(int value, bool isSigned) in clampEAC() argument
30 short min = isSigned ? -1023 : 0; in clampEAC()
31 short max = isSigned ? 1023 : 2047; in clampEAC()
91 …igned char *dest, int nbChannels, int x, int y, int w, int h, int pitch, bool isSigned, bool isEAC) in DecodeBlock()
102 … sDst[i * nbChannels + c] = clampEAC(sources[c]->getSingleChannel(i, j, isSigned, true), isSigned); in DecodeBlock()
110 if(isSigned) in DecodeBlock()
119 sDst[i * nbChannels + c] = clampSByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
133 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
616 inline int getSingleChannel(int x, int y, bool isSigned, bool isEAC) const in getSingleChannel()
618 int codeword = isSigned ? signed_base_codeword : base_codeword; in getSingleChannel()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DETC_Decoder.cpp29 inline int clampEAC(int value, bool isSigned) in clampEAC() argument
31 int min = isSigned ? -1023 : 0; in clampEAC()
32 int max = isSigned ? 1023 : 2047; in clampEAC()
92 …igned char *dest, int nbChannels, int x, int y, int w, int h, int pitch, bool isSigned, bool isEAC) in DecodeBlock()
103 … sDst[i * nbChannels + c] = clampEAC(sources[c]->getSingleChannel(i, j, isSigned, true), isSigned); in DecodeBlock()
111 if(isSigned) in DecodeBlock()
120 sDst[i * nbChannels + c] = clampSByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
134 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
619 inline int getSingleChannel(int x, int y, bool isSigned, bool isEAC) const in getSingleChannel()
621 int codeword = isSigned ? signed_base_codeword : base_codeword; in getSingleChannel()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.h48 bool isSigned; // This is only significant if type_class is integral. member
55 (first.isSigned == second.isSigned) &&
/third_party/skia/third_party/externals/spirv-tools/source/
Dtext_handler.h48 bool isSigned; // This is only significant if type_class is integral. member
55 (first.isSigned == second.isSigned) &&
/third_party/spirv-tools/source/
Dtext_handler.h48 bool isSigned; // This is only significant if type_class is integral. member
55 (first.isSigned == second.isSigned) &&
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dtext_handler.h45 bool isSigned; // This is only significant if type_class is integral. member
52 (first.isSigned == second.isSigned) &&
/third_party/flutter/skia/third_party/externals/angle2/src/image_util/
Dloadimage_etc.cpp65 bool isSigned) const in decodeAsSingleETC2Channel()
73 if (isSigned) in decodeAsSingleETC2Channel()
75 *pixel = clampSByte(getSingleETC2Channel(i, j, isSigned)); in decodeAsSingleETC2Channel()
79 *pixel = clampByte(getSingleETC2Channel(i, j, isSigned)); in decodeAsSingleETC2Channel()
93 bool isSigned, in decodeAsSingleEACChannel()
103 if (isSigned) in decodeAsSingleEACChannel()
106 renormalizeEAC<int16_t>(getSingleEACChannel(i, j, isSigned)); in decodeAsSingleEACChannel()
113 renormalizeEAC<uint16_t>(getSingleEACChannel(i, j, isSigned)); in decodeAsSingleEACChannel()
1337 int getSingleEACChannel(size_t x, size_t y, bool isSigned) const in getSingleEACChannel()
1339 int codeword = isSigned ? u.scblk.base_codeword.s : u.scblk.base_codeword.us; in getSingleEACChannel()
[all …]
/third_party/skia/third_party/externals/angle2/src/image_util/
Dloadimage_etc.cpp65 bool isSigned) const in decodeAsSingleETC2Channel()
73 if (isSigned) in decodeAsSingleETC2Channel()
75 *pixel = clampSByte(getSingleETC2Channel(i, j, isSigned)); in decodeAsSingleETC2Channel()
79 *pixel = clampByte(getSingleETC2Channel(i, j, isSigned)); in decodeAsSingleETC2Channel()
93 bool isSigned, in decodeAsSingleEACChannel()
103 if (isSigned) in decodeAsSingleEACChannel()
106 renormalizeEAC<int16_t>(getSingleEACChannel(i, j, isSigned)); in decodeAsSingleEACChannel()
113 renormalizeEAC<uint16_t>(getSingleEACChannel(i, j, isSigned)); in decodeAsSingleEACChannel()
1337 int getSingleEACChannel(size_t x, size_t y, bool isSigned) const in getSingleEACChannel()
1339 int codeword = isSigned ? u.scblk.base_codeword.s : u.scblk.base_codeword.us; in getSingleEACChannel()
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/
DTextInputChannel.java354 public final boolean isSigned; field in TextInputChannel.InputType
357 public InputType(@NonNull TextInputType type, boolean isSigned, boolean isDecimal) { in InputType() argument
359 this.isSigned = isSigned; in InputType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1561 bool isSigned) { in evaluateICmpRelation() argument
1577 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in evaluateICmpRelation()
1581 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; in evaluateICmpRelation()
1592 evaluateICmpRelation(V2, V1, isSigned); in evaluateICmpRelation()
1599 evaluateICmpRelation(V2, V1, isSigned); in evaluateICmpRelation()
1627 evaluateICmpRelation(V2, V1, isSigned); in evaluateICmpRelation()
1674 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false; in evaluateICmpRelation()
1675 if (CE1->getOpcode() == Instruction::SExt) isSigned = true; in evaluateICmpRelation()
1678 isSigned); in evaluateICmpRelation()
1693 return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; in evaluateICmpRelation()
[all …]
DIntrinsicInst.cpp201 bool BinaryOpIntrinsic::isSigned() const { in isSigned() function in BinaryOpIntrinsic
215 if (isSigned()) in getNoWrapKind()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp98 bool isSigned() const { return DivInst->getOpcode() == Instruction::SDiv; } in isSigned() function
193 bool HasDivRemOp = TTI.hasDivRemOp(E.getType(), E.isSigned()); in optimizeDivRem()
206 Instruction *RealRem = E.isSigned() ? BinaryOperator::CreateSRem(X, Y) in optimizeDivRem()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h622 unsigned minRequiredElementSize(const Value* Val, bool &isSigned) { in minRequiredElementSize() argument
631 isSigned = false; in minRequiredElementSize()
646 isSigned |= signedElement; in minRequiredElementSize()
659 isSigned = CI->getValue().isNegative(); in minRequiredElementSize()
664 isSigned = true; in minRequiredElementSize()
669 isSigned = false; in minRequiredElementSize()
673 isSigned = false; in minRequiredElementSize()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp352 int getNBitIntegerMaxValue (bool isSigned, int numBits) in getNBitIntegerMaxValue() argument
358 else if (isSigned) in getNBitIntegerMaxValue()
364 int getNBitIntegerMinValue (bool isSigned, int numBits) in getNBitIntegerMinValue() argument
370 else if (isSigned) in getNBitIntegerMinValue()
376 tcu::IVec4 getNBitIntegerVec4MaxValue (bool isSigned, const tcu::IVec4& numBits) in getNBitIntegerVec4MaxValue() argument
378 return tcu::IVec4(getNBitIntegerMaxValue(isSigned, numBits[0]), in getNBitIntegerVec4MaxValue()
379 getNBitIntegerMaxValue(isSigned, numBits[1]), in getNBitIntegerVec4MaxValue()
380 getNBitIntegerMaxValue(isSigned, numBits[2]), in getNBitIntegerVec4MaxValue()
381 getNBitIntegerMaxValue(isSigned, numBits[3])); in getNBitIntegerVec4MaxValue()
384 tcu::IVec4 getNBitIntegerVec4MinValue (bool isSigned, const tcu::IVec4& numBits) in getNBitIntegerVec4MinValue() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFastISel.cpp176 bool SelectIToFP(const Instruction *I, bool isSigned);
177 bool SelectFPToI(const Instruction *I, bool isSigned);
178 bool SelectDiv(const Instruction *I, bool isSigned);
179 bool SelectRem(const Instruction *I, bool isSigned);
1537 bool ARMFastISel::SelectIToFP(const Instruction *I, bool isSigned) { in SelectIToFP() argument
1560 /*isZExt*/!isSigned); in SelectIToFP()
1570 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS; in SelectIToFP()
1572 Opc = isSigned ? ARM::VSITOD : ARM::VUITOD; in SelectIToFP()
1582 bool ARMFastISel::SelectFPToI(const Instruction *I, bool isSigned) { in SelectFPToI() argument
1596 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS; in SelectFPToI()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSMTAPI.h286 bool isSigned) = 0;
302 bool isSigned) = 0;
317 bool isSigned) = 0;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp632 bool isSigned, in convertNormalizedInt() argument
642 if (isSigned) in convertNormalizedInt()
820 const bool isSigned = (chanClass == TEXTURECHANNELCLASS_SIGNED_FIXED_POINT); in convertNormalizedFormat() local
877 if (isSigned) in convertNormalizedFormat()
886 …convertNormalizedInt(chanVal, chanBits, isSigned, internalFormat[compNdx], resultMin[compNdx], res… in convertNormalizedFormat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp89 bool isSigned(const BinaryOperator &I) const;
93 bool isSigned(const SelectInst &I) const;
220 bool AMDGPUCodeGenPrepare::isSigned(const BinaryOperator &I) const { in isSigned() function in AMDGPUCodeGenPrepare
225 bool AMDGPUCodeGenPrepare::isSigned(const SelectInst &I) const { in isSigned() function in AMDGPUCodeGenPrepare
227 cast<ICmpInst>(I.getOperand(0))->isSigned() : false; in isSigned()
304 if (isSigned(I)) { in promoteUniformOpToI32()
344 if (I.isSigned()) { in promoteUniformOpToI32()
372 if (isSigned(I)) { in promoteUniformOpToI32()

123456