Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstants.cpp612 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 …]
DAsmWriter.cpp804 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/
DAMDGPUMCInstLower.cpp45 assert(&FloatValue.getSemantics() == &APFloat::IEEEsingle && in lower()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp229 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()
DInstCombineMulDivRem.cpp827 APFloat Reciprocal(FpVal.getSemantics()); in CvtFDivConstToReciprocal()
831 Reciprocal = APFloat(FpVal.getSemantics(), 1.0f); in CvtFDivConstToReciprocal()
DInstCombineCompares.cpp2767 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/
DAPValue.h364 assert(&R.getSemantics() == &I.getSemantics() && in setComplexFloat()
DExpr.h1331 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/
DAPFloat.h321 const fltSemantics &getSemantics() const { return *semantics; } in getSemantics() function
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp377 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details()
379 else if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEdouble) in print_details()
DDAGCombiner.cpp6258 APFloat Recip(N1APF.getSemantics(), 1); // 1.0 in visitFDIV()
/external/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.cpp589 const fltSemantics &Sem = Val.getSemantics(); in isFPImm()
/external/llvm/include/llvm/IR/
DConstants.h286 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp202 if (&V.getSemantics() == &APFloat::IEEEdouble) { in ftostr()
205 } else if (&V.getSemantics() == &APFloat::IEEEsingle) { in ftostr()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1214 Tmp.convert(Value->getValueAPF().getSemantics(),
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1143 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf && in EmitConstantValue()
/external/clang/lib/AST/
DExpr.cpp651 setSemantics(V.getSemantics()); in FloatingLiteral()
673 const llvm::fltSemantics &FloatingLiteral::getSemantics() const { in getSemantics() function in FloatingLiteral
DItaniumMangle.cpp2894 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression()
DExprConstant.cpp5818 Result.FloatReal = APFloat(Imag.getSemantics()); in VisitImaginaryLiteral()
5897 Result.FloatImag = APFloat(Real.getSemantics()); in VisitCastExpr()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp384 Reader.ReadAPFloat(Record, E->getSemantics(), Idx)); in VisitFloatingLiteral()
/external/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.td681 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEsingle)
688 if (&(N->getValueAPF().getSemantics()) != &llvm::APFloat::IEEEdouble)
/external/llvm/lib/AsmParser/
DLLParser.cpp2784 if (&ID.APFloatVal.getSemantics() == &APFloat::IEEEdouble) { in ConvertValIDToValue()