Home
last modified time | relevance | path

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

12

/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp149 } else if (Tp->isFloatingPointTy()) { in getRandomConstant()
171 } else if (Tp->isFloatingPointTy()) { in getRandomValue()
329 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
370 if (Ty->isFloatingPointTy()) { in Act()
521 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
531 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
540 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
541 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
589 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp461 if (Op.first->getType()->isFloatingPointTy()) { in VisitUnaryMinus()
477 if (Op.second->getType()->isFloatingPointTy()) in VisitUnaryNot()
488 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinAdd()
500 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinSub()
515 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinMul()
541 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinDiv()
DCGStmt.cpp1560 assert(OutputTy->isFloatingPointTy() && "Unexpected output type"); in EmitAsmStmt()
1652 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
DCGExprScalar.cpp634 assert(SrcTy->isFloatingPointTy() && "Unknown real conversion"); in EmitScalarConversion()
640 assert(SrcTy->isFloatingPointTy() && DstTy->isFloatingPointTy() && in EmitScalarConversion()
2593 if (rhsVTy->getElementType()->isFloatingPointTy()) { in VisitAbstractConditionalOperator()
DTargetInfo.cpp2382 llvm::Value *RegLoAddr = TyLo->isFloatingPointTy() ? FPAddr : GPAddr; in EmitVAArg()
2383 llvm::Value *RegHiAddr = TyLo->isFloatingPointTy() ? GPAddr : FPAddr; in EmitVAArg()
DCGCall.cpp1086 assert((varType->isIntegerTy() || varType->isFloatingPointTy()) in emitArgumentDemotion()
/external/llvm/include/llvm/
DType.h158 bool isFloatingPointTy() const { in isFloatingPointTy() function
259 if (getTypeID() == IntegerTyID || isFloatingPointTy() || in isSized()
/external/llvm/unittests/VMCore/
DMDBuilderTest.cpp41 EXPECT_TRUE(Op->getType()->isFloatingPointTy()); in TEST_F()
/external/llvm/lib/VMCore/
DType.cpp76 return cast<VectorType>(this)->getElementType()->isFloatingPointTy(); in isFPOrFPVectorTy()
162 assert(isFloatingPointTy() && "Not a floating point type!"); in getFPMantissaWidth()
749 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy(); in isValidElementType()
DInstructions.cpp2201 if (DstTy->isFloatingPointTy()) in isEliminableCastPair()
2213 if (SrcTy->isFloatingPointTy()) in isEliminableCastPair()
2471 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in isCastable()
2478 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in isCastable()
2481 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in isCastable()
2553 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
2567 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in getCastOpcode()
2573 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
DConstantFold.cpp165 if (DestTy->isFloatingPointTy()) in FoldBitCast()
1722 if (C1->getType()->isFloatingPointTy()) { in ConstantFoldCompareInstruction()
DConstants.cpp146 if (Ty->isFloatingPointTy()) { in getAllOnesValue()
539 if (ScalarTy->isFloatingPointTy()) { in getZeroValueForNegation()
/external/llvm/lib/Analysis/
DConstantFolding.cpp67 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
126 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
140 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()
DSimplifyLibCalls.cpp112 if ((*it)->getType()->isFloatingPointTy()) in CallHasFloatingPointArgument()
949 !FT->getParamType(0)->isFloatingPointTy()) in CallOptimizer()
979 !FT->getParamType(0)->isFloatingPointTy()) in CallOptimizer()
1040 !FT->getParamType(0)->isFloatingPointTy()) in CallOptimizer()
DReassociate.cpp1529 if ((I->getType()->isFloatingPointTy() || I->getType()->isVectorTy())) { in OptimizeInst()
/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/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp392 if (i->isFloatingPointTy()) { in ComputeUsesVAFloatArgument()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp666 assert(DestTy->isFloatingPointTy() && "invalid bitcast"); in getConstantValue()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp304 assert(retTy->isFloatingPointTy() && in getPrototype()
DNVPTXAsmPrinter.cpp292 assert(Ty->isFloatingPointTy() && in printReturnValStr()
/external/mesa3d/src/glsl/
Dir_to_llvm.cpp434 else if(type->isFloatingPointTy()) in llvm_imm()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp522 if (C->getType()->getElementType()->isFloatingPointTy()) in dyn_castFNegVal()
/external/llvm/lib/AsmParser/
DLLParser.cpp2012 !Elts[0]->getType()->isFloatingPointTy() && in ParseValID()
2527 if (!Ty->isFloatingPointTy() || in ConvertValIDToValue()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1802 GVElType->isFloatingPointTy() || in TryToShrinkGlobalToBoolean()

12