Home
last modified time | relevance | path

Searched refs:isFloatTy (Results 1 – 25 of 38) sorted by relevance

12

/external/compiler-rt/lib/ubsan/
Dubsan_value.h129 bool isFloatTy() const { return getKind() == TK_Float; } in isFloatTy() function
131 CHECK(isFloatTy()); in getFloatBitWidth()
161 CHECK(getType().isFloatTy()); in isInlineFloat()
Dubsan_value.cc72 CHECK(getType().isFloatTy()); in getFloatValue()
Dubsan_diag.cc92 else if (V.getType().isFloatTy()) in operator <<()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp140 } else if (Ty->isFloatTy() || Ty->isDoubleTy()) { in scalarConstantToHexString()
159 if (Ty->isFloatTy() || Ty->isDoubleTy()) { in getSectionForConstant()
DX86FastISel.cpp2083 } else if (I->getType()->isFloatTy()) { in X86SelectSIToFP()
2129 I->getOperand(0)->getType()->isFloatTy()) { in X86SelectFPExt()
2139 if (X86ScalarSSEf64 && I->getType()->isFloatTy() && in X86SelectFPTrunc()
2248 if (!Op->getType()->isFloatTy()) in fastLowerIntrinsicCall()
2251 if (!II->getType()->isFloatTy()) in fastLowerIntrinsicCall()
DX86MCInstLower.cpp1232 else if (CDS->getElementType()->isFloatTy()) in EmitInstruction()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp319 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { \
340 if (TY->isFloatTy()) { \
366 if (cast<VectorType>(TY)->getElementType()->isFloatTy()) { \
458 if (TY->isFloatTy()) { \
539 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in executeFCMP_ORD()
554 } else if (Ty->isFloatTy()) in executeFCMP_ORD()
570 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in executeFCMP_UNO()
585 } else if (Ty->isFloatTy()) in executeFCMP_UNO()
716 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) \ in visitBinaryOperator()
748 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) in visitBinaryOperator()
[all …]
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp302 if (t->isFloatTy()) { in getMips16HelperFunctionStubNumber()
312 if (t->isFloatTy()) { in getMips16HelperFunctionStubNumber()
386 if (RetTy->isFloatTy()) { in getMips16HelperFunction()
395 if ((RetTy->getContainedType(0)->isFloatTy()) && in getMips16HelperFunction()
396 (RetTy->getContainedType(1)->isFloatTy())) { in getMips16HelperFunction()
DMips16HardFloat.cpp87 if ((T->getContainedType(0)->isFloatTy()) && in whichFPReturnVariant()
88 (T->getContainedType(1)->isFloatTy())) in whichFPReturnVariant()
DMipsFastISel.cpp569 bool IsFloat = Left->getType()->isFloatTy(); in emitCmp()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp668 if (CE->getType()->isFloatTy()) in getConstantValue()
683 if (CE->getType()->isFloatTy()) in getConstantValue()
700 if (Op0->getType()->isFloatTy()) in getConstantValue()
739 if (DestTy->isFloatTy()) in getConstantValue()
915 if(ElemTy->isFloatTy()) { in getConstantValue()
1057 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) in StoreValueToMemory()
1134 if (ElemT->isFloatTy()) { in LoadValueFromMemory()
/external/llvm/lib/Analysis/
DConstantFolding.cpp313 if (CFP->getType()->isFloatTy()){ in ReadDataFromGlobal()
419 else if (LoadTy->isFloatTy()) in FoldReinterpretLoadFromConstPtr()
1306 if (Ty->isFloatTy()) in GetConstantFoldFPValue()
1389 if (Ty->isFloatTy()) 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()
1642 if (IntrinsicID == Intrinsic::powi && Ty->isFloatTy()) in ConstantFoldScalarCall()
/external/llvm/include/llvm/IR/
DType.h143 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy() function
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp934 if (Op->getType()->isFloatTy()) in valueHasFloatPrecision()
963 if (!Cast || !Cast->getType()->isFloatTy()) in optimizeUnaryDoubleFP()
1129 if (Op->getType()->isFloatTy()) in optimizeExp2()
1146 if (!Op->getType()->isFloatTy()) in optimizeExp2()
1282 bool IsFloat = Arg->getType()->isFloatTy(); in optimizeSinCosPi()
1317 (FT->getParamType(0)->isFloatTy() || in isTrigLibCall()
DBuildLibCalls.cpp264 if (Op->getType()->isFloatTy()) in AppendTypeSuffix()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1372 bool isFloat = (Ty->isFloatTy() || Ty->isDoubleTy()); in ARMEmitCmp()
1476 if (Ty->isFloatTy() || Ty->isDoubleTy()) in ARMEmitCmp()
1518 !V->getType()->isFloatTy()) return false; in SelectFPExt()
1536 if (!(I->getType()->isFloatTy() && in SelectFPTrunc()
1583 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS; in SelectIToFP()
1608 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS; in SelectFPToI()
1802 bool isFloat = (Ty->isDoubleTy() || Ty->isFloatTy()); in SelectBinaryFPOp()
DARMTargetTransformInfo.cpp323 if (Ty->isFloatTy()) { in getFPOpCost()
/external/llvm/lib/IR/
DConstants.cpp618 if (Ty->isFloatTy()) in TypeToFloatSemantics()
913 if (CFP->getType()->isFloatTy()) { in getImpl()
1101 if (CFP->getType()->isFloatTy()) { in getImpl()
2403 if (Ty->isFloatTy() || Ty->isDoubleTy()) return true; in isElementTypeCompatible()
2678 if (CFP->getType()->isFloatTy()) { in getSplat()
2737 assert(getElementType()->isFloatTy() && in getElementAsFloat()
2757 if (getElementType()->isFloatTy() || getElementType()->isDoubleTy()) in getElementAsConstant()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1796 if (value->getType()->isFloatTy()) in EmitScalarPrePostIncDec()
2284 if (ValTy->isFloatTy() || in EmitDiv()
2286 cast<llvm::VectorType>(ValTy)->getElementType()->isFloatTy())) in EmitDiv()
3414 if ((srcElemTy->isIntegerTy() && dstElemTy->isFloatTy()) in VisitAsTypeExpr()
3415 || (srcElemTy->isFloatTy() && dstElemTy->isIntegerTy())) { in VisitAsTypeExpr()
DTargetInfo.cpp2309 if (IROffset == 0 && IRType->isFloatTy()) in ContainsFloatAtOffset()
2457 if (Lo->isFloatTy()) in GetX86_64ByValArgumentPair()
5276 InFPRs = ArgTy->isFloatTy() || ArgTy->isDoubleTy(); in EmitVAArg()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp694 if (MI->getOperand(0).getFPImm()->getType()->isFloatTy()) { in emitDebugValueComment()
1883 assert(CDS->getElementType()->isFloatTy()); in emitGlobalConstantDataSequential()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1437 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) { in WriteConstants()
1488 } else if (EltTy->isFloatTy()) { in WriteConstants()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp342 if (getFPImm()->getType()->isFloatTy()) in print()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1791 if ((DestTy->isFloatTy() || DestTy->isDoubleTy()) && isa<IntegerType>(SrcTy)) in visitBitCast()
DInstCombineCalls.cpp876 EltTy->isFloatTy() in visitCallInst()

12