Home
last modified time | relevance | path

Searched refs:isFloat (Results 1 – 25 of 79) sorted by relevance

1234

/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsPartitionedTests.cpp242 bool isFloat = false; in getIdentity() local
271 isFloat = true; in getIdentity()
296 if (isFloat) in getIdentity()
316 if (isFloat) in getIdentity()
967 bool isFloat = false; in createSubgroupsPartitionedTests() local
981 isFloat = true; in createSubgroupsPartitionedTests()
1010 if (isFloat && isBitwiseOp) in createSubgroupsPartitionedTests()
DvktSubgroupsClusteredTests.cpp177 bool isFloat = false; in getIdentity() local
206 isFloat = true; in getIdentity()
225 if (isFloat) in getIdentity()
243 if (isFloat) in getIdentity()
806 bool isFloat = false; in createSubgroupsClusteredTests() local
820 isFloat = true; in createSubgroupsClusteredTests()
843 if (isFloat && isBitwiseOp) in createSubgroupsClusteredTests()
DvktSubgroupsArithmeticTests.cpp233 bool isFloat = false; in getIdentity() local
262 isFloat = true; in getIdentity()
287 if (isFloat) in getIdentity()
307 if (isFloat) in getIdentity()
976 bool isFloat = false; in createSubgroupsArithmeticTests() local
990 isFloat = true; in createSubgroupsArithmeticTests()
1019 if (isFloat && isBitwiseOp) in createSubgroupsArithmeticTests()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp342 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act() local
344 unsigned R = Ran->Rand() % (isFloat ? 7 : 13); in Act()
349 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; } in Act()
350 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } in Act()
351 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; } in Act()
352 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } in Act()
353 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; } in Act()
354 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
355 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; } in Act()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/
Dllvm-stress.cpp389 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act() local
391 unsigned R = getRandom() % (isFloat ? 7 : 13); in Act()
396 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; } in Act()
397 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } in Act()
398 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; } in Act()
399 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } in Act()
400 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; } in Act()
401 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
402 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; } in Act()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp185 bool isFloat = glu::isDataTypeFloatOrVec(output.type); in createProgram() local
186 const char* interp = isFloat ? "smooth" : "flat"; in createProgram()
187 const char* interpPrec = isFloat ? "highp" : outputPrec; in createProgram()
628 bool isFloat = glu::isDataTypeFloatOrVec(output.type); in iterate() local
643 if (isFloat) in iterate()
779 bool isFloat = glu::isDataTypeFloatOrVec(output.type); in iterate() local
783 deUint32 glScalarType = isFloat ? GL_FLOAT : in iterate()
796 if (isFloat) in iterate()
842 const bool isFloat = glu::isDataTypeFloatOrVec(output.type); in iterate() local
862 else if (isFloat) in iterate()
[all …]
Des3fTransformFeedbackTests.cpp537 const bool isFloat = glu::isDataTypeFloatOrVec(attrib.type.getBasicType()); in genAttributeData() local
548 if (isFloat) in genAttributeData()
1666 bool isFloat = glu::getDataTypeScalarType(type) == glu::TYPE_FLOAT; in init() local
1673 …m_context, name.c_str(), "", bufferMode, primitiveType, type, precision, isFloat ? INTERPOLATION_S… in init()
1700 bool isFloat = glu::getDataTypeScalarType(type) == glu::TYPE_FLOAT; in init() local
1707 …m_context, name.c_str(), "", bufferMode, primitiveType, type, precision, isFloat ? INTERPOLATION_S… in init()
1734 bool isFloat = glu::getDataTypeScalarType(type) == glu::TYPE_FLOAT; in init() local
1741 …m_context, name.c_str(), "", bufferMode, primitiveType, type, precision, isFloat ? INTERPOLATION_S… in init()
/external/deqp/framework/randomshaders/
DrsgUtils.cpp132 bool isFloat = valueRange.getType().getBaseType() == VariableType::TYPE_FLOAT; in isUndefinedValueRange() local
133 Scalar infMin = isFloat ? Scalar::min<float>() : Scalar::min<int>(); in isUndefinedValueRange()
134 Scalar infMax = isFloat ? Scalar::max<float>() : Scalar::max<int>(); in isUndefinedValueRange()
/external/clang/lib/Lex/
DLiteralSupport.cpp526 isFloat = false; in NumericLiteralParser()
565 if (isHalf || isFloat || isLong) break; // HH, FH, LH invalid. in NumericLiteralParser()
571 if (isHalf || isFloat || isLong || isFloat128) in NumericLiteralParser()
573 isFloat = true; in NumericLiteralParser()
578 if (isHalf || isFloat || isLong || isFloat128) in NumericLiteralParser()
591 if (isHalf || isFloat || isFloat128) break; // LH, LF, LQ invalid. in NumericLiteralParser()
667 isFloat = false; in NumericLiteralParser()
/external/skia/src/sksl/ir/
DSkSLConstructor.h35 if (fType.isFloat()) { in constantPropagate()
108 if (fType.componentType().isFloat()) { in compareConstant()
DSkSLFloatLiteral.h41 if (target.isFloat()) { in coercionCost()
DSkSLIntLiteral.h48 if (target.isSigned() || target.isUnsigned() || target.isFloat()) { in coercionCost()
DSkSLSwizzle.h121 } else if (fType.isFloat()) { in constantPropagate()
/external/clang/include/clang/AST/
DAPValue.h183 bool isFloat() const { return Kind == Float; } in isFloat() function
209 assert(isFloat() && "Invalid accessor"); in getFloat()
352 assert(isFloat() && "Invalid accessor"); in setFloat()
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp4717 bool isFloat = isTypeFloat(typeProxy); local
4727 if (isFloat)
4734 if (isFloat)
4741 if (isFloat)
4748 if (isFloat && (builder.isVector(left) || builder.isVector(right))) {
4754 } else if (isFloat)
4781 if (isFloat)
4790 if (isFloat)
4877 if (isFloat)
4885 if (isFloat)
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderImageLoadStoreTests.cpp216 bool isFloat = false; in getOtherFunctionArguments() local
225 isFloat = true; in getOtherFunctionArguments()
263 return isFloat ? ", 1.0" : ", 1"; in getOtherFunctionArguments()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_l_y_f.py645 if deltas.isFloat():
1260 def isFloat(self): member in GlyphCoordinates
1264 if self.isFloat():
1270 if self.isFloat():
1327 if not self.isFloat():
1480 if other.isFloat(): self._ensureFloat()
1505 if other.isFloat(): self._ensureFloat()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMFastISel.cpp1108 bool isFloat = (Ty->isDoubleTy() || Ty->isFloatTy()); in SelectBranch() local
1109 if (isFloat && !Subtarget->hasVFP2()) in SelectBranch()
1152 if (isFloat) in SelectBranch()
1225 bool isFloat = (Ty->isDoubleTy() || Ty->isFloatTy()); in SelectCmp() local
1226 if (isFloat && !Subtarget->hasVFP2()) in SelectCmp()
1265 if (isFloat) in SelectCmp()
1477 bool isFloat = (Ty->isDoubleTy() || Ty->isFloatTy()); in SelectBinaryOp() local
1478 if (isFloat && !Subtarget->hasVFP2()) in SelectBinaryOp()
/external/skqp/src/sksl/ir/
DSkSLType.cpp29 if (this->isNumber() && other.isFloat()) { in coercionCost()
DSkSLType.h228 bool isFloat() const { in isFloat() function
/external/llvm/lib/Target/Hexagon/
DHexagon.td167 "isFloat"];
176 "isFloat"];
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp685 bool isFloat, bool isIntZero, in getLiteralInfo() argument
722 } else if (isFloat && Suff::has("f", text)) { in getLiteralInfo()
724 } else if (isFloat && Suff::has("F", text)) { in getLiteralInfo()
745 else if (!isFloat && !isIntZero && text.startswith("0")) in getLiteralInfo()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.cpp186 HexagonMCInstrInfo::isFloat(MCII, MCI))); in init()
198 HexagonMCInstrInfo::isFloat(MCII, MCI))); in init()
/external/clang/include/clang/Lex/
DLiteralSupport.h66 bool isFloat : 1; // 1.0f variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagon.td200 "isFloat"];
209 "isFloat"];

1234