Home
last modified time | relevance | path

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

123

/freebsd/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.cpp117 CHECK(getType().isFloatTy()); in getFloatValue()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp77 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in visitUnaryOperator()
374 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { \
395 if (TY->isFloatTy()) { \
421 if (cast<VectorType>(TY)->getElementType()->isFloatTy()) { \
513 if (TY->isFloatTy()) { \
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()
735 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) \ in visitBinaryOperator()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchTargetTransformInfo.cpp62 if ((ScalarTy->isFloatTy() && ST->hasBasicF()) || in getRegisterClassForType()
/freebsd/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.cpp81 if ((ST->getElementType(0)->isFloatTy()) && in whichFPReturnVariant()
82 (ST->getElementType(1)->isFloatTy())) in whichFPReturnVariant()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp694 if (CE->getType()->isFloatTy()) in getConstantValue()
709 if (CE->getType()->isFloatTy()) in getConstantValue()
726 if (Op0->getType()->isFloatTy()) in getConstantValue()
765 if (DestTy->isFloatTy()) in getConstantValue()
952 if(ElemTy->isFloatTy()) { in getConstantValue()
1073 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) in StoreValueToMemory()
1129 if (ElemT->isFloatTy()) { in LoadValueFromMemory()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVETargetTransformInfo.h44 if (ElemTy.isFloatTy() || ElemTy.isDoubleTy()) { in isVectorLaneType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp103 if (!Arg->getType()->isFloatTy()) in createCond()
305 if (!(ArgType->isFloatTy() || ArgType->isDoubleTy() || in checkCandidate()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp222 FpExt->getOperand(0)->getType()->isFloatTy()) in lowerPrintfForGpu()
352 FpExt->getOperand(0)->getType()->isFloatTy()) { in lowerPrintfForGpu()
H A DAMDGPUCodeGenPrepare.cpp424 return Ty->isFloatTy() || Ty->isDoubleTy() || in isLegalFloatingTy()
915 assert(Den->getType()->isFloatTy()); in optimizeWithRsq()
951 assert(Den->getType()->isFloatTy()); in optimizeWithRcp()
1015 assert(Den->getType()->isFloatTy()); in optimizeWithFDivFast()
1079 if (!Ty->isFloatTy()) in visitFDiv()
2207 if (!Ty->isFloatTy() && (!Ty->isHalfTy() || ST->has16BitInsts())) in visitSqrt()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVCallLowering.cpp333 if (EltTy->isFloatTy()) in isLegalElementTypeForRVV()
346 if (T->isHalfTy() || T->isFloatTy() || T->isDoubleTy()) in isSupportedArgumentType()
367 if (T->isHalfTy() || T->isFloatTy() || T->isDoubleTy()) in isSupportedReturnType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp110 if (Ty->isFloatTy() || Ty->isDoubleTy() || Ty->isFP128Ty()) { in testFPKind()
280 InFPRs = (!IsSoftFloatABI && (ArgTy->isFloatTy() || ArgTy->isDoubleTy())); in EmitVAArg()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp448 if (CFP->getType()->isFloatTy()){ in ReadDataFromGlobal()
1735 if (Ty->isHalfTy() || Ty->isFloatTy()) { in GetConstantFoldFPValue()
1903 if (Ty->isBFloatTy() || Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in getValueAsDouble()
2133 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall1()
2719 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldIntrinsicCall2()
3540 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
3550 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
3568 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) in isMathLibCallNoop()
3598 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
3629 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) { in isMathLibCallNoop()
H A DFunctionPropertiesAnalysis.cpp135 if (I.getType()->isFloatTy()) in updateForBB()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp324 if (T->isFloatTy()) { in canonicalizeThunkType()
350 if (ElementTy->isFloatTy() || ElementTy->isDoubleTy()) { in canonicalizeThunkType()
351 Out << (ElementTy->isFloatTy() ? "F" : "D") << TotalSizeBytes; in canonicalizeThunkType()
H A DAArch64TargetTransformInfo.h248 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isElementTypeLegalForScalableVector()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp245 if (!Cast->getSrcTy()->isFloatTy() && in convertICmp()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h154 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy() function
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp242 if (Imm->getType()->isFloatTy()) in lower()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp122 CDS->getElementType()->isFloatTy() || in extractConstantBits()
227 if (SclTy->isFloatTy()) in rebuildConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1344 if (Ty->isFloatTy() && !Subtarget->hasVFP2Base()) in ARMEmitCmp()
1450 if (Ty->isFloatTy() || Ty->isDoubleTy()) in ARMEmitCmp()
1492 !V->getType()->isFloatTy()) return false; in SelectFPExt()
1510 if (!(I->getType()->isFloatTy() && in SelectFPTrunc()
1557 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS; in SelectIToFP()
1583 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS; in SelectFPToI()
1790 if (Ty->isFloatTy() && !Subtarget->hasVFP2Base()) in SelectBinaryFPOp()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp175 else if (cfp->getType()->isFloatTy()) in EvaluateValue()
209 } else if (ty->isFloatTy()) { in EvaluateValue()
231 if (vty->isFloatTy() || vty->isDoubleTy()) { in AssignValue()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1261 else if (CFP->getType()->isFloatTy()) in getSequenceIfElementsMatch()
2790 if (Ty->isHalfTy() || Ty->isBFloatTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isElementTypeCompatible()
2925 assert(ElementType->isFloatTy() && "Element type is not a 32-bit float type"); in getFP()
3001 assert(ElementType->isFloatTy() && "Element type is not a 32-bit float type"); in getFP()
3047 if (CFP->getType()->isFloatTy()) { in getSplat()
3136 assert(getElementType()->isFloatTy() && in getElementAsFloat()
3149 getElementType()->isFloatTy() || getElementType()->isDoubleTy()) in getElementAsConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h374 (ScalarTy->isFloatTy() && ST->hasStdExtF()) ||

123