Home
last modified time | relevance | path

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

12

/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/llvm/tools/llvm-stress/
Dllvm-stress.cpp176 } else if (Tp->isFloatingPointTy()) { in getRandomConstant()
198 } else if (Tp->isFloatingPointTy()) { in getRandomValue()
343 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
384 if (Ty->isFloatingPointTy()) { in Act()
533 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
543 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
552 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
553 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
601 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
/external/llvm/include/llvm/IR/
DType.h149 bool isFloatingPointTy() const { in isFloatingPointTy() function
173 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy()
244 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
263 if (getTypeID() == IntegerTyID || isFloatingPointTy() ||
/external/llvm/lib/Analysis/
DVectorUtils.cpp93 !I.getArgOperand(0)->getType()->isFloatingPointTy() || in checkUnaryFloatSignature()
112 !I.getArgOperand(0)->getType()->isFloatingPointTy() || in checkBinaryFloatSignature()
113 !I.getArgOperand(1)->getType()->isFloatingPointTy() || in checkBinaryFloatSignature()
DConstantFolding.cpp72 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
134 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
148 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
567 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) { in ConstantFoldLoadFromConstPtr()
586 if (Ty->isFloatingPointTy()) in ConstantFoldLoadFromConstPtr()
DInlineCost.cpp973 if (I->getType()->isFloatingPointTy()) { in analyzeBlock()
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp114 if (!Call->getType()->isFloatingPointTy()) in optimizeSQRT()
DScalarReplAggregates.cpp880 } else if (ToType->isFloatingPointTy() || ToType->isVectorTy()) { in ConvertScalar_ExtractValue()
973 if (SV->getType()->isFloatingPointTy() || SV->getType()->isVectorTy()) in ConvertScalar_InsertValue()
2307 else if (ValTy->isFloatingPointTy()) in RewriteMemIntrinUserOfAlloca()
2402 } else if (FieldTy->isFloatingPointTy() || FieldTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2444 } else if (ArrayEltTy->isFloatingPointTy() || in RewriteStoreUserOfWholeAlloca()
2506 if (!FieldTy->isIntegerTy() && !FieldTy->isFloatingPointTy() && in RewriteLoadUserOfWholeAlloca()
DLoopInterchange.cpp311 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in getInductionVariable()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp510 if (Op.first->getType()->isFloatingPointTy()) { in VisitUnaryMinus()
526 if (Op.second->getType()->isFloatingPointTy()) in VisitUnaryNot()
537 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinAdd()
555 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinSub()
638 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinMul()
741 if (LHSr->getType()->isFloatingPointTy()) { in EmitBinDiv()
DCGExprScalar.cpp761 if (DstTy->isFloatingPointTy()) { in EmitScalarConversion()
843 if (SrcTy->isFloatingPointTy()) { in EmitScalarConversion()
867 assert(SrcTy->isFloatingPointTy() && "Unknown real conversion"); in EmitScalarConversion()
873 assert(SrcTy->isFloatingPointTy() && DstTy->isFloatingPointTy() && in EmitScalarConversion()
1089 assert((SrcEltTy->isFloatingPointTy() || in VisitConvertVectorExpr()
1093 if (SrcEltTy->isFloatingPointTy()) { in VisitConvertVectorExpr()
1112 assert(SrcEltTy->isFloatingPointTy() && "Unknown real conversion"); in VisitConvertVectorExpr()
1118 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr()
3286 if (rhsVTy->getElementType()->isFloatingPointTy()) { in VisitAbstractConditionalOperator()
DCGStmt.cpp1935 assert(OutputTy->isFloatingPointTy() && "Unexpected output type"); in EmitAsmStmt()
2062 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
/external/llvm/unittests/IR/
DMDBuilderTest.cpp42 EXPECT_TRUE(Val->getType()->isFloatingPointTy()); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp90 return OI->getType()->isFloatingPointTy(); in callHasFloatingPointArgument()
1018 !FT->getParamType(0)->isFloatingPointTy()) in optimizeBinaryDoubleFP()
1049 !FT->getParamType(0)->isFloatingPointTy()) in optimizeCos()
1098 !FT->getParamType(0)->isFloatingPointTy()) in optimizePow()
1225 !FT->getParamType(0)->isFloatingPointTy()) in optimizeExp2()
1276 !FT->getParamType(0)->isFloatingPointTy()) in optimizeFabs()
1305 !FT->getParamType(0)->isFloatingPointTy()) in optimizeFMinFMax()
1349 !FT->getParamType(0)->isFloatingPointTy()) in optimizeLog()
1466 !FT->getParamType(0)->isFloatingPointTy()) in optimizeTan()
DLoopUtils.cpp203 if (RecurrenceType->isFloatingPointTy()) { in AddReductionVar()
417 bool FP = I->getType()->isFloatingPointTy(); in isRecurrenceInstr()
/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/llvm/lib/CodeGen/
DAtomicExpandPass.cpp139 if (LI->getType()->isFloatingPointTy()) { in runOnFunction()
149 if (SI->getValueOperand()->getType()->isFloatingPointTy()) { in runOnFunction()
/external/llvm/lib/IR/
DType.cpp142 assert(isFloatingPointTy() && "Not a floating point type!"); in getFPMantissaWidth()
723 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
DInstructions.cpp2440 if (DstTy->isFloatingPointTy()) in isEliminableCastPair()
2452 if (SrcTy->isFloatingPointTy()) in isEliminableCastPair()
2814 if (SrcTy->isFloatingPointTy()) // Casting from floating pt in isCastable()
2821 if (DestTy->isFloatingPointTy()) { // Casting to floating pt in isCastable()
2824 if (SrcTy->isFloatingPointTy()) // Casting from floating pt in isCastable()
2943 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
2957 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in getCastOpcode()
2963 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
DConstantFold.cpp174 if (DestTy->isFloatingPointTy() && !DestTy->isPPC_FP128Ty()) in FoldBitCast()
1808 if (C1->getType()->isFloatingPointTy() && in ConstantFoldCompareInstruction()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp306 } else if (ST->hasQPX() && Val->getScalarType()->isFloatingPointTy()) { in getVectorInstrCost()
DPPCCTRLoops.cpp325 if (!CI->getArgOperand(0)->getType()->isFloatingPointTy()) in mightUseCTR()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp356 if (Ty->isFloatingPointTy() || Ty->isIntegerTy()) { in printReturnValStr()
363 assert(Ty->isFloatingPointTy() && "Floating point type expected here"); in printReturnValStr()
1163 if (ETy->isFloatingPointTy() || ETy->isIntegerTy() || ETy->isPointerTy()) { in printModuleLevelGV()
1354 if (ETy->isFloatingPointTy() || ETy->isIntegerTy() || ETy->isPointerTy()) { in emitPTXGlobalVariable()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp540 if (i->isFloatingPointTy()) { in ComputeUsesVAFloatArgument()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h298 bool IsFloat = Ty->getScalarType()->isFloatingPointTy();

12