Home
last modified time | relevance | path

Searched refs:isFloatingPointTy (Results 1 – 25 of 69) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsCCState.cpp92 OriginalArgWasFloat.push_back(RetTy->isFloatingPointTy()); in PreAnalyzeCallResultForF128()
105 MF.getFunction().getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128()
136 OriginalArgWasFloat.push_back(ArgTy->isFloatingPointTy()); in PreAnalyzeCallOperand()
151 OriginalArgWasFloat.push_back(FuncArg.Ty->isFloatingPointTy()); in PreAnalyzeCallOperands()
170 OriginalArgWasFloat.push_back(ArgTy->isFloatingPointTy()); in PreAnalyzeFormalArgument()
201 OriginalArgWasFloat.push_back(FuncArg->getType()->isFloatingPointTy()); in PreAnalyzeFormalArgumentsForF128()
H A DMipsCCState.h147 OriginalArgWasFloat.push_back(RetTy->isFloatingPointTy()); in PreAnalyzeCallResult()
H A DMipsCallLowering.cpp298 if (T->isFloatingPointTy()) in isSupportedArgumentType()
308 if (T->isFloatingPointTy()) in isSupportedReturnType()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DType.h185 bool isFloatingPointTy() const { in isFloatingPointTy() function
210 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy()
281 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
297 if (getTypeID() == IntegerTyID || isFloatingPointTy() ||
H A DMatrixBuilder.h175 ->isFloatingPointTy() in CreateAdd()
200 ->isFloatingPointTy() in CreateSub()
209 if (LHS->getType()->getScalarType()->isFloatingPointTy()) in CreateScalarMultiply()
225 ->isFloatingPointTy() in CreateScalarDiv()
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceOperands.cpp100 if (Ty->isFloatingPointTy()) in reduceOperandsOneDeltaPass()
109 if (ElementType->isFloatingPointTy()) { in reduceOperandsOneDeltaPass()
/openbsd-src/gnu/llvm/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp222 } else if (Tp->isFloatingPointTy()) { in getRandomConstant()
244 } else if (Tp->isFloatingPointTy()) { in getRandomValue()
390 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
434 if (Ty->isFloatingPointTy()) { in Act()
652 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp60 if (ST.useHVXV69Ops() || !VecTy->getElementType()->isFloatingPointTy()) in isHVXVectorType()
68 assert((Ty->isIntegerTy() || Ty->isFloatingPointTy()) && in getTypeNumElements()
217 VecTy->getElementType()->isFloatingPointTy() ? FloatFactor : 1; in getMemoryOpCost()
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp23 } else if (T->isFloatingPointTy()) { in makeConstantsWithType()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp148 } else if (RMWI.getType()->isFloatingPointTy() && in visitAtomicRMWInst()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp565 if (!PhiTy->isFloatingPointTy()) { in addInductionPhi()
665 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in canVectorizeInstrs()
761 CI->getType()->isFloatingPointTy() && in canVectorizeInstrs()
856 } else if (I.getType()->isFloatingPointTy() && (CI || I.isBinaryOp()) && in canVectorizeInstrs()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprComplex.cpp619 if (Op.first->getType()->isFloatingPointTy()) { in VisitMinus()
635 if (Op.second->getType()->isFloatingPointTy()) in VisitUnaryNot()
646 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinAdd()
665 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinSub()
750 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinMul()
853 if (LHSr->getType()->isFloatingPointTy()) { in EmitBinDiv()
H A DTargetInfo.h148 assert(V->getType()->isFloatingPointTy() && "V should have an FP type."); in testFPKind()
H A DCGExprScalar.cpp1268 assert(SrcElementTy->isFloatingPointTy() && "Unknown real conversion"); in EmitScalarCast()
1348 if (DstTy->isFloatingPointTy()) { in EmitScalarConversion()
1440 (SrcElementTy->isFloatingPointTy() && in EmitScalarConversion()
1441 DstElementTy->isFloatingPointTy())) && in EmitScalarConversion()
1474 if (SrcTy->isFloatingPointTy()) { in EmitScalarConversion()
1729 assert((SrcEltTy->isFloatingPointTy() || in VisitConvertVectorExpr()
1733 if (SrcEltTy->isFloatingPointTy()) { in VisitConvertVectorExpr()
1752 assert(SrcEltTy->isFloatingPointTy() && "Unknown real conversion"); in VisitConvertVectorExpr()
1758 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr()
4801 if (rhsVTy->getElementType()->isFloatingPointTy()) { in VisitAbstractConditionalOperator()
/openbsd-src/gnu/llvm/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h122 return V->getType()->isFloatingPointTy(); in anyFloatType()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1387 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1399 assert(SrcTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1425 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
1437 assert(SrcTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
1459 assert(DstVecTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1470 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1491 assert(DstVecTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
1502 assert(DstTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DIVDescriptors.cpp272 if (RecurrenceType->isFloatingPointTy()) { in AddReductionVar()
1290 assert((IK != IK_FpInduction || Step->getType()->isFloatingPointTy()) && in InductionDescriptor()
1321 assert(Phi->getType()->isFloatingPointTy() && "Unexpected Phi type"); in isFPInductionPHI()
1487 if (PhiTy->isFloatingPointTy()) in isInductionPHI()
H A DTargetLibraryInfo.cpp982 return Ty->isFloatingPointTy(); in matchType()
984 return Ty->isFloatingPointTy(); in matchType()
1007 if (!RetTy->isFloatingPointTy()) in isValidProtoForLibFunc()
H A DConstantFolding.cpp114 if (isa<IntegerType>(DestTy) || DestTy->isFloatingPointTy()) { in FoldBitCast()
120 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
176 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
190 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
560 if (!LoadTy->isFloatingPointTy() && !LoadTy->isPointerTy() && in FoldReinterpretLoadFromConst()
2497 if (Ty->isFloatingPointTy()) { in ConstantFoldScalarCall2()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp109 if (VTy->isFloatingPointTy()) in convertTo16Bit()
281 FloatCoord == Coord->getType()->isFloatingPointTy()); in simplifyAMDGCNImageIntrinsic()
282 FloatCoord = Coord->getType()->isFloatingPointTy(); in simplifyAMDGCNImageIntrinsic()
H A DAMDGPUPrintfRuntimeBinding.cpp230 if (ArgType->isFloatingPointTy()) { in lowerPrintfForGpu()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp347 if (Ty->isFloatingPointTy() || (Ty->isIntegerTy() && !Ty->isIntegerTy(128))) { in printReturnValStr()
352 assert(Ty->isFloatingPointTy() && "Floating point type expected here"); in printReturnValStr()
1117 if (ETy->isFloatingPointTy() || ETy->isPointerTy() || in printModuleLevelGV()
1413 if (ETy->isFloatingPointTy() || ETy->isIntOrPtrTy()) { in emitPTXGlobalVariable()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DType.cpp196 assert(isFloatingPointTy() && "Not a floating point type!"); in getFPMantissaWidth()
678 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp796 if (CmpOpTy != nullptr && CmpOpTy->isFloatingPointTy()) in getCastInstrCost()
946 if (ValTy->isFloatingPointTy()) in getCmpSelInstrCost()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetLowering.h2124 if (LI->getType()->isFloatingPointTy()) in shouldCastAtomicLoadInIR()
2140 if (SI->getValueOperand()->getType()->isFloatingPointTy()) in shouldCastAtomicStoreInIR()
2164 (RMWI->getValOperand()->getType()->isFloatingPointTy() || in shouldCastAtomicRMWIInIR()
2658 return (From->isIntegerTy() || From->isFloatingPointTy()) && in shouldConvertPhiType()
2659 (To->isIntegerTy() || To->isFloatingPointTy()); in shouldConvertPhiType()

123