Home
last modified time | relevance | path

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

12

/external/llvm/unittests/IR/
DInstructionsTest.cpp183 Type *FloatTy = Type::getFloatTy(C); in TEST() local
243 EXPECT_FALSE(CastInst::isBitCastable(DoubleTy, FloatTy)); in TEST()
244 EXPECT_FALSE(CastInst::isBitCastable(FloatTy, DoubleTy)); in TEST()
245 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, FloatTy)); in TEST()
246 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, FloatTy)); in TEST()
247 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, Int32Ty)); in TEST()
249 EXPECT_TRUE(CastInst::isBitCastable(Int32Ty, FloatTy)); in TEST()
DConstantsTest.cpp199 Type *FloatTy = Type::getFloatTy(Context); in TEST() local
208 Constant *P1 = ConstantExpr::getUIToFP(P0, FloatTy); in TEST()
212 Constant *P5 = ConstantExpr::getUIToFP(P4, FloatTy); in TEST()
264 CHECK(ConstantExpr::getFPTrunc(P2, FloatTy), "fptrunc double " P2STR in TEST()
/external/clang/lib/CodeGen/
DCodeGenTypeCache.h39 llvm::Type *FloatTy, *DoubleTy; member
DCGExprScalar.cpp773 CGF.CGM.FloatTy), in EmitScalarConversion()
776 Src = Builder.CreateFPExt(Src, CGF.CGM.FloatTy, "conv"); in EmitScalarConversion()
778 SrcType = CGF.getContext().FloatTy; in EmitScalarConversion()
779 SrcTy = CGF.FloatTy; in EmitScalarConversion()
853 DstTy = CGF.FloatTy; in EmitScalarConversion()
886 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16, CGF.CGM.FloatTy), in EmitScalarConversion()
1769 CGF.CGM.FloatTy), in EmitScalarPrePostIncDec()
1772 value = Builder.CreateFPExt(input, CGF.CGM.FloatTy, "incdec.conv"); in EmitScalarPrePostIncDec()
1804 CGF.CGM.FloatTy), in EmitScalarPrePostIncDec()
DCGBuiltin.cpp2546 return llvm::VectorType::get(CGF->FloatTy, V1Ty ? 1 : (2 << IsQuad)); in GetNeonType()
2558 return llvm::VectorType::get(CGF->FloatTy, (2 << IsQuad)); in GetFloatNeonType()
3266 Tys.push_back(FloatTy); in LookupNeonLLVMIntrinsic()
3396 VTy->getScalarSizeInBits() == 32 ? FloatTy : DoubleTy, in EmitCommonNeonBuiltinExpr()
4413 Ty = FloatTy; in EmitARMBuiltinExpr()
5085 llvm::Type *FTy = Is64 ? DoubleTy : FloatTy; in EmitAArch64BuiltinExpr()
5100 llvm::Type *FTy = Is64 ? DoubleTy : FloatTy; in EmitAArch64BuiltinExpr()
5133 llvm::VectorType::get(FloatTy, 2); in EmitAArch64BuiltinExpr()
5222 Ops[0] = Builder.CreateBitCast(Ops[0], FloatTy); in EmitAArch64BuiltinExpr()
5223 Ops[1] = Builder.CreateBitCast(Ops[1], FloatTy); in EmitAArch64BuiltinExpr()
[all …]
/external/llvm/lib/IR/
DLLVMContextImpl.cpp29 FloatTy(C, Type::FloatTyID), in LLVMContextImpl()
DType.cpp157 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
DLLVMContextImpl.h1108 Type VoidTy, LabelTy, HalfTy, FloatTy, DoubleTy, MetadataTy, TokenTy;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContextImpl.cpp28 FloatTy(C, Type::FloatTyID), in LLVMContextImpl()
DType.cpp168 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
DLLVMContextImpl.h1320 Type VoidTy, LabelTy, HalfTy, FloatTy, DoubleTy, MetadataTy, TokenTy;
/external/llvm/unittests/CodeGen/
DDIEHashTest.cpp664 DIEEntry FloatTy(*FloatTyDIE); in TEST_F() local
666 PITyDIE->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FloatTy); in TEST_F()
/external/rust/crates/syn/tests/common/
Deq.rs43 use rustc_ast::ast::FloatTy;
487 spanless_eq_enum!(FloatTy; F32 F64);
/external/clang/include/clang/AST/
DBuiltinTypes.def128 FLOATING_TYPE(Float, FloatTy)
DASTContext.h904 CanQualType FloatTy, DoubleTy, LongDoubleTy, Float128Ty; variable
/external/clang/lib/Analysis/
DScanfFormatString.cpp319 return ArgType::PtrTo(Ctx.FloatTy); in getArgType()
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp558 (Ctx.FloatTy == CanRetTy || in HandleNilReceiver()
DBasicObjCFoundationChecks.cpp390 case kCFNumberFloatType: T = Ctx.FloatTy; break; in GetCFNumberSize()
/external/llvm/include/llvm/Target/
DTargetLowering.h1311 void setBooleanContents(BooleanContent IntTy, BooleanContent FloatTy) { in setBooleanContents() argument
1313 BooleanFloatContents = FloatTy; in setBooleanContents()
/external/clang/lib/Sema/
DSemaExpr.cpp773 return ImpCastExprToType(Res.get(), Context.FloatTy, CK_FloatingCast); in UsualUnaryConversions()
1088 QualType FloatTy, QualType IntTy, in handleIntToFloatConversion() argument
1093 IntExpr = S.ImpCastExprToType(IntExpr.get(), FloatTy, in handleIntToFloatConversion()
1095 return FloatTy; in handleIntToFloatConversion()
1100 QualType result = S.Context.getComplexType(FloatTy); in handleIntToFloatConversion()
1141 LHSType = S.Context.FloatTy; in handleFloatConversion()
3371 Ty = Context.FloatTy; in ActOnNumericConstant()
3383 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).get(); in ActOnNumericConstant()
3388 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).get(); in ActOnNumericConstant()
11405 Input = ImpCastExprToType(Input.get(), Context.FloatTy, CK_FloatingCast).get(); in CreateBuiltinUnaryOp()
[all …]
DSema.cpp234 Context.getAtomicType(Context.FloatTy)); in Initialize()
DSemaExprCXX.cpp3593 From = ImpCastExprToType(From, Context.FloatTy, CK_FloatingCast).get(); in PerformImplicitConversion()
3594 FromType = Context.FloatTy; in PerformImplicitConversion()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h1927 void setBooleanContents(BooleanContent IntTy, BooleanContent FloatTy) { in setBooleanContents() argument
1929 BooleanFloatContents = FloatTy; in setBooleanContents()
/external/clang/lib/AST/
DASTContext.cpp1020 InitBuiltinType(FloatTy, BuiltinType::Float); in InitBuiltinTypes()
1085 FloatComplexTy = getComplexType(FloatTy); in InitBuiltinTypes()
4663 case FloatRank: return FloatTy; in getFloatingTypeOfSizeWithinDomain()
7589 getCanonicalType(paramTy).getUnqualifiedType() == FloatTy) in mergeFunctionTypes()
8156 Type = Context.FloatTy; in DecodeTypeFromStr()
8751 return FloatTy; in getRealTypeForBitwidth()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7700 MVT FloatTy = Op.getSimpleValueType().getVectorElementType(); in performFpToIntCombine() local
7701 uint32_t FloatBits = FloatTy.getSizeInBits(); in performFpToIntCombine()
7777 MVT FloatTy = N->getSimpleValueType(0).getVectorElementType(); in performFDivCombine() local
7778 int32_t FloatBits = FloatTy.getSizeInBits(); in performFDivCombine()

12