| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Constants.cpp | 721 if (&V.getSemantics() == &APFloat::IEEEhalf) in get() 723 else if (&V.getSemantics() == &APFloat::IEEEsingle) in get() 725 else if (&V.getSemantics() == &APFloat::IEEEdouble) in get() 727 else if (&V.getSemantics() == &APFloat::x87DoubleExtended) in get() 729 else if (&V.getSemantics() == &APFloat::IEEEquad) in get() 732 assert(&V.getSemantics() == &APFloat::PPCDoubleDouble && in get() 754 assert(&V.getSemantics() == TypeToFloatSemantics(Ty) && in ConstantFP() 1336 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType() 1342 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType() 1348 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType() [all …]
|
| HD | AsmWriter.cpp | 1088 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || in WriteConstantInternal() 1089 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { in WriteConstantInternal() 1096 bool isHalf = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEhalf; in WriteConstantInternal() 1097 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal() 1145 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) { in WriteConstantInternal() 1167 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEquad) { in WriteConstantInternal() 1170 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble) { in WriteConstantInternal() 1173 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEhalf) { in WriteConstantInternal()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | ExprConstant.cpp | 379 llvm::APFloat::semanticsPrecision(F.getSemantics()); in operator <<() 2983 APFloat One(Value.getSemantics(), 1); in found() 6862 LHS.FloatImag = APFloat(LHS.FloatReal.getSemantics()); in VisitBinaryOperator() 6874 RHS.FloatImag = APFloat(RHS.FloatReal.getSemantics()); in VisitBinaryOperator() 7838 Result.FloatReal = APFloat(Imag.getSemantics()); in VisitImaginaryLiteral() 7918 Result.FloatImag = APFloat(Real.getSemantics()); in VisitCastExpr() 8004 Result.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 8019 RHS.FloatImag = APFloat(Real.getSemantics()); in VisitBinaryOperator() 8090 APFloat(A.getSemantics(), A.isInfinity() ? 1 : 0), A); in VisitBinaryOperator() 8092 APFloat(B.getSemantics(), B.isInfinity() ? 1 : 0), B); in VisitBinaryOperator() [all …]
|
| HD | Expr.cpp | 740 setSemantics(V.getSemantics()); in FloatingLiteral() 762 const llvm::fltSemantics &FloatingLiteral::getSemantics() const { in getSemantics() function in FloatingLiteral
|
| HD | ItaniumMangle.cpp | 3315 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression()
|
| /NextBSD/contrib/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineAddSub.cpp | 265 convertToFpType(T.getSemantics()); in operator +=() 271 T.add(createAPFloatFromInt(T.getSemantics(), That.IntVal), RndMode); in operator +=() 286 convertToFpType(T.getSemantics()); in operator -=() 292 T.subtract(createAPFloatFromInt(T.getSemantics(), IntVal), RndMode); in operator -=() 312 isInt() ? That.getFpVal().getSemantics() : getFpVal().getSemantics(); in operator *=() 390 Addend0.set(APFloat(C0->getValueAPF().getSemantics()), nullptr); in drillValueDownOneStep()
|
| HD | InstCombineMulDivRem.cpp | 1190 APFloat Reciprocal(FpVal.getSemantics()); in CvtFDivConstToReciprocal() 1194 Reciprocal = APFloat(FpVal.getSemantics(), 1.0f); in CvtFDivConstToReciprocal()
|
| HD | InstCombineCompares.cpp | 3790 APFloat SMax(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst() 3802 APFloat UMax(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst() 3815 APFloat SMin(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst() 3826 APFloat SMin(RHS.getSemantics()); in FoldFCmp_IntToFP_Cst()
|
| HD | InstCombineCalls.cpp | 1102 APFloat Val(ArgVal.getSemantics(), 1.0); in visitCallInst()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | APValue.h | 370 assert(&R.getSemantics() == &I.getSemantics() && in setComplexFloat()
|
| HD | Expr.h | 1378 return APFloatStorage::getValue(getSemantics()); in getValue() 1381 assert(&getSemantics() == &Val.getSemantics() && "Inconsistent semantics"); in setValue() 1398 const llvm::fltSemantics &getSemantics() const;
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| HD | ASTMatchersInternal.h | 1322 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle) 1324 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble) 1331 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle) 1333 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble)
|
| /NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| HD | SelectionDAGDumper.cpp | 402 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details() 404 else if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEdouble) in print_details()
|
| HD | DAGCombiner.cpp | 8279 APFloat Recip(N1APF.getSemantics(), 1); // 1.0 in visitFDIV()
|
| /NextBSD/contrib/llvm/include/llvm/ADT/ |
| HD | APFloat.h | 435 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
|
| /NextBSD/contrib/llvm/lib/Transforms/IPO/ |
| HD | MergeFunctions.cpp | 429 if (int Res = cmpNumbers((uint64_t)&L.getSemantics(), in cmpAPFloats() 430 (uint64_t)&R.getSemantics())) in cmpAPFloats()
|
| /NextBSD/contrib/llvm/lib/Support/ |
| HD | APFloat.cpp | 3932 auto MaxExp = X.getSemantics().maxExponent; in scalbn() 3933 auto MinExp = X.getSemantics().minExponent; in scalbn() 3936 return APFloat::getInf(X.getSemantics(), X.isNegative()); in scalbn() 3939 return APFloat::getZero(X.getSemantics(), X.isNegative()); in scalbn()
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | Constants.h | 295 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
| /NextBSD/contrib/llvm/lib/Target/CppBackend/ |
| HD | CPPBackend.cpp | 207 if (&V.getSemantics() == &APFloat::IEEEdouble) { in ftostr() 210 } else if (&V.getSemantics() == &APFloat::IEEEsingle) { in ftostr()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGExprConstant.cpp | 1317 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf && in EmitConstantValue()
|
| /NextBSD/contrib/llvm/include/llvm/CodeGen/ |
| HD | SelectionDAGNodes.h | 1486 Tmp.convert(Value->getValueAPF().getSemantics(),
|
| /NextBSD/contrib/llvm/lib/Target/NVPTX/ |
| HD | NVPTXInstrInfo.td | 680 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEsingle) 687 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEdouble)
|
| /NextBSD/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | ASTReaderStmt.cpp | 468 Reader.ReadAPFloat(Record, E->getSemantics(), Idx)); in VisitFloatingLiteral()
|
| /NextBSD/contrib/llvm/lib/AsmParser/ |
| HD | LLParser.cpp | 4000 if (&ID.APFloatVal.getSemantics() == &APFloat::IEEEdouble) { in ConvertValIDToValue()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaChecking.cpp | 6788 unsigned precision = llvm::APFloat::semanticsPrecision(Value.getSemantics()); in DiagnoseFloatingLiteralImpCast()
|