Home
last modified time | relevance | path

Searched refs:isUnsigned (Results 1 – 25 of 55) sorted by relevance

123

/third_party/glslang/glslang/MachineIndependent/preprocessor/
DPpScanner.cpp543 bool isUnsigned = false; in scan() local
585 isUnsigned = true; in scan()
626 return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64; in scan()
637 return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16; in scan()
642 return isUnsigned ? PpAtomConstUint : PpAtomConstInt; in scan()
647 bool isUnsigned = false; in scan() local
693 isUnsigned = true; in scan()
740 return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64; in scan()
751 return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16; in scan()
754 return isUnsigned ? PpAtomConstUint : PpAtomConstInt; in scan()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h30 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true)
31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
33 explicit APSInt(APInt I, bool isUnsigned = true)
34 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} in APInt()
77 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function
/third_party/boost/libs/python/src/numpy/
Ddtype.cpp51 template <int bits, bool isUnsigned> struct builtin_int_dtype;
55 template <int bits, bool isUnsigned> dtype get_int_dtype() { in get_int_dtype()
56 return builtin_int_dtype<bits,isUnsigned>::get(); in get_int_dtype()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsScanHelpers.cpp159 const bool isUnsigned = subgroups::isFormatUnsigned(format); in getIdentity() local
210 else if (isUnsigned) in getIdentity()
259 else if (isUnsigned) in getIdentity()
/third_party/skia/src/sksl/ir/
DSkSLType.h274 bool isUnsigned() const { in isUnsigned() function
376 return this->isUnsigned() ? 0 : -(k1 << (this->bitWidth() - 1)); in minimumValue()
383 return (this->isUnsigned() ? (k1 << this->bitWidth()) in maximumValue()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DVertexFormatTests.cpp200 bool isUnsigned, in ShaderTypeGenerator() argument
205 } else if (isUnsigned) { in ShaderTypeGenerator()
213 } else if (isUnsigned) { in ShaderTypeGenerator()
226 bool isUnsigned = IsUnsignedFormat(format); in MakeTestPipeline() local
234 ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, componentCount); in MakeTestPipeline()
235 std::string expectedDataType = ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, 1); in MakeTestPipeline()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DVertexFormatTests.cpp203 bool isUnsigned, in ShaderTypeGenerator() argument
208 } else if (isUnsigned) { in ShaderTypeGenerator()
226 bool isUnsigned = IsUnsignedFormat(format); in MakeTestPipeline() local
234 ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, componentCount); in MakeTestPipeline()
235 std::string expectedDataType = ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, 1); in MakeTestPipeline()
308 } else if (isUnsigned) { in MakeTestPipeline()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsClusteredTests.cpp182 bool isUnsigned = false; in getIdentity() local
199 isUnsigned = true; in getIdentity()
236 else if (isUnsigned) in getIdentity()
254 else if (isUnsigned) in getIdentity()
DglcSubgroupsPartitionedTests.cpp188 bool isUnsigned = false; in getIdentity() local
205 isUnsigned = true; in getIdentity()
248 else if (isUnsigned) in getIdentity()
268 else if (isUnsigned) in getIdentity()
DglcSubgroupsArithmeticTests.cpp238 bool isUnsigned = false; in getIdentity() local
255 isUnsigned = true; in getIdentity()
298 else if (isUnsigned) in getIdentity()
318 else if (isUnsigned) in getIdentity()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkFormat.hpp38 bool isUnsigned() const;
/third_party/flutter/skia/src/sksl/ir/
DSkSLIntLiteral.h48 if (target.isSigned() || target.isUnsigned() || target.isFloat()) { in coercionCost()
DSkSLType.h284 bool isUnsigned() const { in isUnsigned() function
292 return isSigned() || isUnsigned(); in isInteger()
/third_party/boost/boost/python/numpy/
Ddtype.hpp77 template <int bits, bool isUnsigned> dtype get_int_dtype();
/third_party/skia/src/sksl/dsl/
DDSLType.cpp195 bool DSLType::isUnsigned() const { in isUnsigned() function in SkSL::dsl::DSLType
196 return this->skslType().isUnsigned(); in isUnsigned()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputSPIRV.cpp2283 const bool isUnsigned = basicType == EbtUInt; in visitOperator() local
2386 else if (isUnsigned) in visitOperator()
2395 else if (isUnsigned) in visitOperator()
2421 else if (isUnsigned) in visitOperator()
2430 else if (isUnsigned) in visitOperator()
2439 else if (isUnsigned) in visitOperator()
2448 else if (isUnsigned) in visitOperator()
2508 if (isUnsigned) in visitOperator()
2624 else if (isUnsigned) in visitOperator()
2632 else if (isUnsigned) in visitOperator()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DZ3Solver.cpp751 bool isUnsigned) override { in getBitvector() argument
756 isUnsigned); in getBitvector()
805 Int = getBitvector(AST, Int.getBitWidth(), Int.isUnsigned()); in toAPSInt()
820 Int.isUnsigned()); in toAPSInt()
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp5418 bool isUnsigned = isTypeUnsignedInt(typeProxy); in createBinaryOperation() local
5485 else if (isUnsigned) in createBinaryOperation()
5494 else if (isUnsigned) in createBinaryOperation()
5501 if (isUnsigned) in createBinaryOperation()
5536 binOp = isUnsigned ? spv::OpAbsUSubINTEL : spv::OpAbsISubINTEL; in createBinaryOperation()
5540 binOp = isUnsigned ? spv::OpUAddSatINTEL : spv::OpIAddSatINTEL; in createBinaryOperation()
5544 binOp = isUnsigned ? spv::OpUSubSatINTEL : spv::OpISubSatINTEL; in createBinaryOperation()
5548 binOp = isUnsigned ? spv::OpUAverageINTEL : spv::OpIAverageINTEL; in createBinaryOperation()
5552 binOp = isUnsigned ? spv::OpUAverageRoundedINTEL : spv::OpIAverageRoundedINTEL; in createBinaryOperation()
5556 binOp = isUnsigned ? spv::OpUMul32x16INTEL : spv::OpIMul32x16INTEL; in createBinaryOperation()
[all …]
/third_party/skia/include/sksl/
DDSLType.h117 bool isUnsigned() const;
/third_party/skia/tests/
DSkSLDSLTest.cpp491 REPORTER_ASSERT(r, !DSLType(kBool_Type).isUnsigned()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
503 REPORTER_ASSERT(r, !DSLType(kInt_Type).isUnsigned()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
515 REPORTER_ASSERT(r, DSLType(kUInt_Type).isUnsigned()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
527 REPORTER_ASSERT(r, !DSLType(kFloat_Type).isUnsigned()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
539 REPORTER_ASSERT(r, !DSLType(kFloat2_Type).isUnsigned()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
551 REPORTER_ASSERT(r, !DSLType(kHalf2x2_Type).isUnsigned()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
563 REPORTER_ASSERT(r, !DSLType(Array(kFloat_Type, 2)).isUnsigned()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSMTAPI.h400 bool isUnsigned) = 0;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp553 if (ICI->isUnsigned() && !DoesZExtCollapse) in eliminateTrunc()
561 if (ICI->isUnsigned()) in eliminateTrunc()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp216 return (type.isScalar() || type.isVector()) && type.componentType().isUnsigned(); in is_unsigned()
531 if (type.isUnsigned()) { in getActualType()
592 } else if (type->isUnsigned()) { in getType()
1326 if (outputType.isUnsigned()) { in castScalarToType()
1363 } else if (inputType.isUnsigned()) { in castScalarToFloat()
1397 } else if (inputType.isUnsigned()) { in castScalarToSignedInt()
1409 SkASSERT(c.type().isUnsigned()); in writeUIntConstructor()
1418 if (inputType.isUnsigned()) { in castScalarToUnsignedInt()
1464 } else if (inputType.isUnsigned()) { in castScalarToBoolean()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstrTypes.h908 bool isUnsigned() const {
909 return isUnsigned(getPredicate());
939 static bool isUnsigned(Predicate predicate);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp72 NumOfUnsigned += CI->isUnsigned(); in getPreferredExtendForValue()

123