Home
last modified time | relevance | path

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

12

/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp335 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act() local
337 unsigned R = Ran->Rand() % (isFloat ? 7 : 13); in Act()
342 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; } in Act()
343 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } in Act()
344 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; } in Act()
345 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } in Act()
346 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; } in Act()
347 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
348 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; } in Act()
/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/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp185 bool isFloat = glu::isDataTypeFloatOrVec(output.type); in createProgram() local
186 const char* interp = isFloat ? "smooth" : "flat"; in createProgram()
563 bool isFloat = glu::isDataTypeFloatOrVec(output.type); in iterate() local
578 if (isFloat) in iterate()
714 bool isFloat = glu::isDataTypeFloatOrVec(output.type); in iterate() local
718 deUint32 glScalarType = isFloat ? GL_FLOAT : in iterate()
731 if (isFloat) in iterate()
771 const bool isFloat = glu::isDataTypeFloatOrVec(output.type); in iterate() local
791 else if (isFloat) in iterate()
999 bool isFloat = glu::isDataTypeFloatOrVec(outType); in createRandomCase() local
[all …]
Des3fTransformFeedbackTests.cpp526 bool isFloat = glu::isDataTypeFloatOrVec(attrib.type.getBasicType()); in genAttributeData() local
537 if (isFloat) in genAttributeData()
1653 bool isFloat = glu::getDataTypeScalarType(type) == glu::TYPE_FLOAT; in init() local
1660 …m_context, name.c_str(), "", bufferMode, primitiveType, type, precision, isFloat ? INTERPOLATION_S… in init()
1687 bool isFloat = glu::getDataTypeScalarType(type) == glu::TYPE_FLOAT; in init() local
1694 …m_context, name.c_str(), "", bufferMode, primitiveType, type, precision, isFloat ? INTERPOLATION_S… in init()
1721 bool isFloat = glu::getDataTypeScalarType(type) == glu::TYPE_FLOAT; in init() local
1728 …m_context, name.c_str(), "", bufferMode, primitiveType, type, precision, isFloat ? INTERPOLATION_S… in init()
/external/chromium_org/mojo/public/js/bindings/tests/
Dvalidation_test_input_parser.js105 Item.prototype.isFloat = function() { method in Item
115 return this.isFloat() || this.isInteger();
/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/clang/lib/Lex/
DLiteralSupport.cpp523 isFloat = false; in NumericLiteralParser()
583 if (isFloat || isLong) break; // FF, LF invalid. in NumericLiteralParser()
584 isFloat = true; in NumericLiteralParser()
595 if (isFloat) break; // LF invalid. in NumericLiteralParser()
682 isFloat = false; in NumericLiteralParser()
/external/clang/include/clang/Lex/
DLiteralSupport.h64 bool isFloat; // 1.0f variable
/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/
DHexagon.td161 "isMEMri", "isFloat"];
DHexagonInstrFormats.td182 string isFloat = "false"; // Set to "true" for the floating-point load/store.
/external/deqp/executor/
DxeTestResultParser.cpp273 const bool isFloat = value.find('.') != std::string::npos || value.find('e') != std::string::npos; in getNumericValue() local
275 if (isFloat) in getNumericValue()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_l_y_f.py544 if coordinates.isFloat():
958 def isFloat(self): member in GlyphCoordinates
962 if self.isFloat():
/external/jsoncpp/
DNEWS.txt13 * isDouble and isFloat now return true for all numeric values, since all
/external/deqp/modules/glshared/
DglsLongStressCase.cpp993 const bool isFloat = glu::isDataTypeFloatOrVec(attrSpec.type); in generateRandomAttribData() local
995 const int componentSize = (int)(isFloat ? sizeof(GLfloat) : sizeof(GLint)); in generateRandomAttribData()
1005 if (isFloat) in generateRandomAttribData()
/external/llvm/include/llvm/Target/
DTargetLowering.h290 BooleanContent getBooleanContents(bool isVec, bool isFloat) const { in getBooleanContents() argument
293 return isFloat ? BooleanFloatContents : BooleanContents; in getBooleanContents()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1369 bool isFloat = (Ty->isFloatTy() || Ty->isDoubleTy()); in ARMEmitCmp() local
1370 if (isFloat && !Subtarget->hasVFP2()) in ARMEmitCmp()
1800 bool isFloat = (Ty->isDoubleTy() || Ty->isFloatTy()); in SelectBinaryFPOp() local
1801 if (isFloat && !Subtarget->hasVFP2()) in SelectBinaryFPOp()
/external/deqp/modules/gles3/performance/
Des3pShaderOperatorTests.cpp2251 int isFloat = funcTypes[i] & VALUE_ANY_FLOAT; in init() local
2263 types[i] = isFloat ? floatTypes[typeArrayNdx] in init()
/external/deqp/modules/gles2/performance/
Des2pShaderOperatorTests.cpp2208 int isFloat = funcTypes[i] & VALUE_ANY_FLOAT; in init() local
2218 types[i] = isFloat ? floatTypes[typeArrayNdx] in init()
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DWebGLRenderingContextBase.h833 void texParameter(GLenum target, GLenum pname, GLfloat parami, GLint paramf, bool isFloat);
DWebGLRenderingContextBase.cpp3617 …gContextBase::texParameter(GLenum target, GLenum pname, GLfloat paramf, GLint parami, bool isFloat) in texParameter() argument
3630 … if ((isFloat && paramf != GL_CLAMP_TO_EDGE && paramf != GL_MIRRORED_REPEAT && paramf != GL_REPEAT) in texParameter()
3631 …|| (!isFloat && parami != GL_CLAMP_TO_EDGE && parami != GL_MIRRORED_REPEAT && parami != GL_REPEAT)… in texParameter()
3646 if (isFloat) { in texParameter()
/external/clang/utils/TableGen/
DNeonEmitter.cpp171 bool isFloat() const { return Float && ElementBitwidth == 32; } in isFloat() function in __anon7fb122680111::Type
/external/clang/lib/AST/
DExprConstant.cpp1564 if (SVal.isFloat()) { in EvalAndBitcastToAPInt()
1580 } else if (Elt.isFloat()) { in EvalAndBitcastToAPInt()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp888 if (Value->isFloat()) in CreateRecordStaticField()
/external/clang/lib/Sema/
DSemaChecking.cpp5270 if (value.isFloat()) in IsSameFloatAfterCast()

12