Home
last modified time | relevance | path

Searched refs:FloatTy (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/unittests/IR/
DInstructionsTest.cpp128 Type *FloatTy = Type::getFloatTy(C); in TEST() local
181 EXPECT_FALSE(CastInst::isBitCastable(DoubleTy, FloatTy)); in TEST()
182 EXPECT_FALSE(CastInst::isBitCastable(FloatTy, DoubleTy)); in TEST()
183 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, FloatTy)); in TEST()
184 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, FloatTy)); in TEST()
185 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, Int32Ty)); in TEST()
187 EXPECT_TRUE(CastInst::isBitCastable(Int32Ty, FloatTy)); in TEST()
DConstantsTest.cpp171 Type *FloatTy = Type::getFloatTy(getGlobalContext()); in TEST() local
180 Constant *P1 = ConstantExpr::getUIToFP(P0, FloatTy); in TEST()
184 Constant *P5 = ConstantExpr::getUIToFP(P4, FloatTy); in TEST()
230 CHECK(ConstantExpr::getFPTrunc(P2, FloatTy), "fptrunc double " P2STR in TEST()
/external/llvm/lib/IR/
DLLVMContextImpl.cpp26 FloatTy(C, Type::FloatTyID), in LLVMContextImpl()
DLLVMContextImpl.h295 Type VoidTy, LabelTy, HalfTy, FloatTy, DoubleTy, MetadataTy;
DType.cpp230 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
/external/clang/lib/Analysis/
DScanfFormatString.cpp297 return ArgType::PtrTo(Ctx.FloatTy); in getArgType()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp1616 return llvm::VectorType::get(CGF->FloatTy, 2 << IsQuad); in GetNeonType()
2125 Ty = FloatTy; in EmitARMBuiltinExpr()
2232 llvm::Type *FloatTy = in EmitARMBuiltinExpr() local
2234 Ops[0] = Builder.CreateBitCast(Ops[0], FloatTy); in EmitARMBuiltinExpr()
2240 llvm::Type *FloatTy = in EmitARMBuiltinExpr() local
2242 llvm::Type *Tys[2] = { FloatTy, Ty }; in EmitARMBuiltinExpr()
2252 llvm::Type *FloatTy = in EmitARMBuiltinExpr() local
2254 llvm::Type *Tys[2] = { Ty, FloatTy }; in EmitARMBuiltinExpr()
DCGRTTI.cpp972 Context.UnsignedLongLongTy, Context.FloatTy, in EmitFundamentalRTTIDescriptors()
DCodeGenModule.h115 llvm::Type *FloatTy, *DoubleTy; member
DCGExprScalar.cpp705 SrcType = CGF.getContext().FloatTy; in EmitScalarConversion()
706 SrcTy = CGF.FloatTy; in EmitScalarConversion()
773 DstTy = CGF.FloatTy; in EmitScalarConversion()
DCodeGenModule.cpp97 FloatTy = llvm::Type::getFloatTy(LLVMContext); in CodeGenModule()
DTargetInfo.cpp1536 } else if (ET == getContext().FloatTy) in classify()
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp454 (Ctx.FloatTy == CanRetTy || in HandleNilReceiver()
DBasicObjCFoundationChecks.cpp357 case kCFNumberFloatType: T = Ctx.FloatTy; break; in GetCFNumberSize()
/external/clang/include/clang/AST/
DBuiltinTypes.def128 FLOATING_TYPE(Float, FloatTy)
DASTContext.h750 CanQualType FloatTy, DoubleTy, LongDoubleTy; variable
/external/clang/lib/Sema/
DSemaExpr.cpp663 return ImpCastExprToType(Res.take(), Context.FloatTy, CK_FloatingCast); in UsualUnaryConversions()
1022 QualType FloatTy, QualType IntTy, in handleIntToFloatConversion() argument
1027 IntExpr = S.ImpCastExprToType(IntExpr.take(), FloatTy, in handleIntToFloatConversion()
1029 return FloatTy; in handleIntToFloatConversion()
1034 QualType result = S.Context.getComplexType(FloatTy); in handleIntToFloatConversion()
3013 Ty = Context.FloatTy; in ActOnNumericConstant()
3023 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).take(); in ActOnNumericConstant()
3026 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).take(); in ActOnNumericConstant()
9451 Input = ImpCastExprToType(Input.take(), Context.FloatTy, CK_FloatingCast).take(); in CreateBuiltinUnaryOp()
9452 resultType = Context.FloatTy; in CreateBuiltinUnaryOp()
DSemaExprCXX.cpp2790 From = ImpCastExprToType(From, Context.FloatTy, CK_FloatingCast).take(); in PerformImplicitConversion()
2791 FromType = Context.FloatTy; in PerformImplicitConversion()
DSemaType.cpp874 case DeclSpec::TST_float: Result = Context.FloatTy; break; in ConvertDeclSpecToType()
DSemaOverload.cpp6622 &ASTContext::FloatTy, in getArithmeticType()
6785 == S.Context.FloatTy && in BuiltinOperatorOverloadBuilder()
DSemaDeclAttr.cpp3628 NewTy = S.Context.FloatTy; in handleModeAttr()
DSemaChecking.cpp376 return Context.FloatTy; in getNeonEltType()
/external/clang/lib/AST/
DASTContext.cpp922 InitBuiltinType(FloatTy, BuiltinType::Float); in InitBuiltinTypes()
980 FloatComplexTy = getComplexType(FloatTy); in InitBuiltinTypes()
4264 case FloatRank: return FloatTy; in getFloatingTypeOfSizeWithinDomain()
7048 getCanonicalType(argTy).getUnqualifiedType() == FloatTy) in mergeFunctionTypes()
7563 Type = Context.FloatTy; in DecodeTypeFromStr()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9312 MVT FloatTy = Op.getSimpleValueType().getVectorElementType(); in PerformVCVTCombine() local
9314 if (FloatTy.getSizeInBits() != 32 || IntTy.getSizeInBits() > 32) { in PerformVCVTCombine()
9329 if (IntTy.getSizeInBits() < FloatTy.getSizeInBits()) in PerformVCVTCombine()
9363 MVT FloatTy = N->getSimpleValueType(0).getVectorElementType(); in PerformVDIVCombine() local
9365 if (FloatTy.getSizeInBits() != 32 || IntTy.getSizeInBits() > 32) { in PerformVDIVCombine()
9374 if (IntTy.getSizeInBits() < FloatTy.getSizeInBits()) in PerformVDIVCombine()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli423 [c]. See [llvm::Type::FloatTy]. *)

12