Home
last modified time | relevance | path

Searched refs:ImpCastExprToType (Results 1 – 25 of 33) sorted by relevance

12

/external/clang/lib/Sema/
DSemaExpr.cpp534 E = ImpCastExprToType(E, Context.getPointerType(Ty), in DefaultFunctionArrayConversion()
549 E = ImpCastExprToType(E, Context.getArrayDecayedType(Ty), in DefaultFunctionArrayConversion()
745 Res = ImpCastExprToType(E, Context.getPointerType(Ty), in CallExprUnaryConversions()
773 return ImpCastExprToType(Res.get(), Context.FloatTy, CK_FloatingCast); in UsualUnaryConversions()
794 E = ImpCastExprToType(E, PTy, CK_IntegralCast).get(); in UsualUnaryConversions()
799 E = ImpCastExprToType(E, PT, CK_IntegralCast).get(); in UsualUnaryConversions()
824 E = ImpCastExprToType(E, Context.DoubleTy, CK_FloatingCast).get(); in DefaultArgumentPromotion()
1017 IntExpr = S.ImpCastExprToType(IntExpr.get(), fpTy, CK_IntegralToFloating); in handleIntegerToComplexFloatConversion()
1018 IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy, in handleIntegerToComplexFloatConversion()
1022 IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy, in handleIntegerToComplexFloatConversion()
[all …]
DSemaExprCXX.cpp444 E = ImpCastExprToType(E, UnqualT, CK_NoOp, E->getValueKind()).get(); in BuildCXXTypeId()
3412 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, in PerformImplicitConversion()
3418 From = ImpCastExprToType(From, FromType, CK_FunctionToPointerDecay, in PerformImplicitConversion()
3461 From = ImpCastExprToType(From, ToType, CK_NoOp, in PerformImplicitConversion()
3471 From = ImpCastExprToType(From, ToType, CK_IntegralToBoolean, in PerformImplicitConversion()
3474 From = ImpCastExprToType(From, ToType, CK_IntegralCast, in PerformImplicitConversion()
3481 From = ImpCastExprToType(From, ToType, CK_FloatingCast, in PerformImplicitConversion()
3500 From = ImpCastExprToType(From, ToType, CK, in PerformImplicitConversion()
3507 From = ImpCastExprToType(From, ToType, CK_IntegralToFloating, in PerformImplicitConversion()
3510 From = ImpCastExprToType(From, ToType, CK_FloatingToIntegral, in PerformImplicitConversion()
[all …]
DSemaStmtAsm.cpp534 InputExpr = ImpCastExprToType(InputExpr, OutTy, castKind).get(); in ActOnGCCAsmStmt()
DSemaExprMember.cpp1251 base = S.ImpCastExprToType(base.get(), redef, CK_BitCast); in ShouldTryAgainWithRedefinitionType()
1653 BaseExpr = S.ImpCastExprToType( in LookupMemberExpr()
DSemaStmt.cpp858 Lo = ImpCastExprToType(Lo, CondType, CK_IntegralCast).get(); in ActOnFinishSwitchStmt()
974 Hi = ImpCastExprToType(Hi, CondType, CK_IntegralCast).get(); in ActOnFinishSwitchStmt()
3279 RetValExp = ImpCastExprToType(RetValExp, in BuildReturnStmt()
DSemaTemplate.cpp4786 Arg = S.ImpCastExprToType(Arg, ParamType, CK_NoOp, in CheckTemplateArgumentPointerToMember()
5137 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralToBoolean).get(); in CheckTemplateArgument()
5141 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralCast).get(); in CheckTemplateArgument()
5421 return ImpCastExprToType( in BuildExpressionFromDeclTemplateArgument()
5474 RefExpr = ImpCastExprToType(RefExpr.get(), ParamType.getUnqualifiedType(), CK_NoOp); in BuildExpressionFromDeclTemplateArgument()
DSema.cpp368 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType() function in Sema
DSemaExprObjC.cpp375 Inner = ImpCastExprToType(Inner.get(), Context.BoolTy, in ActOnObjCBoolLiteral()
2606 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage()
2613 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage()
DSemaInit.cpp6617 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, CK_NoOp, VK); in Perform()
6623 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
6828 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
6926 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
DSemaPseudoObject.cpp840 result = S.ImpCastExprToType(result.get(), propType, CK_BitCast); in buildRValueOperation()
DSemaChecking.cpp231 S.ImpCastExprToType(Builtin, BuiltinPtrTy, CK_BuiltinFnToFnPtr).get(); in SemaBuiltinCallWithStaticChain()
1309 PointerArgRes = ImpCastExprToType(PointerArg, AddrType, CastNeeded); in CheckARMBuiltinExclusiveCall()
2997 ExprResult PromotedCall = ImpCastExprToType(NewDRE, CalleePtrTy, in SemaBuiltinAtomicOverloaded()
DSemaDecl.cpp14353 Val = ImpCastExprToType(Val, EltTy, CK_IntegralCast).get(); in CheckEnumConstant()
14357 Val = ImpCastExprToType(Val, EltTy, in CheckEnumConstant()
14381 Val = ImpCastExprToType(Val, Context.IntTy, CK_IntegralCast).get(); in CheckEnumConstant()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp520 E = ImpCastExprToType(E, Context.getPointerType(Ty), in DefaultFunctionArrayConversion()
535 E = ImpCastExprToType(E, Context.getArrayDecayedType(Ty), in DefaultFunctionArrayConversion()
750 Res = ImpCastExprToType(E, Context.getPointerType(Ty), in CallExprUnaryConversions()
778 return ImpCastExprToType(Res.get(), Context.FloatTy, CK_FloatingCast); in UsualUnaryConversions()
799 E = ImpCastExprToType(E, PTy, CK_IntegralCast).get(); in UsualUnaryConversions()
804 E = ImpCastExprToType(E, PT, CK_IntegralCast).get(); in UsualUnaryConversions()
834 E = ImpCastExprToType(E, Context.FloatTy, CK_FloatingCast).get(); in DefaultArgumentPromotion()
837 E = ImpCastExprToType(E, Context.DoubleTy, CK_FloatingCast).get(); in DefaultArgumentPromotion()
1041 IntExpr = S.ImpCastExprToType(IntExpr.get(), fpTy, CK_IntegralToFloating); in handleIntegerToComplexFloatConversion()
1042 IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy, in handleIntegerToComplexFloatConversion()
[all …]
DSemaExprCXX.cpp596 E = ImpCastExprToType(E, UnqualT, CK_NoOp, E->getValueKind()).get(); in BuildCXXTypeId()
3586 Ex = ImpCastExprToType(Ex.get(), Unqual, CK_NoOp); in ActOnCXXDelete()
4134 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, in PerformImplicitConversion()
4140 From = ImpCastExprToType(From, FromType, CK_FunctionToPointerDecay, in PerformImplicitConversion()
4183 From = ImpCastExprToType(From, ToType, CK_IntegralToBoolean, in PerformImplicitConversion()
4186 From = ImpCastExprToType(From, ToType, CK_IntegralCast, in PerformImplicitConversion()
4193 From = ImpCastExprToType(From, ToType, CK_FloatingCast, in PerformImplicitConversion()
4212 From = ImpCastExprToType(From, ToType, CK, in PerformImplicitConversion()
4219 From = ImpCastExprToType(From, ToType, CK_IntegralToFloating, in PerformImplicitConversion()
4222 From = ImpCastExprToType(From, ToType, CK_FloatingToIntegral, in PerformImplicitConversion()
[all …]
DSemaExprMember.cpp1211 base = S.ImpCastExprToType(base.get(), redef, CK_BitCast); in ShouldTryAgainWithRedefinitionType()
1624 BaseExpr = S.ImpCastExprToType( in LookupMemberExpr()
DSemaStmtAsm.cpp666 InputExpr = ImpCastExprToType(InputExpr, OutTy, castKind).get(); in ActOnGCCAsmStmt()
DSemaInit.cpp7913 return ImpCastExprToType(E, Ty, CK, VK, /*BasePath=*/nullptr, CCK); in PerformQualificationConversion()
8319 S.ImpCastExprToType(CurInit.get(), Step->Type, CK_NoOp, VK_LValue); in Perform()
8324 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
8557 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
8740 CurInit = S.ImpCastExprToType(Init, S.Context.OCLSamplerTy, in Perform()
8749 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
DSemaTemplate.cpp6754 ResultArg = S.ImpCastExprToType(ResultArg, ParamType, CK_NoOp, in CheckTemplateArgumentPointerToMember()
6914 ExprResult E = ImpCastExprToType( in CheckTemplateArgument()
7167 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralToBoolean).get(); in CheckTemplateArgument()
7171 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralCast).get(); in CheckTemplateArgument()
7508 return ImpCastExprToType( in BuildExpressionFromDeclTemplateArgument()
7587 RefExpr = ImpCastExprToType(RefExpr.get(), DestExprType, CK, in BuildExpressionFromDeclTemplateArgument()
DSemaExprObjC.cpp377 Inner = ImpCastExprToType(Inner.get(), Context.BoolTy, in ActOnObjCBoolLiteral()
2915 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage()
2922 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage()
DSemaPseudoObject.cpp846 result = S.ImpCastExprToType(result.get(), propType, CK_BitCast); in buildRValueOperation()
DSemaStmt.cpp477 ER = ImpCastExprToType(ER.get(), CondType, CK_IntegralCast); in ActOnCaseExpr()
3772 RetValExp = ImpCastExprToType(RetValExp, in BuildReturnStmt()
DSema.cpp545 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType() function in Sema
DSemaChecking.cpp396 S.ImpCastExprToType(Builtin, BuiltinPtrTy, CK_BuiltinFnToFnPtr).get(); in SemaBuiltinCallWithStaticChain()
2354 PointerArgRes = ImpCastExprToType(PointerArg, AddrType, CastNeeded); in CheckARMBuiltinExclusiveCall()
5542 ExprResult PromotedCall = ImpCastExprToType(NewDRE, CalleePtrTy, in SemaBuiltinAtomicOverloaded()
6696 ArgExprA = ImpCastExprToType(ArgExprA.get(), ArgTypeB, CK_NullToPointer); in SemaBuiltinARMMemoryTaggingCall()
6699 ArgExprB = ImpCastExprToType(ArgExprB.get(), ArgTypeA, CK_NullToPointer); in SemaBuiltinARMMemoryTaggingCall()
DSemaDeclCXX.cpp1427 E = S.ImpCastExprToType(E.get(), BaseType, CK_UncheckedDerivedToBase, in checkMemberDecomposition()
4641 CopyCtorArg = SemaRef.ImpCastExprToType(CopyCtorArg, ArgTy, in BuildImplicitBaseInitializer()
8038 return {S.ImpCastExprToType(Obj.first.get(), Base->getType(), in getBase()
8040 S.ImpCastExprToType(Obj.second.get(), Base->getType(), in getBase()
13493 return assertNotNull(S.ImpCastExprToType(Builder.build(S, Loc), Type, in build()
DSemaTemplateDeduction.cpp459 S.ImpCastExprToType(new (S.Context) CXXNullPtrLiteralExpr( in DeduceNullPtrTemplateArgument()

12