Home
last modified time | relevance | path

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

12

/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp143 } else if (Tp->isFloatingPointTy()) { in getRandomConstant()
165 } else if (Tp->isFloatingPointTy()) { in getRandomValue()
323 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
364 if (Ty->isFloatingPointTy()) { in Act()
515 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
525 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
534 if (VTy->getScalarType()->isFloatingPointTy() && in Act()
535 DestTy->getScalarType()->isFloatingPointTy()) { in Act()
583 bool fp = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp460 if (Op.first->getType()->isFloatingPointTy()) { in VisitUnaryMinus()
476 if (Op.second->getType()->isFloatingPointTy()) in VisitUnaryNot()
487 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinAdd()
499 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinSub()
514 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinMul()
540 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinDiv()
DCGStmt.cpp1575 assert(OutputTy->isFloatingPointTy() && "Unexpected output type"); in EmitAsmStmt()
1662 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
DCGExprScalar.cpp636 assert(SrcTy->isFloatingPointTy() && "Unknown real conversion"); in EmitScalarConversion()
642 assert(SrcTy->isFloatingPointTy() && DstTy->isFloatingPointTy() && in EmitScalarConversion()
DTargetInfo.cpp2215 llvm::Value *RegLoAddr = TyLo->isFloatingPointTy() ? FPAddr : GPAddr; in EmitVAArg()
2216 llvm::Value *RegHiAddr = TyLo->isFloatingPointTy() ? GPAddr : FPAddr; in EmitVAArg()
DCGCall.cpp1040 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/Support/
DMDBuilderTest.cpp39 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()
739 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy(); in isValidElementType()
DInstructions.cpp2195 if (DstTy->isFloatingPointTy()) in isEliminableCastPair()
2207 if (SrcTy->isFloatingPointTy()) in isEliminableCastPair()
2465 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in isCastable()
2472 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in isCastable()
2475 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in isCastable()
2547 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
2561 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in getCastOpcode()
2567 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
DConstantFold.cpp166 if (DestTy->isFloatingPointTy()) in FoldBitCast()
1713 if (C1->getType()->isFloatingPointTy()) { in ConstantFoldCompareInstruction()
DConstants.cpp146 if (Ty->isFloatingPointTy()) { in getAllOnesValue()
539 if (ScalarTy->isFloatingPointTy()) { in getZeroValueForNegation()
DVerifier.cpp1879 if (!EltTy->isFloatingPointTy()) { in PerformTypeCheck()
/external/llvm/lib/Analysis/
DConstantFolding.cpp67 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
126 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
140 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
483 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) { in ConstantFoldLoadFromConstPtr()
502 if (Ty->isFloatingPointTy()) in ConstantFoldLoadFromConstPtr()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp774 } else if (ToType->isFloatingPointTy() || ToType->isVectorTy()) { in ConvertScalar_ExtractValue()
847 if (SV->getType()->isFloatingPointTy() || SV->getType()->isVectorTy()) in ConvertScalar_InsertValue()
2152 else if (ValTy->isFloatingPointTy()) in RewriteMemIntrinUserOfAlloca()
2245 } else if (FieldTy->isFloatingPointTy() || FieldTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2287 } else if (ArrayEltTy->isFloatingPointTy() || in RewriteStoreUserOfWholeAlloca()
2347 if (!FieldTy->isIntegerTy() && !FieldTy->isFloatingPointTy() && in RewriteLoadUserOfWholeAlloca()
DSimplifyLibCalls.cpp107 if ((*it)->getType()->isFloatingPointTy()) in CallHasFloatingPointArgument()
854 !FT->getParamType(0)->isFloatingPointTy()) in CallOptimizer()
877 !FT->getParamType(0)->isFloatingPointTy()) in CallOptimizer()
931 !FT->getParamType(0)->isFloatingPointTy()) in CallOptimizer()
DReassociate.cpp981 if (!isa<BinaryOperator>(BI) || BI->getType()->isFloatingPointTy() || in ReassociateInst()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp965 assert(SrcTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
979 assert(SrcTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
991 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1003 assert(DstTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp392 if (i->isFloatingPointTy()) { in ComputeUsesVAFloatArgument()
DSelectionDAGBuilder.cpp5521 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
5534 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
5545 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
5557 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
5569 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
5581 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
5592 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
5603 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
5614 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
5625 I.getArgOperand(0)->getType()->isFloatingPointTy() && in visitCall()
[all …]
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp665 assert(DestTy->isFloatingPointTy() && "invalid bitcast"); in getConstantValue()
/external/mesa3d/src/glsl/
Dir_to_llvm.cpp434 else if(type->isFloatingPointTy()) in llvm_imm()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp518 if (C->getType()->getElementType()->isFloatingPointTy()) in dyn_castFNegVal()
/external/llvm/lib/AsmParser/
DLLParser.cpp1969 !Elts[0]->getType()->isFloatingPointTy() && in ParseValID()
2481 if (!Ty->isFloatingPointTy() || in ConvertValIDToValue()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1628 GVElType->isFloatingPointTy() || in TryToShrinkGlobalToBoolean()

12