Searched refs:isFloat (Results 1 - 25 of 46) sorted by relevance

12

/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp343 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy();
345 unsigned R = Ran->Rand() % (isFloat ? 7 : 13);
350 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; }
351 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; }
352 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; }
353 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; }
354 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; }
355 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; }
356 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; }
/external/clang/include/clang/AST/
H A DAPValue.h183 bool isFloat() const { return Kind == Float; } function in class:clang::APValue
209 assert(isFloat() && "Invalid accessor");
352 assert(isFloat() && "Invalid accessor");
/external/deqp/framework/randomshaders/
H A DrsgUtils.cpp132 bool isFloat = valueRange.getType().getBaseType() == VariableType::TYPE_FLOAT; local
133 Scalar infMin = isFloat ? Scalar::min<float>() : Scalar::min<int>();
134 Scalar infMax = isFloat ? Scalar::max<float>() : Scalar::max<int>();
/external/deqp/modules/gles3/functional/
H A Des3fFragmentOutputTests.cpp185 bool isFloat = glu::isDataTypeFloatOrVec(output.type); local
186 const char* interp = isFloat ? "smooth" : "flat";
187 const char* interpPrec = isFloat ? "highp" : outputPrec;
628 bool isFloat = glu::isDataTypeFloatOrVec(output.type); local
643 if (isFloat)
779 bool isFloat = glu::isDataTypeFloatOrVec(output.type); local
783 deUint32 glScalarType = isFloat ? GL_FLOAT :
796 if (isFloat)
842 const bool isFloat = glu::isDataTypeFloatOrVec(output.type); local
862 else if (isFloat)
[all...]
H A Des3fTransformFeedbackTests.cpp537 const bool isFloat = glu::isDataTypeFloatOrVec(attrib.type.getBasicType()); local
548 if (isFloat)
1666 bool isFloat = glu::getDataTypeScalarType(type) == glu::TYPE_FLOAT;
1673 primitiveGroup->addChild(new BasicTypeCase(m_context, name.c_str(), "", bufferMode, primitiveType, type, precision, isFloat ? INTERPOLATION_SMOOTH : INTERPOLATION_FLAT));
1700 bool isFloat = glu::getDataTypeScalarType(type) == glu::TYPE_FLOAT;
1707 primitiveGroup->addChild(new BasicArrayCase(m_context, name.c_str(), "", bufferMode, primitiveType, type, precision, isFloat ? INTERPOLATION_SMOOTH : INTERPOLATION_FLAT));
1734 bool isFloat = glu::getDataTypeScalarType(type) == glu::TYPE_FLOAT;
1741 primitiveGroup->addChild(new ArrayElementCase(m_context, name.c_str(), "", bufferMode, primitiveType, type, precision, isFloat ? INTERPOLATION_SMOOTH : INTERPOLATION_FLAT));
/external/deqp/modules/gles31/functional/
H A Des31fNegativeShaderImageLoadStoreTests.cpp216 bool isFloat = false; local
225 isFloat = true;
263 return isFloat ? ", 1.0" : ", 1";
/external/clang/include/clang/Lex/
H A DLiteralSupport.h64 bool isFloat : 1; // 1.0f
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.h210 bool isFloat(MCInstrInfo const &MCII, MCInst const &MCI);
H A DHexagonMCChecker.cpp182 HexagonMCInstrInfo::isFloat(MCII, MCI)));
194 HexagonMCInstrInfo::isFloat(MCII, MCI)));
H A DHexagonShuffler.cpp220 if (HexagonMCInstrInfo::isFloat(MCII, *ID))
H A DHexagonMCInstrInfo.cpp447 bool HexagonMCInstrInfo::isFloat(MCInstrInfo const &MCII, MCInst const &MCI) { function in class:llvm::HexagonMCInstrInfo
/external/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp685 bool isFloat, bool isIntZero,
722 } else if (isFloat && Suff::has("f", text)) {
724 } else if (isFloat && Suff::has("F", text)) {
745 else if (!isFloat && !isIntZero && text.startswith("0"))
684 getLiteralInfo(SourceRange literalRange, bool isFloat, bool isIntZero, ASTContext &Ctx, LiteralInfo &Info) argument
/external/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h282 bool isFloat(const MachineInstr *MI) const;
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_g_l_y_f.py544 if coordinates.isFloat():
958 def isFloat(self): member in class:GlyphCoordinates
962 if self.isFloat():
/external/fonttools/Tools/fontTools/ttLib/tables/
H A D_g_l_y_f.py544 if coordinates.isFloat():
958 def isFloat(self): member in class:GlyphCoordinates
962 if self.isFloat():
/external/deqp/executor/
H A DxeTestResultParser.cpp275 const bool isFloat = value.find('.') != std::string::npos || value.find('e') != std::string::npos; local
277 if (isFloat)
/external/owasp/sanitizer/tools/findbugs/lib/
H A DjFormatString.jarMETA-INF/ META-INF/MANIFEST.MF edu/ edu/umd/ edu/umd/cs/ edu/umd/cs/findbugs/ ...
/external/deqp/modules/glshared/
H A DglsLongStressCase.cpp993 const bool isFloat = glu::isDataTypeFloatOrVec(attrSpec.type); local
995 const int componentSize = (int)(isFloat ? sizeof(GLfloat) : sizeof(GLint));
1005 if (isFloat)
/external/llvm/include/llvm/Target/
H A DTargetLowering.h356 BooleanContent getBooleanContents(bool isVec, bool isFloat) const {
359 return isFloat ? BooleanFloatContents : BooleanContents;
/external/clang/lib/Lex/
H A DLiteralSupport.cpp525 isFloat = false;
585 if (isFloat || isLong) break; // FF, LF invalid.
586 isFloat = true;
597 if (isFloat) break; // LF invalid.
673 isFloat = false;
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1365 bool isFloat = (Ty->isFloatTy() || Ty->isDoubleTy()); local
1366 if (isFloat && !Subtarget->hasVFP2())
1799 bool isFloat = (Ty->isDoubleTy() || Ty->isFloatTy()); local
1800 if (isFloat && !Subtarget->hasVFP2())
/external/v8/src/compiler/
H A Dwasm-compiler.cc2651 bool isFloat = IsFloatingPoint(memtype.representation()); local
2702 if (isFloat) {
2791 bool isFloat = IsFloatingPoint(memtype.representation()); local
2810 if (isFloat) {
/external/deqp/framework/common/
H A DtcuTextureUtil.cpp1583 const bool isFloat = channelClass == tcu::TEXTURECHANNELCLASS_FLOATING_POINT;
1600 else if (isFloat)
/external/deqp/modules/gles2/performance/
H A Des2pShaderOperatorTests.cpp2208 int isFloat = funcTypes[i] & VALUE_ANY_FLOAT;
2218 types[i] = isFloat ? floatTypes[typeArrayNdx]
/external/deqp/modules/gles3/performance/
H A Des3pShaderOperatorTests.cpp2251 int isFloat = funcTypes[i] & VALUE_ANY_FLOAT;
2263 types[i] = isFloat ? floatTypes[typeArrayNdx]

Completed in 429 milliseconds

12