Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Transforms/Utils/
DVectorUtils.h75 !I.getArgOperand(0)->getType()->isFloatingPointTy() || in checkUnaryFloatSignature()
86 !I.getArgOperand(0)->getType()->isFloatingPointTy() || in checkBinaryFloatSignature()
87 !I.getArgOperand(1)->getType()->isFloatingPointTy() || in checkBinaryFloatSignature()
/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/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/clang/lib/CodeGen/
DCGExprComplex.cpp502 if (Op.first->getType()->isFloatingPointTy()) { in VisitUnaryMinus()
518 if (Op.second->getType()->isFloatingPointTy()) in VisitUnaryNot()
529 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinAdd()
541 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinSub()
556 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinMul()
582 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinDiv()
DCGExprScalar.cpp787 assert(SrcTy->isFloatingPointTy() && "Unknown real conversion"); in EmitScalarConversion()
793 assert(SrcTy->isFloatingPointTy() && DstTy->isFloatingPointTy() && in EmitScalarConversion()
1006 assert((SrcEltTy->isFloatingPointTy() || in VisitConvertVectorExpr()
1010 if (SrcEltTy->isFloatingPointTy()) { in VisitConvertVectorExpr()
1029 assert(SrcEltTy->isFloatingPointTy() && "Unknown real conversion"); in VisitConvertVectorExpr()
1035 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr()
3128 if (rhsVTy->getElementType()->isFloatingPointTy()) { in VisitAbstractConditionalOperator()
DCGStmt.cpp1928 assert(OutputTy->isFloatingPointTy() && "Unexpected output type"); in EmitAsmStmt()
2024 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
/external/llvm/unittests/IR/
DMDBuilderTest.cpp41 EXPECT_TRUE(Op->getType()->isFloatingPointTy()); in TEST_F()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1337 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1349 assert(SrcTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1375 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
1387 assert(SrcTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
1409 assert(DstVecTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1420 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1441 assert(DstVecTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
1452 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()
559 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) { in ConstantFoldLoadFromConstPtr()
578 if (Ty->isFloatingPointTy()) in ConstantFoldLoadFromConstPtr()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp874 } else if (ToType->isFloatingPointTy() || ToType->isVectorTy()) { in ConvertScalar_ExtractValue()
967 if (SV->getType()->isFloatingPointTy() || SV->getType()->isVectorTy()) in ConvertScalar_InsertValue()
2283 else if (ValTy->isFloatingPointTy()) in RewriteMemIntrinUserOfAlloca()
2377 } else if (FieldTy->isFloatingPointTy() || FieldTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2419 } else if (ArrayEltTy->isFloatingPointTy() || in RewriteStoreUserOfWholeAlloca()
2480 if (!FieldTy->isIntegerTy() && !FieldTy->isFloatingPointTy() && in RewriteLoadUserOfWholeAlloca()
DReassociate.cpp1831 if ((I->getType()->isFloatingPointTy() || I->getType()->isVectorTy())) { in OptimizeInst()
/external/llvm/lib/IR/
DType.cpp145 assert(isFloatingPointTy() && "Not a floating point type!"); in getFPMantissaWidth()
719 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
DInstructions.cpp2247 if (DstTy->isFloatingPointTy()) in isEliminableCastPair()
2259 if (SrcTy->isFloatingPointTy()) in isEliminableCastPair()
2589 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in isCastable()
2596 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in isCastable()
2599 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in isCastable()
2712 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
2726 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in getCastOpcode()
2732 } else if (SrcTy->isFloatingPointTy()) { // Casting from floating pt in getCastOpcode()
DConstantFold.cpp170 if (DestTy->isFloatingPointTy()) in FoldBitCast()
1741 if (C1->getType()->isFloatingPointTy()) { in ConstantFoldCompareInstruction()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp120 if ((*it)->getType()->isFloatingPointTy()) in callHasFloatingPointArgument()
1156 !FT->getParamType(0)->isFloatingPointTy()) in callOptimizer()
1210 !FT->getParamType(0)->isFloatingPointTy()) in callOptimizer()
1239 !FT->getParamType(0)->isFloatingPointTy()) in callOptimizer()
1313 !FT->getParamType(0)->isFloatingPointTy()) in callOptimizer()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp433 if (i->isFloatingPointTy()) { in ComputeUsesVAFloatArgument()
/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp299 bool IsFloat = Ty->getScalarType()->isFloatingPointTy(); in getArithmeticInstrCost()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp294 if (!CI->getArgOperand(0)->getType()->isFloatingPointTy()) in mightUseCTR()
/external/llvm/lib/Transforms/Instrumentation/
DDebugIR.cpp419 else if (T->isFloatingPointTy()) in getOrCreateType()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp720 if (Ty->isFloatingPointTy() || Ty->isIntegerTy()) { in printReturnValStr()
727 assert(Ty->isFloatingPointTy() && "Floating point type expected here"); in printReturnValStr()
DNVPTXISelLowering.cpp510 if (retTy->isFloatingPointTy() || retTy->isIntegerTy()) { in getPrototype()
517 assert(retTy->isFloatingPointTy() && in getPrototype()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp756 if (Val->getScalarType()->isFloatingPointTy() && Index == 0) in getVectorInstrCost()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp739 assert(DestTy->isFloatingPointTy() && "invalid bitcast"); in getConstantValue()
/external/llvm/lib/AsmParser/
DLLParser.cpp2474 !Elts[0]->getType()->isFloatingPointTy() && in ParseValID()
3003 if (!Ty->isFloatingPointTy() || in ConvertValIDToValue()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp549 if (Ty->isFloatingPointTy() || Ty->isX86_MMXTy() || Ty->isIntegerTy() || in printType()

12