Home
last modified time | relevance | path

Searched refs:isDoubleTy (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp140 } else if (Ty->isFloatTy() || Ty->isDoubleTy()) { in scalarConstantToHexString()
159 if (Ty->isFloatTy() || Ty->isDoubleTy()) { in getSectionForConstant()
DX86FastISel.cpp2079 if (I->getType()->isDoubleTy()) { in X86SelectSIToFP()
2128 if (X86ScalarSSEf64 && I->getType()->isDoubleTy() && in X86SelectFPExt()
2140 I->getOperand(0)->getType()->isDoubleTy()) { in X86SelectFPTrunc()
DX86MCInstLower.cpp1234 else if (CDS->getElementType()->isDoubleTy()) in EmitInstruction()
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp305 else if (t->isDoubleTy()) { in getMips16HelperFunctionStubNumber()
315 else if (t->isDoubleTy()) { in getMips16HelperFunctionStubNumber()
389 else if (RetTy ->isDoubleTy()) { in getMips16HelperFunction()
399 else if ((RetTy->getContainedType(0)->isDoubleTy()) && in getMips16HelperFunction()
400 (RetTy->getContainedType(1)->isDoubleTy())) { in getMips16HelperFunction()
DMips16HardFloat.cpp90 if ((T->getContainedType(0)->isDoubleTy()) && in whichFPReturnVariant()
91 (T->getContainedType(1)->isDoubleTy())) in whichFPReturnVariant()
DMipsFastISel.cpp570 bool IsDouble = Left->getType()->isDoubleTy(); in emitCmp()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp670 else if (CE->getType()->isDoubleTy()) in getConstantValue()
685 else if (CE->getType()->isDoubleTy()) in getConstantValue()
702 else if (Op0->getType()->isDoubleTy()) in getConstantValue()
741 else if (DestTy->isDoubleTy()) in getConstantValue()
937 if (ElemTy->isDoubleTy()) { in getConstantValue()
1055 if (cast<VectorType>(Ty)->getElementType()->isDoubleTy()) in StoreValueToMemory()
1139 if (ElemT->isDoubleTy()) { in LoadValueFromMemory()
/external/llvm/lib/Analysis/
DConstantFolding.cpp309 if (CFP->getType()->isDoubleTy()) { in ReadDataFromGlobal()
421 else if (LoadTy->isDoubleTy()) in FoldReinterpretLoadFromConstPtr()
1308 if (Ty->isDoubleTy()) in GetConstantFoldFPValue()
1392 if (Ty->isDoubleTy()) in getValueAsDouble()
1415 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall()
1500 (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy())) { in ConstantFoldScalarCall()
1598 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall()
1646 if (IntrinsicID == Intrinsic::powi && Ty->isDoubleTy()) in ConstantFoldScalarCall()
DValueTracking.cpp2349 if (CFP->getType()->isDoubleTy()) in isBytewiseValue()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp719 if (cast<VectorType>(Ty)->getElementType()->isDoubleTy()) \ in visitBinaryOperator()
753 if (cast<VectorType>(Ty)->getElementType()->isDoubleTy()) in visitBinaryOperator()
1284 assert(SrcVal->getType()->getScalarType()->isDoubleTy() && in executeFPTruncInst()
1294 assert(SrcVal->getType()->isDoubleTy() && DstTy->isFloatTy() && in executeFPTruncInst()
1308 DstTy->getScalarType()->isDoubleTy() && "Invalid FPExt instruction"); in executeFPExtInst()
1316 assert(SrcVal->getType()->isFloatTy() && DstTy->isDoubleTy() && in executeFPExtInst()
1542 } else if (SrcElemTy->isDoubleTy()) { in executeBitCastInst()
1596 if (DstElemTy->isDoubleTy()) { in executeBitCastInst()
1610 if (DstElemTy->isDoubleTy()) in executeBitCastInst()
1628 else if (SrcTy->isDoubleTy()) { in executeBitCastInst()
[all …]
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp327 if (Ty->isDoubleTy()) { in getFPOpCost()
474 Src->getVectorElementType()->isDoubleTy()) { in getMemoryOpCost()
DARMFastISel.cpp1372 bool isFloat = (Ty->isFloatTy() || Ty->isDoubleTy()); in ARMEmitCmp()
1476 if (Ty->isFloatTy() || Ty->isDoubleTy()) in ARMEmitCmp()
1517 if (!I->getType()->isDoubleTy() || in SelectFPExt()
1537 V->getType()->isDoubleTy())) return false; in SelectFPTrunc()
1584 else if (Ty->isDoubleTy()) Opc = isSigned ? ARM::VSITOD : ARM::VUITOD; in SelectIToFP()
1609 else if (OpTy->isDoubleTy()) Opc = isSigned ? ARM::VTOSIZD : ARM::VTOUIZD; in SelectFPToI()
1802 bool isFloat = (Ty->isDoubleTy() || Ty->isFloatTy()); in SelectBinaryFPOp()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp279 if (ST->hasVSX() && Val->getScalarType()->isDoubleTy()) { in getVectorInstrCost()
/external/llvm/include/llvm/IR/
DType.h146 bool isDoubleTy() const { return getTypeID() == DoubleTyID; } in isDoubleTy() function
/external/llvm/lib/IR/
DConstants.cpp620 if (Ty->isDoubleTy()) in TypeToFloatSemantics()
923 } else if (CFP->getType()->isDoubleTy()) { in getImpl()
1111 } else if (CFP->getType()->isDoubleTy()) { in getImpl()
2403 if (Ty->isFloatTy() || Ty->isDoubleTy()) return true; in isElementTypeCompatible()
2683 if (CFP->getType()->isDoubleTy()) { in getSplat()
2746 assert(getElementType()->isDoubleTy() && in getElementAsDouble()
2757 if (getElementType()->isFloatTy() || getElementType()->isDoubleTy()) in getElementAsConstant()
DConstantFold.cpp594 DestTy->isDoubleTy() ? APFloat::IEEEdouble : in ConstantFoldCastInstruction()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp955 if (FT->getNumParams() != 1 || !FT->getReturnType()->isDoubleTy() || in optimizeUnaryDoubleFP()
956 !FT->getParamType(0)->isDoubleTy()) in optimizeUnaryDoubleFP()
1131 else if (Op->getType()->isDoubleTy()) in optimizeExp2()
1318 FT->getParamType(0)->isDoubleTy()); in isTrigLibCall()
DBuildLibCalls.cpp261 if (!Op->getType()->isDoubleTy()) { in AppendTypeSuffix()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1173 if (CFP->getType()->isDoubleTy()) in LookThroughFPExtensions()
1791 if ((DestTy->isFloatTy() || DestTy->isDoubleTy()) && isa<IntegerType>(SrcTy)) in visitBitCast()
DInstCombineCalls.cpp878 : (EltTy->isDoubleTy() ? 64 : EltTy->getIntegerBitWidth()); in visitCallInst()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp696 } else if (MI->getOperand(0).getFPImm()->getType()->isDoubleTy()) { in emitDebugValueComment()
1896 assert(CDS->getElementType()->isDoubleTy()); in emitGlobalConstantDataSequential()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1437 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) { in WriteConstants()
1495 assert(EltTy->isDoubleTy() && "Unknown ConstantData element type"); in WriteConstants()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2150 else if (CurTy->isDoubleTy()) in ParseConstants()
2246 } else if (EltTy->isDoubleTy()) { in ParseConstants()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp418 } else if (In->isFloatTy() || In->isDoubleTy() || in MergeInTypeForLoadOrStore()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp2711 if (!I->getType()->isDoubleTy() || !V->getType()->isFloatTy()) in selectFPExt()
2727 if (!I->getType()->isFloatTy() || !V->getType()->isDoubleTy()) in selectFPTrunc()

12