Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_value.h128 bool isFloatTy() const { return getKind() == TK_Float; } in isFloatTy() function
130 CHECK(isFloatTy()); in getFloatBitWidth()
163 CHECK(getType().isFloatTy()); in isInlineFloat()
H A Dubsan_value.cpp119 CHECK(getType().isFloatTy()); in getFloatValue()
H A Dubsan_diag.cpp129 else if (V.getType().isFloatTy()) in operator <<()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp117 if (!Arg->getType()->isFloatTy()) in createCond()
311 if (!(ArgType->isFloatTy() || ArgType->isDoubleTy() || in checkCandidate()
442 if (!Exp->getType()->isFloatTy()) in generateCondForPow()
471 if (!Exp->getType()->isFloatTy()) in generateCondForPow()
473 if (!Base->getType()->isFloatTy()) in generateCondForPow()
H A DSimplifyLibCalls.cpp1255 if (Op->getType()->isFloatTy()) in valueHasFloatPrecision()
1282 if (!Cast || !Cast->getType()->isFloatTy()) in optimizeDoubleFP()
1574 if (Ty->isFloatTy()) in replacePowWithExp()
1939 if (Ty->getScalarType()->isFloatTy()) { in optimizeLog()
2168 bool IsFloat = Arg->getType()->isFloatTy(); in optimizeSinCosPi()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp77 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in visitUnaryOperator()
594 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in executeFCMP_ORD()
609 } else if (Ty->isFloatTy()) in executeFCMP_ORD()
625 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in executeFCMP_UNO()
640 } else if (Ty->isFloatTy()) in executeFCMP_UNO()
1334 DstTy->getScalarType()->isFloatTy() && in executeFPTruncInst()
1585 if (SrcElemTy->isFloatTy()) { in executeBitCastInst()
1649 } else if (DstElemTy->isFloatTy()) { in executeBitCastInst()
1660 else if (DstElemTy->isFloatTy()) { in executeBitCastInst()
1673 if (SrcTy->isFloatTy()) in executeBitCastInst()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16ISelLowering.cpp293 if (t->isFloatTy()) { in getMips16HelperFunctionStubNumber()
303 if (t->isFloatTy()) { in getMips16HelperFunctionStubNumber()
377 if (RetTy->isFloatTy()) { in getMips16HelperFunction()
385 if ((SRetTy->getElementType(0)->isFloatTy()) && in getMips16HelperFunction()
386 (SRetTy->getElementType(1)->isFloatTy())) { in getMips16HelperFunction()
H A DMips16HardFloat.cpp80 if ((ST->getElementType(0)->isFloatTy()) && in whichFPReturnVariant()
81 (ST->getElementType(1)->isFloatTy())) in whichFPReturnVariant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp244 FpExt->getOperand(0)->getType()->isFloatTy()) in lowerPrintfForGpu()
399 Type *IType = (ArgType->isFloatTy()) ? Int32Ty : Int64Ty; in lowerPrintfForGpu()
410 FpExt->getOperand(0)->getType()->isFloatTy()) { in lowerPrintfForGpu()
H A DAMDGPUCodeGenPrepare.cpp708 if (!Ty->isFloatTy()) in optimizeWithFDivFast()
764 (Ty->isFloatTy() && !HasFP32Denormals && ReqdAccuracy >= 1.0f); in visitFDiv()
H A DAMDGPUInstCombineIntrinsic.cpp680 } else if (!Ty->isFloatTy() && !Ty->isDoubleTy() && !Ty->isHalfTy()) in instCombineIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp682 if (CE->getType()->isFloatTy()) in getConstantValue()
697 if (CE->getType()->isFloatTy()) in getConstantValue()
714 if (Op0->getType()->isFloatTy()) in getConstantValue()
753 if (DestTy->isFloatTy()) in getConstantValue()
934 if(ElemTy->isFloatTy()) { in getConstantValue()
1050 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) in StoreValueToMemory()
1103 if (ElemT->isFloatTy()) { in LoadValueFromMemory()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp461 if (CFP->getType()->isFloatTy()){ in ReadDataFromGlobal()
573 else if (LoadTy->isFloatTy()) in FoldReinterpretLoadFromConstPtr()
1697 if (Ty->isHalfTy() || Ty->isFloatTy()) { in GetConstantFoldFPValue()
2005 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall1()
2470 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall2()
2526 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall2()
2533 if (IntrinsicID == Intrinsic::powi && Ty->isFloatTy()) in ConstantFoldScalarCall2()
3215 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
3225 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
3243 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) in isMathLibCallNoop()
[all …]
H A DIVDescriptors.cpp1175 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h91 if (ScalarTy->isFloatTy()) in isLegalElementTypeForRVV()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h229 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isElementTypeLegalForScalableVector()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp249 if (!Cast->getSrcTy()->isFloatTy() && in convertICmp()
H A DSystemZTargetTransformInfo.cpp933 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1); in getCmpSelInstrCost()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h147 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp266 if (Imm->getType()->isFloatTy()) in lower()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1341 if (Ty->isFloatTy() && !Subtarget->hasVFP2Base()) in ARMEmitCmp()
1447 if (Ty->isFloatTy() || Ty->isDoubleTy()) in ARMEmitCmp()
1489 !V->getType()->isFloatTy()) return false; in SelectFPExt()
1507 if (!(I->getType()->isFloatTy() && in SelectFPTrunc()
1554 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS; in SelectIToFP()
1580 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS; in SelectFPToI()
1787 if (Ty->isFloatTy() && !Subtarget->hasVFP2Base()) in SelectBinaryFPOp()
H A DARMTargetTransformInfo.cpp1426 DstTy->getScalarType()->isFloatTy()) in getMemoryOpCost()
2003 if (!I->getType()->isIntegerTy() && !I->getType()->isFloatTy() && in canTailPredicateLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1233 else if (CFP->getType()->isFloatTy()) in getSequenceIfElementsMatch()
2908 if (Ty->isHalfTy() || Ty->isBFloatTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isElementTypeCompatible()
3043 assert(ElementType->isFloatTy() && "Element type is not a 32-bit float type"); in getFP()
3119 assert(ElementType->isFloatTy() && "Element type is not a 32-bit float type"); in getFP()
3165 if (CFP->getType()->isFloatTy()) { in getSplat()
3254 assert(getElementType()->isFloatTy() && in getElementAsFloat()
3267 getElementType()->isFloatTy() || getElementType()->isDoubleTy()) in getElementAsConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp866 (PointerElementType->isFloatTy()) || in runOnLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp2434 } else if (I->getType()->isFloatTy()) { in X86SelectIntToFP()
2494 I->getOperand(0)->getType()->isFloatTy()) { in X86SelectFPExt()
2507 if (X86ScalarSSEf64 && I->getType()->isFloatTy() && in X86SelectFPTrunc()
2608 if (!Op->getType()->isFloatTy()) in fastLowerIntrinsicCall()
2611 if (!II->getType()->isFloatTy()) in fastLowerIntrinsicCall()

12