Home
last modified time | relevance | path

Searched refs:FloatTy (Results 1 – 25 of 32) 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.cpp174 Type *FloatTy = Type::getFloatTy(getGlobalContext()); in TEST() local
183 Constant *P1 = ConstantExpr::getUIToFP(P0, FloatTy); in TEST()
187 Constant *P5 = ConstantExpr::getUIToFP(P4, FloatTy); in TEST()
240 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()
852 DstTy = CGF.FloatTy; in EmitScalarConversion()
885 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16, CGF.CGM.FloatTy), in EmitScalarConversion()
1786 CGF.CGM.FloatTy), in EmitScalarPrePostIncDec()
1789 value = Builder.CreateFPExt(input, CGF.CGM.FloatTy, "incdec.conv"); in EmitScalarPrePostIncDec()
1817 CGF.CGM.FloatTy), in EmitScalarPrePostIncDec()
DCGBuiltin.cpp2137 return llvm::VectorType::get(CGF->FloatTy, V1Ty ? 1 : (2 << IsQuad)); in GetNeonType()
2149 return llvm::VectorType::get(CGF->FloatTy, (2 << IsQuad)); in GetFloatNeonType()
2857 Tys.push_back(FloatTy); in LookupNeonLLVMIntrinsic()
2987 VTy->getScalarSizeInBits() == 32 ? FloatTy : DoubleTy, in EmitCommonNeonBuiltinExpr()
3936 Ty = FloatTy; in EmitARMBuiltinExpr()
4613 llvm::Type *FTy = Is64 ? DoubleTy : FloatTy; in EmitAArch64BuiltinExpr()
4628 llvm::Type *FTy = Is64 ? DoubleTy : FloatTy; in EmitAArch64BuiltinExpr()
4661 llvm::VectorType::get(FloatTy, 2); in EmitAArch64BuiltinExpr()
4750 Ops[0] = Builder.CreateBitCast(Ops[0], FloatTy); in EmitAArch64BuiltinExpr()
4751 Ops[1] = Builder.CreateBitCast(Ops[1], FloatTy); in EmitAArch64BuiltinExpr()
[all …]
DItaniumCXXABI.cpp3333 getContext().FloatTy, getContext().DoubleTy, in EmitFundamentalRTTIDescriptors()
/external/lldb/source/Symbol/
DClangASTContext.cpp586 if (QualTypeMatchesBitSize (bit_size, ast, ast->FloatTy)) in GetBuiltinTypeForEncodingAndBitSize()
587 return ClangASTType (ast, ast->FloatTy.getAsOpaquePtr()); in GetBuiltinTypeForEncodingAndBitSize()
770 clang_type = ast->FloatTy.getAsOpaquePtr(); in GetBasicType()
865 if (QualTypeMatchesBitSize (bit_size, ast, ast->FloatTy)) in GetBuiltinTypeForDWARFEncodingAndBitSize()
866 return ClangASTType (ast, ast->FloatTy.getAsOpaquePtr()); in GetBuiltinTypeForDWARFEncodingAndBitSize()
2135 if (bit_size == ast->getTypeSize(ast->FloatTy)) in GetFloatTypeFromBitSize()
2136 return ClangASTType(ast, ast->FloatTy.getAsOpaquePtr()); in GetFloatTypeFromBitSize()
/external/llvm/lib/IR/
DLLVMContextImpl.cpp27 FloatTy(C, Type::FloatTyID), in LLVMContextImpl()
DType.cpp221 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
DLLVMContextImpl.h973 Type VoidTy, LabelTy, HalfTy, FloatTy, DoubleTy, MetadataTy, TokenTy;
/external/clang/include/clang/AST/
DBuiltinTypes.def128 FLOATING_TYPE(Float, FloatTy)
DASTContext.h890 CanQualType FloatTy, DoubleTy, LongDoubleTy; variable
/external/clang/lib/Analysis/
DScanfFormatString.cpp314 return ArgType::PtrTo(Ctx.FloatTy); in getArgType()
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeVendor.cpp470 return ast_ctx.FloatTy; in BuildType()
/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/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp558 (Ctx.FloatTy == CanRetTy || in HandleNilReceiver()
DBasicObjCFoundationChecks.cpp391 case kCFNumberFloatType: T = Ctx.FloatTy; break; in GetCFNumberSize()
/external/lldb/source/Core/
DDataExtractor.cpp1765 if (item_bit_size == ast->getTypeSize(ast->FloatTy)) in Dump()
1768 … llvm::APFloat apfloat (ast->getFloatTypeSemantics(ast->FloatTy), apint); in Dump()
/external/llvm/include/llvm/Target/
DTargetLowering.h1201 void setBooleanContents(BooleanContent IntTy, BooleanContent FloatTy) { in setBooleanContents() argument
1203 BooleanFloatContents = FloatTy; in setBooleanContents()
/external/clang/lib/Sema/
DSemaExpr.cpp761 return ImpCastExprToType(Res.get(), Context.FloatTy, CK_FloatingCast); in UsualUnaryConversions()
1076 QualType FloatTy, QualType IntTy, in handleIntToFloatConversion() argument
1081 IntExpr = S.ImpCastExprToType(IntExpr.get(), FloatTy, in handleIntToFloatConversion()
1083 return FloatTy; in handleIntToFloatConversion()
1088 QualType result = S.Context.getComplexType(FloatTy); in handleIntToFloatConversion()
1129 LHSType = S.Context.FloatTy; in handleFloatConversion()
3297 Ty = Context.FloatTy; in ActOnNumericConstant()
3307 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).get(); in ActOnNumericConstant()
3312 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).get(); in ActOnNumericConstant()
10873 Input = ImpCastExprToType(Input.get(), Context.FloatTy, CK_FloatingCast).get(); in CreateBuiltinUnaryOp()
[all …]
DSema.cpp234 Context.getAtomicType(Context.FloatTy)); in Initialize()
DSemaExprCXX.cpp3326 From = ImpCastExprToType(From, Context.FloatTy, CK_FloatingCast).get(); in PerformImplicitConversion()
3327 FromType = Context.FloatTy; in PerformImplicitConversion()
/external/clang/lib/AST/
DASTContext.cpp1023 InitBuiltinType(FloatTy, BuiltinType::Float); in InitBuiltinTypes()
1085 FloatComplexTy = getComplexType(FloatTy); in InitBuiltinTypes()
4607 case FloatRank: return FloatTy; in getFloatingTypeOfSizeWithinDomain()
7483 getCanonicalType(paramTy).getUnqualifiedType() == FloatTy) in mergeFunctionTypes()
8014 Type = Context.FloatTy; in DecodeTypeFromStr()
8560 return FloatTy; in getRealTypeForBitwidth()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7577 MVT FloatTy = Op.getSimpleValueType().getVectorElementType(); in performFpToIntCombine() local
7578 uint32_t FloatBits = FloatTy.getSizeInBits(); in performFpToIntCombine()
7648 MVT FloatTy = N->getSimpleValueType(0).getVectorElementType(); in performFDivCombine() local
7649 int32_t FloatBits = FloatTy.getSizeInBits(); in performFDivCombine()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9994 MVT FloatTy = Op.getSimpleValueType().getVectorElementType(); in PerformVCVTCombine() local
9995 uint32_t FloatBits = FloatTy.getSizeInBits(); in PerformVCVTCombine()
10052 MVT FloatTy = N->getSimpleValueType(0).getVectorElementType(); in PerformVDIVCombine() local
10053 uint32_t FloatBits = FloatTy.getSizeInBits(); in PerformVDIVCombine()

12