Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/Mips/
DMipsCCState.cpp80 OriginalArgWasFloat.push_back(CLI.RetTy->isFloatingPointTy()); in PreAnalyzeCallResultForF128()
93 MF.getFunction()->getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128()
107 FuncArgs[Outs[i].OrigArgIndex].Ty->isFloatingPointTy()); in PreAnalyzeCallOperands()
134 OriginalArgWasFloat.push_back(FuncArg->getType()->isFloatingPointTy()); in PreAnalyzeFormalArgumentsForF128()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsCCState.cpp93 OriginalArgWasFloat.push_back(RetTy->isFloatingPointTy()); in PreAnalyzeCallResultForF128()
106 MF.getFunction().getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128()
140 OriginalArgWasFloat.push_back(FuncArg.Ty->isFloatingPointTy()); in PreAnalyzeCallOperands()
169 OriginalArgWasFloat.push_back(FuncArg->getType()->isFloatingPointTy()); in PreAnalyzeFormalArgumentsForF128()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp175 } else if (Tp->isFloatingPointTy()) { in getRandomConstant()
197 } else if (Tp->isFloatingPointTy()) { in getRandomValue()
342 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
383 if (Ty->isFloatingPointTy()) { in Act()
532 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
542 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
551 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
552 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
600 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
/external/llvm/include/llvm/IR/
DType.h158 bool isFloatingPointTy() const { in isFloatingPointTy() function
181 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy()
238 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
254 if (getTypeID() == IntegerTyID || isFloatingPointTy() ||
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h160 bool isFloatingPointTy() const { in isFloatingPointTy() function
183 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy()
240 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
256 if (getTypeID() == IntegerTyID || isFloatingPointTy() ||
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DType.h162 bool isFloatingPointTy() const { in isFloatingPointTy() function
185 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy()
251 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
267 if (getTypeID() == IntegerTyID || isFloatingPointTy() ||
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.cc66 if (scalar_type_->isFloatingPointTy()) { in MulInternal()
85 if (scalar_type_->isFloatingPointTy()) { in Max()
100 if (scalar_type_->isFloatingPointTy()) { in Div()
113 CHECK(scalar_type_->isFloatingPointTy()); in Clamp()
145 CHECK(scalar_type()->isFloatingPointTy()); in IntegerTypeForFloatSize()
194 if (scalar_type_->isFloatingPointTy()) { in AddInternal()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/
Dllvm-stress.cpp215 } else if (Tp->isFloatingPointTy()) { in getRandomConstant()
237 } else if (Tp->isFloatingPointTy()) { in getRandomValue()
389 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
433 if (Ty->isFloatingPointTy()) { in Act()
650 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
/external/swiftshader/third_party/LLVM/include/llvm/
DType.h141 bool isFloatingPointTy() const { in isFloatingPointTy() function
239 if (ID == IntegerTyID || isFloatingPointTy() || ID == PointerTyID || in isSized()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOpDescriptor.cpp24 } else if (T->isFloatingPointTy()) { in makeConstantsWithType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp64 assert((Ty->isIntegerTy() || Ty->isFloatingPointTy()) && in getTypeNumElements()
176 unsigned Cost = VecTy->getElementType()->isFloatingPointTy() ? FloatFactor in getMemoryOpCost()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp511 if (Op.first->getType()->isFloatingPointTy()) { in VisitUnaryMinus()
527 if (Op.second->getType()->isFloatingPointTy()) in VisitUnaryNot()
538 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinAdd()
556 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinSub()
639 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinMul()
742 if (LHSr->getType()->isFloatingPointTy()) { in EmitBinDiv()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp242 if (RecurrenceType->isFloatingPointTy()) { in AddReductionVar()
497 bool FP = I->getType()->isFloatingPointTy(); in isRecurrenceInstr()
778 assert((IK != IK_FpInduction || Step->getType()->isFloatingPointTy()) && in InductionDescriptor()
843 assert(Step->getType()->isFloatingPointTy() && "Expected FP Step value"); in transform()
878 assert(Phi->getType()->isFloatingPointTy() && "Unexpected Phi type"); in isFPInductionPHI()
1045 if (PhiTy->isFloatingPointTy()) in isInductionPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp539 if (!PhiTy->isFloatingPointTy()) { in addInductionPhi()
588 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in canVectorizeInstrs()
711 } else if (I.getType()->isFloatingPointTy() && (CI || I.isBinaryOp()) && in canVectorizeInstrs()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DType.cpp74 return cast<VectorType>(this)->getElementType()->isFloatingPointTy(); in isFPOrFPVectorTy()
159 assert(isFloatingPointTy() && "Not a floating point type!"); in getFPMantissaWidth()
667 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy(); in isValidElementType()
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp36 if (!Call->getType()->isFloatingPointTy()) in optimizeSQRT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DTargetLibraryInfo.cpp1124 return (NumParams == 1 && FTy.getParamType(0)->isFloatingPointTy()); in isValidProtoForLibFunc()
1255 return (NumParams == 1 && FTy.getReturnType()->isFloatingPointTy() && in isValidProtoForLibFunc()
1282 return (NumParams == 2 && FTy.getReturnType()->isFloatingPointTy() && in isValidProtoForLibFunc()
1289 return (NumParams == 2 && FTy.getReturnType()->isFloatingPointTy() && in isValidProtoForLibFunc()
1350 if (!RetTy->isFloatingPointTy()) in isValidProtoForLibFunc()
DConstantFolding.cpp105 if (isa<IntegerType>(DestTy) || DestTy->isFloatingPointTy()) { in FoldBitCast()
111 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
167 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
181 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
631 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) { in ConstantFoldLoadFromConstPtr()
650 if (Ty->isFloatingPointTy()) in ConstantFoldLoadFromConstPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DMDBuilderTest.cpp42 EXPECT_TRUE(Val->getType()->isFloatingPointTy()); in TEST_F()
/external/llvm/unittests/IR/
DMDBuilderTest.cpp42 EXPECT_TRUE(Val->getType()->isFloatingPointTy()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/
DOpDescriptor.h124 return V->getType()->isFloatingPointTy(); in anyFloatType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1337 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1349 assert(SrcTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1375 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
1387 assert(SrcTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
1409 assert(DstVecTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1420 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1441 assert(DstVecTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
1452 assert(DstTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1338 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1350 assert(SrcTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1376 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
1388 assert(SrcTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
1410 assert(DstVecTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1421 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1442 assert(DstVecTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
1453 assert(DstTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp90 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
105 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
456 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) { in ConstantFoldLoadFromConstPtr()
475 if (Ty->isFloatingPointTy()) in ConstantFoldLoadFromConstPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DType.cpp137 assert(isFloatingPointTy() && "Not a floating point type!"); in getFPMantissaWidth()
609 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()

12345