/external/llvm/lib/IR/ |
D | Constants.cpp | 612 if (&V.getSemantics() == &APFloat::IEEEhalf) in get() 614 else if (&V.getSemantics() == &APFloat::IEEEsingle) in get() 616 else if (&V.getSemantics() == &APFloat::IEEEdouble) in get() 618 else if (&V.getSemantics() == &APFloat::x87DoubleExtended) in get() 620 else if (&V.getSemantics() == &APFloat::IEEEquad) in get() 623 assert(&V.getSemantics() == &APFloat::PPCDoubleDouble && in get() 641 assert(&V.getSemantics() == TypeToFloatSemantics(Ty) && in ConstantFP() 1184 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType() 1190 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType() 1196 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType() [all …]
|
D | AsmWriter.cpp | 804 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || in WriteConstantInternal() 805 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { in WriteConstantInternal() 812 bool isHalf = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEhalf; in WriteConstantInternal() 813 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal() 861 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) { in WriteConstantInternal() 883 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEquad) { in WriteConstantInternal() 886 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble) { in WriteConstantInternal() 889 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEhalf) { in WriteConstantInternal()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUMCInstLower.cpp | 45 assert(&FloatValue.getSemantics() == &APFloat::IEEEsingle && in lower()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 229 getFpVal().add(APFloat(T.getSemantics(), IntVal), RndMode); in operator +=() 234 T.add(APFloat(T.getSemantics(), That.IntVal), RndMode); in operator +=() 250 getFpVal().subtract(APFloat(T.getSemantics(), IntVal), RndMode); in operator -=() 255 T.subtract(APFloat(T.getSemantics(), IntVal), RndMode); in operator -=() 275 isInt() ? That.getFpVal().getSemantics() : getFpVal().getSemantics(); in operator *=() 352 Addend0.set(APFloat(C0->getValueAPF().getSemantics()), 0); in drillValueDownOneStep()
|
D | InstCombineMulDivRem.cpp | 827 APFloat Reciprocal(FpVal.getSemantics()); in CvtFDivConstToReciprocal() 831 Reciprocal = APFloat(FpVal.getSemantics(), 1.0f); in CvtFDivConstToReciprocal()
|
D | InstCombineCompares.cpp | 2767 APFloat SMax(RHS.getSemantics(), APFloat::fcZero, false); in FoldFCmp_IntToFP_Cst() 2779 APFloat UMax(RHS.getSemantics(), APFloat::fcZero, false); in FoldFCmp_IntToFP_Cst() 2792 APFloat SMin(RHS.getSemantics(), APFloat::fcZero, false); in FoldFCmp_IntToFP_Cst() 2803 APFloat SMin(RHS.getSemantics(), APFloat::fcZero, false); in FoldFCmp_IntToFP_Cst()
|
/external/clang/include/clang/AST/ |
D | APValue.h | 364 assert(&R.getSemantics() == &I.getSemantics() && in setComplexFloat()
|
D | Expr.h | 1331 return APFloatStorage::getValue(getSemantics()); in getValue() 1334 assert(&getSemantics() == &Val.getSemantics() && "Inconsistent semantics"); in setValue() 1351 const llvm::fltSemantics &getSemantics() const;
|
/external/llvm/include/llvm/ADT/ |
D | APFloat.h | 321 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 377 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details() 379 else if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEdouble) in print_details()
|
D | DAGCombiner.cpp | 6258 APFloat Recip(N1APF.getSemantics(), 1); // 1.0 in visitFDIV()
|
/external/llvm/lib/Target/AArch64/Utils/ |
D | AArch64BaseInfo.cpp | 589 const fltSemantics &Sem = Val.getSemantics(); in isFPImm()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 286 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 202 if (&V.getSemantics() == &APFloat::IEEEdouble) { in ftostr() 205 } else if (&V.getSemantics() == &APFloat::IEEEsingle) { in ftostr()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1214 Tmp.convert(Value->getValueAPF().getSemantics(),
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1143 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf && in EmitConstantValue()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 651 setSemantics(V.getSemantics()); in FloatingLiteral() 673 const llvm::fltSemantics &FloatingLiteral::getSemantics() const { in getSemantics() function in FloatingLiteral
|
D | ItaniumMangle.cpp | 2894 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression()
|
D | ExprConstant.cpp | 5818 Result.FloatReal = APFloat(Imag.getSemantics()); in VisitImaginaryLiteral() 5897 Result.FloatImag = APFloat(Real.getSemantics()); in VisitCastExpr()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 384 Reader.ReadAPFloat(Record, E->getSemantics(), Idx)); in VisitFloatingLiteral()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.td | 681 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEsingle) 688 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEdouble)
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 2784 if (&ID.APFloatVal.getSemantics() == &APFloat::IEEEdouble) { in ConvertValIDToValue()
|