Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_value.h162 bool isFloatTy() const { return getKind() == TK_Float; } in isFloatTy() function
164 CHECK(isFloatTy()); in getFloatBitWidth()
197 CHECK(getType().isFloatTy()); in isInlineFloat()
H A Dubsan_value.cpp120 CHECK(getType().isFloatTy()); in getFloatValue()
H A Dubsan_diag.cpp127 else if (V.getType().isFloatTy()) in operator <<()
/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/Mips/
H A DMips16ISelLowering.cpp301 if (t->isFloatTy()) { in getMips16HelperFunctionStubNumber()
311 if (t->isFloatTy()) { in getMips16HelperFunctionStubNumber()
385 if (RetTy->isFloatTy()) { in getMips16HelperFunction()
393 if ((SRetTy->getElementType(0)->isFloatTy()) && in getMips16HelperFunction()
394 (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/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchTargetTransformInfo.cpp62 if ((ScalarTy->isFloatTy() && ST->hasBasicF()) || in getRegisterClassForType()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp693 if (CE->getType()->isFloatTy()) in getConstantValue()
708 if (CE->getType()->isFloatTy()) in getConstantValue()
725 if (Op0->getType()->isFloatTy()) in getConstantValue()
764 if (DestTy->isFloatTy()) in getConstantValue()
951 if(ElemTy->isFloatTy()) { in getConstantValue()
1069 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) in StoreValueToMemory()
1125 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/include/llvm/SandboxIR/
H A DType.h109 bool isFloatTy() const { return LLVMTy->isFloatTy(); } in isFloatTy() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp215 FpExt->getOperand(0)->getType()->isFloatTy()) in lowerPrintfForGpu()
345 FpExt->getOperand(0)->getType()->isFloatTy()) { in lowerPrintfForGpu()
H A DAMDGPUCodeGenPrepare.cpp430 return Ty->isFloatTy() || Ty->isDoubleTy() || in isLegalFloatingTy()
919 assert(Den->getType()->isFloatTy()); in optimizeWithRsq()
955 assert(Den->getType()->isFloatTy()); in optimizeWithRcp()
1019 assert(Den->getType()->isFloatTy()); in optimizeWithFDivFast()
1083 if (!Ty->isFloatTy()) in visitFDiv()
2315 if (!Ty->isFloatTy() && (!Ty->isHalfTy() || ST.has16BitInsts())) in visitSqrt()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp110 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy() || in testFPKind()
293 (ArgTy->isHalfTy() || ArgTy->isFloatTy() || ArgTy->isDoubleTy())); in EmitVAArg()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp319 if (T->isFloatTy()) { in canonicalizeThunkType()
345 if (ElementTy->isFloatTy() || ElementTy->isDoubleTy()) { in canonicalizeThunkType()
346 Out << (ElementTy->isFloatTy() ? "F" : "D") << TotalSizeBytes; in canonicalizeThunkType()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h153 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy() function
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp241 if (!Cast->getSrcTy()->isFloatTy() && in convertICmp()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVCallLowering.cpp340 if (EltTy->isFloatTy()) in isLegalElementTypeForRVV()
353 if (T->isHalfTy() || T->isFloatTy() || T->isDoubleTy() || T->isFP128Ty()) in isSupportedArgumentType()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp465 if (CFP->getType()->isFloatTy()){ in ReadDataFromGlobal()
1929 if (Ty->isHalfTy() || Ty->isFloatTy()) { in GetConstantFoldFPValue()
2103 if (Ty->isBFloatTy() || Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in getValueAsDouble()
2327 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy() && in ConstantFoldScalarCall1()
3160 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldIntrinsicCall2()
4120 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
4130 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
4148 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) in isMathLibCallNoop()
4177 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
4208 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) { in isMathLibCallNoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp263 if (Imm->getType()->isFloatTy()) in lower()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1388 if (Ty->isFloatTy() && !Subtarget->hasVFP2Base()) in ARMEmitCmp()
1498 if (Ty->isFloatTy() || Ty->isDoubleTy()) in ARMEmitCmp()
1540 !V->getType()->isFloatTy()) return false; in SelectFPExt()
1559 if (!(I->getType()->isFloatTy() && in SelectFPTrunc()
1610 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS; in SelectIToFP()
1637 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS; in SelectFPToI()
1850 if (Ty->isFloatTy() && !Subtarget->hasVFP2Base()) in SelectBinaryFPOp()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp173 else if (cfp->getType()->isFloatTy()) in EvaluateValue()
207 } else if (ty->isFloatTy()) { in EvaluateValue()
229 if (vty->isFloatTy() || vty->isDoubleTy()) { in AssignValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp129 CDS->getElementType()->isFloatTy() || in extractConstantBits()
234 if (SclTy->isFloatTy()) in rebuildConstant()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1282 else if (CFP->getType()->isFloatTy()) in getSequenceIfElementsMatch()
2826 if (Ty->isHalfTy() || Ty->isBFloatTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isElementTypeCompatible()
2957 assert(ElementType->isFloatTy() && "Element type is not a 32-bit float type"); in getFP()
3033 assert(ElementType->isFloatTy() && "Element type is not a 32-bit float type"); in getFP()
3079 if (CFP->getType()->isFloatTy()) { in getSplat()
3167 assert(getElementType()->isFloatTy() && in getElementAsFloat()
3180 getElementType()->isFloatTy() || getElementType()->isDoubleTy()) in getElementAsConstant()
H A DVFABIDemangler.cpp311 if (Ty->isIntegerTy(32) || Ty->isFloatTy()) in getElementCountForTy()

123