Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp68 assert((FP.bitwiseIsEqual(APFloat::getQNaN(FP.getSemantics())) || in toString()
70 APFloat::getQNaN(FP.getSemantics(), /*Negative=*/true))) && in toString()
/external/llvm/lib/IR/
DConstants.cpp720 if (&V.getSemantics() == &APFloat::IEEEhalf) in get()
722 else if (&V.getSemantics() == &APFloat::IEEEsingle) in get()
724 else if (&V.getSemantics() == &APFloat::IEEEdouble) in get()
726 else if (&V.getSemantics() == &APFloat::x87DoubleExtended) in get()
728 else if (&V.getSemantics() == &APFloat::IEEEquad) in get()
731 assert(&V.getSemantics() == &APFloat::PPCDoubleDouble && in get()
753 assert(&V.getSemantics() == TypeToFloatSemantics(Ty) && in ConstantFP()
1271 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType()
1277 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType()
1283 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
[all …]
DAsmWriter.cpp1098 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || in WriteConstantInternal()
1099 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { in WriteConstantInternal()
1106 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal()
1149 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) { in WriteConstantInternal()
1156 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEquad) { in WriteConstantInternal()
1162 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble) { in WriteConstantInternal()
1168 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEhalf) { in WriteConstantInternal()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUMCInstLower.cpp42 assert(&FloatValue.getSemantics() == &APFloat::IEEEsingle && in lower()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp266 convertToFpType(T.getSemantics()); in operator +=()
272 T.add(createAPFloatFromInt(T.getSemantics(), That.IntVal), RndMode); in operator +=()
287 convertToFpType(T.getSemantics()); in operator -=()
293 T.subtract(createAPFloatFromInt(T.getSemantics(), IntVal), RndMode); in operator -=()
313 isInt() ? That.getFpVal().getSemantics() : getFpVal().getSemantics(); in operator *=()
391 Addend0.set(APFloat(C0->getValueAPF().getSemantics()), nullptr); in drillValueDownOneStep()
DInstCombineMulDivRem.cpp1196 APFloat Reciprocal(FpVal.getSemantics()); in CvtFDivConstToReciprocal()
1200 Reciprocal = APFloat(FpVal.getSemantics(), 1.0f); in CvtFDivConstToReciprocal()
DInstCombineCompares.cpp3890 int MaxExponent = ilogb(APFloat::getLargest(RHS.getSemantics())); in FoldFCmp_IntToFP_Cst()
3950 APFloat SMax(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst()
3962 APFloat UMax(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst()
3975 APFloat SMin(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst()
3986 APFloat SMin(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst()
DInstCombineCalls.cpp1621 APFloat Val(ArgVal.getSemantics(), 1.0); in visitCallInst()
/external/clang/lib/AST/
DExprConstant.cpp398 llvm::APFloat::semanticsPrecision(F.getSemantics()); in operator <<()
3068 APFloat One(Value.getSemantics(), 1); in found()
7209 LHS.FloatImag = APFloat(LHS.FloatReal.getSemantics()); in VisitBinaryOperator()
7221 RHS.FloatImag = APFloat(RHS.FloatReal.getSemantics()); in VisitBinaryOperator()
8186 Result.FloatReal = APFloat(Imag.getSemantics()); in VisitImaginaryLiteral()
8266 Result.FloatImag = APFloat(Real.getSemantics()); in VisitCastExpr()
8352 Result.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator()
8367 RHS.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator()
8438 APFloat(A.getSemantics(), A.isInfinity() ? 1 : 0), A); in VisitBinaryOperator()
8440 APFloat(B.getSemantics(), B.isInfinity() ? 1 : 0), B); in VisitBinaryOperator()
[all …]
DExpr.cpp745 setSemantics(V.getSemantics()); in FloatingLiteral()
767 const llvm::fltSemantics &FloatingLiteral::getSemantics() const { in getSemantics() function in FloatingLiteral
DItaniumMangle.cpp3442 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression()
/external/clang/include/clang/AST/
DAPValue.h370 assert(&R.getSemantics() == &I.getSemantics() && in setComplexFloat()
DExpr.h1411 return APFloatStorage::getValue(getSemantics()); in getValue()
1414 assert(&getSemantics() == &Val.getSemantics() && "Inconsistent semantics"); in setValue()
1431 const llvm::fltSemantics &getSemantics() const;
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1343 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle)
1345 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble)
1352 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle)
1354 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble)
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp425 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details()
427 else if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEdouble) in print_details()
/external/llvm/include/llvm/ADT/
DAPFloat.h438 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
/external/llvm/lib/Support/
DAPFloat.cpp3950 auto MaxExp = X.getSemantics().maxExponent; in scalbn()
3951 auto MinExp = X.getSemantics().minExponent; in scalbn()
3954 return APFloat::getInf(X.getSemantics(), X.isNegative()); in scalbn()
3957 return APFloat::getZero(X.getSemantics(), X.isNegative()); in scalbn()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp491 const fltSemantics &SL = L.getSemantics(), &SR = R.getSemantics(); in cmpAPFloats()
/external/llvm/include/llvm/IR/
DConstants.h295 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp207 if (&V.getSemantics() == &APFloat::IEEEdouble) { in ftostr()
210 } else if (&V.getSemantics() == &APFloat::IEEEsingle) { in ftostr()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1331 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf && in EmitConstantValue()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1483 Tmp.convert(Value->getValueAPF().getSemantics(),
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1190 if (V.compare(APFloat(V.getSemantics(), 32.0)) == APFloat::cmpGreaterThan || in optimizePow()
/external/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.td680 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEsingle)
687 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEdouble)
/external/clang/lib/Serialization/
DASTReaderStmt.cpp488 Reader.ReadAPFloat(Record, E->getSemantics(), Idx)); in VisitFloatingLiteral()

12