Home
last modified time | relevance | path

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

12

/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp153 } else if (Tp->isFloatingPointTy()) { in getRandomConstant()
175 } else if (Tp->isFloatingPointTy()) { in getRandomValue()
333 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
374 if (Ty->isFloatingPointTy()) { in Act()
523 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
533 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
542 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
543 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
591 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
/external/llvm/include/llvm/IR/
DType.h160 bool isFloatingPointTy() const { in isFloatingPointTy() function
184 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy()
278 if (getTypeID() == IntegerTyID || isFloatingPointTy() || in isSized()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp470 if (Op.first->getType()->isFloatingPointTy()) { in VisitUnaryMinus()
486 if (Op.second->getType()->isFloatingPointTy()) in VisitUnaryNot()
497 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinAdd()
509 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinSub()
524 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinMul()
550 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinDiv()
DCGStmt.cpp1598 assert(OutputTy->isFloatingPointTy() && "Unexpected output type"); in EmitAsmStmt()
1691 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
DCGExprScalar.cpp749 assert(SrcTy->isFloatingPointTy() && "Unknown real conversion"); in EmitScalarConversion()
755 assert(SrcTy->isFloatingPointTy() && DstTy->isFloatingPointTy() && in EmitScalarConversion()
3016 if (rhsVTy->getElementType()->isFloatingPointTy()) { in VisitAbstractConditionalOperator()
DTargetInfo.cpp2451 llvm::Value *RegLoAddr = TyLo->isFloatingPointTy() ? FPAddr : GPAddr; in EmitVAArg()
2452 llvm::Value *RegHiAddr = TyLo->isFloatingPointTy() ? GPAddr : FPAddr; in EmitVAArg()
DCGCall.cpp1184 assert((varType->isIntegerTy() || varType->isFloatingPointTy()) in emitArgumentDemotion()
/external/llvm/unittests/IR/
DMDBuilderTest.cpp40 EXPECT_TRUE(Op->getType()->isFloatingPointTy()); in TEST_F()
/external/llvm/lib/Analysis/
DConstantFolding.cpp66 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
128 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
142 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
486 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) { in ConstantFoldLoadFromConstPtr()
505 if (Ty->isFloatingPointTy()) in ConstantFoldLoadFromConstPtr()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp871 } else if (ToType->isFloatingPointTy() || ToType->isVectorTy()) { in ConvertScalar_ExtractValue()
963 if (SV->getType()->isFloatingPointTy() || SV->getType()->isVectorTy()) in ConvertScalar_InsertValue()
2294 else if (ValTy->isFloatingPointTy()) in RewriteMemIntrinUserOfAlloca()
2387 } else if (FieldTy->isFloatingPointTy() || FieldTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2429 } else if (ArrayEltTy->isFloatingPointTy() || in RewriteStoreUserOfWholeAlloca()
2489 if (!FieldTy->isIntegerTy() && !FieldTy->isFloatingPointTy() && in RewriteLoadUserOfWholeAlloca()
DReassociate.cpp1503 if ((I->getType()->isFloatingPointTy() || I->getType()->isVectorTy())) { in OptimizeInst()
/external/llvm/lib/IR/
DType.cpp145 assert(isFloatingPointTy() && "Not a floating point type!"); in getFPMantissaWidth()
726 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
DInstructions.cpp2212 if (DstTy->isFloatingPointTy()) in isEliminableCastPair()
2224 if (SrcTy->isFloatingPointTy()) in isEliminableCastPair()
2482 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in isCastable()
2489 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in isCastable()
2492 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in isCastable()
2564 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
2578 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in getCastOpcode()
2584 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
DConstants.cpp59 if (VT->getElementType()->isFloatingPointTy()) in isNegativeZeroValue()
171 if (Ty->isFloatingPointTy()) { in getAllOnesValue()
591 if (ScalarTy->isFloatingPointTy()) { in getZeroValueForNegation()
DConstantFold.cpp169 if (DestTy->isFloatingPointTy()) in FoldBitCast()
1711 if (C1->getType()->isFloatingPointTy()) { in ConstantFoldCompareInstruction()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp350 if (Val->getScalarType()->isFloatingPointTy() && Index == 0) in getVectorInstrCost()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp994 assert(SrcTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1008 assert(SrcTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
1020 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1032 assert(DstTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp115 if ((*it)->getType()->isFloatingPointTy()) in callHasFloatingPointArgument()
1103 !FT->getParamType(0)->isFloatingPointTy()) in callOptimizer()
1131 !FT->getParamType(0)->isFloatingPointTy()) in callOptimizer()
1190 !FT->getParamType(0)->isFloatingPointTy()) in callOptimizer()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp391 if (i->isFloatingPointTy()) { in ComputeUsesVAFloatArgument()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp668 assert(DestTy->isFloatingPointTy() && "invalid bitcast"); in getConstantValue()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2266 !Phi->getType()->isFloatingPointTy() && in canVectorizeInstrs()
2822 bool FP = I->getType()->isFloatingPointTy(); in isReductionInstr()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp334 assert(Ty->isFloatingPointTy() && in printReturnValStr()
DNVPTXISelLowering.cpp273 assert(retTy->isFloatingPointTy() && in getPrototype()
/external/llvm/lib/AsmParser/
DLLParser.cpp2262 !Elts[0]->getType()->isFloatingPointTy() && in ParseValID()
2778 if (!Ty->isFloatingPointTy() || in ConvertValIDToValue()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp543 if (C->getType()->getElementType()->isFloatingPointTy()) in dyn_castFNegVal()

12