Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/Mips/
DMipsCCState.cpp86 OriginalArgWasFloat.push_back(CLI.RetTy->isFloatingPointTy()); in PreAnalyzeCallResultForF128()
99 MF.getFunction()->getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128()
113 FuncArgs[Outs[i].OrigArgIndex].Ty->isFloatingPointTy()); in PreAnalyzeCallOperands()
140 OriginalArgWasFloat.push_back(FuncArg->getType()->isFloatingPointTy()); in PreAnalyzeFormalArgumentsForF128()
/external/llvm/include/llvm/IR/
DType.h159 bool isFloatingPointTy() const { in isFloatingPointTy() function
183 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy()
251 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
270 if (getTypeID() == IntegerTyID || isFloatingPointTy() ||
/external/llvm/include/llvm/Transforms/Utils/
DVectorUtils.h77 !I.getArgOperand(0)->getType()->isFloatingPointTy() || in checkUnaryFloatSignature()
88 !I.getArgOperand(0)->getType()->isFloatingPointTy() || in checkBinaryFloatSignature()
89 !I.getArgOperand(1)->getType()->isFloatingPointTy() || in checkBinaryFloatSignature()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp155 } else if (Tp->isFloatingPointTy()) { in getRandomConstant()
177 } else if (Tp->isFloatingPointTy()) { in getRandomValue()
335 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
376 if (Ty->isFloatingPointTy()) { in Act()
525 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
535 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
544 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
545 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
593 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp114 if (!Call->getType()->isFloatingPointTy()) in optimizeSQRT()
DScalarReplAggregates.cpp879 } else if (ToType->isFloatingPointTy() || ToType->isVectorTy()) { in ConvertScalar_ExtractValue()
972 if (SV->getType()->isFloatingPointTy() || SV->getType()->isVectorTy()) in ConvertScalar_InsertValue()
2306 else if (ValTy->isFloatingPointTy()) in RewriteMemIntrinUserOfAlloca()
2401 } else if (FieldTy->isFloatingPointTy() || FieldTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2443 } else if (ArrayEltTy->isFloatingPointTy() || in RewriteStoreUserOfWholeAlloca()
2505 if (!FieldTy->isIntegerTy() && !FieldTy->isFloatingPointTy() && in RewriteLoadUserOfWholeAlloca()
DLoopInterchange.cpp307 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()
632 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinMul()
735 if (LHSr->getType()->isFloatingPointTy()) { in EmitBinDiv()
DCGExprScalar.cpp757 if (DstTy->isFloatingPointTy()) { in EmitScalarConversion()
838 if (SrcTy->isFloatingPointTy()) { in EmitScalarConversion()
859 assert(SrcTy->isFloatingPointTy() && "Unknown real conversion"); in EmitScalarConversion()
865 assert(SrcTy->isFloatingPointTy() && DstTy->isFloatingPointTy() && in EmitScalarConversion()
1086 assert((SrcEltTy->isFloatingPointTy() || in VisitConvertVectorExpr()
1090 if (SrcEltTy->isFloatingPointTy()) { in VisitConvertVectorExpr()
1109 assert(SrcEltTy->isFloatingPointTy() && "Unknown real conversion"); in VisitConvertVectorExpr()
1115 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr()
3287 if (rhsVTy->getElementType()->isFloatingPointTy()) { in VisitAbstractConditionalOperator()
DCGStmt.cpp1992 assert(OutputTy->isFloatingPointTy() && "Unexpected output type"); in EmitAsmStmt()
2098 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
/external/llvm/unittests/IR/
DMDBuilderTest.cpp42 EXPECT_TRUE(Val->getType()->isFloatingPointTy()); in TEST_F()
/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/Analysis/
DConstantFolding.cpp72 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
134 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
148 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
564 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) { in ConstantFoldLoadFromConstPtr()
583 if (Ty->isFloatingPointTy()) in ConstantFoldLoadFromConstPtr()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp285 } else if (ST->hasQPX() && Val->getScalarType()->isFloatingPointTy()) { in getVectorInstrCost()
DPPCCTRLoops.cpp310 if (!CI->getArgOperand(0)->getType()->isFloatingPointTy()) in mightUseCTR()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp98 if ((*it)->getType()->isFloatingPointTy()) in callHasFloatingPointArgument()
995 !FT->getParamType(0)->isFloatingPointTy()) in optimizeBinaryDoubleFP()
1026 !FT->getParamType(0)->isFloatingPointTy()) in optimizeCos()
1051 !FT->getParamType(0)->isFloatingPointTy()) in optimizePow()
1122 !FT->getParamType(0)->isFloatingPointTy()) in optimizeExp2()
1174 !FT->getParamType(0)->isFloatingPointTy()) in optimizeFabs()
/external/llvm/lib/IR/
DType.cpp149 assert(isFloatingPointTy() && "Not a floating point type!"); in getFPMantissaWidth()
725 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
DInstructions.cpp2169 if (DstTy->isFloatingPointTy()) in isEliminableCastPair()
2181 if (SrcTy->isFloatingPointTy()) in isEliminableCastPair()
2540 if (SrcTy->isFloatingPointTy()) // Casting from floating pt in isCastable()
2547 if (DestTy->isFloatingPointTy()) { // Casting to floating pt in isCastable()
2550 if (SrcTy->isFloatingPointTy()) // Casting from floating pt in isCastable()
2669 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
2683 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in getCastOpcode()
2689 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
DConstantFold.cpp174 if (DestTy->isFloatingPointTy() && !DestTy->isPPC_FP128Ty()) in FoldBitCast()
1802 if (C1->getType()->isFloatingPointTy() && in ConstantFoldCompareInstruction()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp355 if (Ty->isFloatingPointTy() || Ty->isIntegerTy()) { in printReturnValStr()
362 assert(Ty->isFloatingPointTy() && "Floating point type expected here"); in printReturnValStr()
1166 if (ETy->isFloatingPointTy() || ETy->isIntegerTy() || ETy->isPointerTy()) { in printModuleLevelGV()
1349 if (ETy->isFloatingPointTy() || ETy->isIntegerTy() || ETy->isPointerTy()) { in emitPTXGlobalVariable()
DNVPTXISelLowering.cpp894 if (retTy->isFloatingPointTy() || retTy->isIntegerTy()) { in getPrototype()
901 assert(retTy->isFloatingPointTy() && in getPrototype()
1361 if (retTy->isFloatingPointTy() || retTy->isIntegerTy() || in LowerCall()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h303 bool IsFloat = Ty->getScalarType()->isFloatingPointTy();
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp656 if (i->isFloatingPointTy()) { in ComputeUsesVAFloatArgument()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp920 if (I->getType()->isFloatingPointTy()) { in analyzeBlock()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp748 if (Val->getScalarType()->isFloatingPointTy() && Index == 0) in getVectorInstrCost()

12