| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/NVVM/ |
| H A D | NVVMToLLVMIRTranslation.cpp | 34 return resultType->isFloatTy() in getShflIntrinsicId() 38 return resultType->isFloatTy() ? llvm::Intrinsic::nvvm_shfl_sync_up_f32p in getShflIntrinsicId() 41 return resultType->isFloatTy() in getShflIntrinsicId() 45 return resultType->isFloatTy() ? llvm::Intrinsic::nvvm_shfl_sync_idx_f32p in getShflIntrinsicId() 51 return resultType->isFloatTy() ? llvm::Intrinsic::nvvm_shfl_sync_bfly_f32 in getShflIntrinsicId() 54 return resultType->isFloatTy() ? llvm::Intrinsic::nvvm_shfl_sync_up_f32 in getShflIntrinsicId() 57 return resultType->isFloatTy() ? llvm::Intrinsic::nvvm_shfl_sync_down_f32 in getShflIntrinsicId() 60 return resultType->isFloatTy() ? llvm::Intrinsic::nvvm_shfl_sync_idx_f32 in getShflIntrinsicId()
|
| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 128 bool isFloatTy() const { return getKind() == TK_Float; } in isFloatTy() function 130 CHECK(isFloatTy()); in getFloatBitWidth() 163 CHECK(getType().isFloatTy()); in isInlineFloat()
|
| H A D | ubsan_value.cpp | 117 CHECK(getType().isFloatTy()); in getFloatValue()
|
| H A D | ubsan_diag.cpp | 127 else if (V.getType().isFloatTy()) in operator <<()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.cpp | 115 if (!Arg->getType()->isFloatTy()) in createCond() 309 if (!(ArgType->isFloatTy() || ArgType->isDoubleTy() || in checkCandidate() 440 if (!Exp->getType()->isFloatTy()) in generateCondForPow() 469 if (!Exp->getType()->isFloatTy()) in generateCondForPow() 471 if (!Base->getType()->isFloatTy()) in generateCondForPow()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 77 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 …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | Mips16ISelLowering.cpp | 293 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 D | Mips16HardFloat.cpp | 80 if ((ST->getElementType(0)->isFloatTy()) && in whichFPReturnVariant() 81 (ST->getElementType(1)->isFloatTy())) in whichFPReturnVariant()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 682 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()
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/ |
| H A D | VETargetTransformInfo.h | 44 if (ElemTy.isFloatTy() || ElemTy.isDoubleTy()) { in isVectorLaneType()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 245 FpExt->getOperand(0)->getType()->isFloatTy()) in lowerPrintfForGpu() 400 Type *IType = (ArgType->isFloatTy()) ? Int32Ty : Int64Ty; in lowerPrintfForGpu() 411 FpExt->getOperand(0)->getType()->isFloatTy()) { in lowerPrintfForGpu()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 728 if (!Ty->isFloatTy()) in optimizeWithFDivFast() 784 (Ty->isFloatTy() && !HasFP32Denormals && ReqdAccuracy >= 1.0f); in visitFDiv()
|
| /llvm-project-15.0.7/llvm/unittests/AsmParser/ |
| H A D | AsmParserTest.cpp | 192 ASSERT_TRUE(Ty->isFloatTy()); in TEST() 312 ASSERT_TRUE(Ty->isFloatTy()); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 454 if (CFP->getType()->isFloatTy()){ in ReadDataFromGlobal() 1734 if (Ty->isHalfTy() || Ty->isFloatTy()) { in GetConstantFoldFPValue() 2035 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall1() 2521 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall2() 2579 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall2() 2586 if (IntrinsicID == Intrinsic::powi && Ty->isFloatTy()) in ConstantFoldScalarCall2() 3266 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop() 3276 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop() 3294 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) in isMathLibCallNoop() 3317 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | TypeFromLLVM.cpp | 58 if (type->isFloatTy()) in translatePrimitiveType()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.h | 254 (ScalarTy->isFloatTy() && ST->hasStdExtF()) ||
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTDC.cpp | 245 if (!Cast->getSrcTy()->isFloatTy() && in convertICmp()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Type.h | 153 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy() function
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMCInstLower.cpp | 243 if (Imm->getType()->isFloatTy()) in lower()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 236 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isElementTypeLegalForScalableVector()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMFastISel.cpp | 1344 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()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Constants.cpp | 1210 else if (CFP->getType()->isFloatTy()) in getSequenceIfElementsMatch() 2853 if (Ty->isHalfTy() || Ty->isBFloatTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isElementTypeCompatible() 2988 assert(ElementType->isFloatTy() && "Element type is not a 32-bit float type"); in getFP() 3064 assert(ElementType->isFloatTy() && "Element type is not a 32-bit float type"); in getFP() 3110 if (CFP->getType()->isFloatTy()) { in getSplat() 3199 assert(getElementType()->isFloatTy() && in getElementAsFloat() 3212 getElementType()->isFloatTy() || getElementType()->isDoubleTy()) in getElementAsConstant()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVAsmPrinter.cpp | 336 if (Ty->isFloatTy()) in encodeVecTypeHint()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 859 else if (Ty && (Ty->getScalarType()->isFloatTy() || in getRegisterClassForType() 1399 if (ScalarTy->isFloatTy() || ScalarTy->isDoubleTy()) in hasActiveVectorLength()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 2431 } else if (I->getType()->isFloatTy()) { in X86SelectIntToFP() 2491 I->getOperand(0)->getType()->isFloatTy()) { in X86SelectFPExt() 2504 if (Subtarget->hasSSE2() && I->getType()->isFloatTy() && in X86SelectFPTrunc() 2605 if (!Op->getType()->isFloatTy()) in fastLowerIntrinsicCall() 2608 if (!II->getType()->isFloatTy()) in fastLowerIntrinsicCall()
|