Lines Matching refs:take
314 E = result.take(); in DefaultFunctionArrayConversion()
322 CK_FunctionToPointerDecay).take(); in DefaultFunctionArrayConversion()
337 CK_ArrayToPointerDecay).take(); in DefaultFunctionArrayConversion()
366 E = result.take(); in DefaultLvalueConversion()
428 Res = DefaultLvalueConversion(Res.take()); in DefaultFunctionArrayLvalueConversion()
445 E = Res.take(); in UsualUnaryConversions()
453 return ImpCastExprToType(Res.take(), Context.FloatTy, CK_FloatingCast); in UsualUnaryConversions()
474 E = ImpCastExprToType(E, PTy, CK_IntegralCast).take(); in UsualUnaryConversions()
479 E = ImpCastExprToType(E, PT, CK_IntegralCast).take(); in UsualUnaryConversions()
496 E = Res.take(); in DefaultArgumentPromotion()
500 E = ImpCastExprToType(E, Context.DoubleTy, CK_FloatingCast).take(); in DefaultArgumentPromotion()
544 E = ExprRes.take(); in DefaultVariadicArgumentPromotion()
551 E = ExprRes.take(); in DefaultVariadicArgumentPromotion()
640 IntExpr = S.ImpCastExprToType(IntExpr.take(), fpTy, CK_IntegralToFloating); in handleIntegerToComplexFloatConversion()
641 IntExpr = S.ImpCastExprToType(IntExpr.take(), ComplexTy, in handleIntegerToComplexFloatConversion()
645 IntExpr = S.ImpCastExprToType(IntExpr.take(), ComplexTy, in handleIntegerToComplexFloatConversion()
663 LHS = S.ImpCastExprToType(LHS.take(), RHSType, CK_FloatingComplexCast); in handleComplexFloatToComplexFloatConverstion()
668 RHS = S.ImpCastExprToType(RHS.take(), LHSType, CK_FloatingComplexCast); in handleComplexFloatToComplexFloatConverstion()
689 OtherExpr = S.ImpCastExprToType(OtherExpr.take(), fp, CK_FloatingCast); in handleOtherComplexFloatConversion()
690 OtherExpr = S.ImpCastExprToType(OtherExpr.take(), ComplexTy, in handleOtherComplexFloatConversion()
702 OtherExpr = S.ImpCastExprToType(OtherExpr.take(), result, in handleOtherComplexFloatConversion()
707 ComplexExpr = S.ImpCastExprToType(ComplexExpr.take(), result, in handleOtherComplexFloatConversion()
769 IntExpr = S.ImpCastExprToType(IntExpr.take(), FloatTy, in handleIntToFloatConversion()
780 IntExpr = S.ImpCastExprToType(IntExpr.take(), result, in handleIntToFloatConversion()
785 FloatExpr = S.ImpCastExprToType(FloatExpr.take(), result, in handleIntToFloatConversion()
804 RHS = S.ImpCastExprToType(RHS.take(), LHSType, CK_FloatingCast); in handleFloatConversion()
810 LHS = S.ImpCastExprToType(LHS.take(), RHSType, CK_FloatingCast); in handleFloatConversion()
841 RHS = S.ImpCastExprToType(RHS.take(), LHSType, CK_IntegralComplexCast); in handleComplexIntConversion()
846 LHS = S.ImpCastExprToType(LHS.take(), RHSType, CK_IntegralComplexCast); in handleComplexIntConversion()
853 RHS = S.ImpCastExprToType(RHS.take(), LHSComplexInt->getElementType(), in handleComplexIntConversion()
855 RHS = S.ImpCastExprToType(RHS.take(), LHSType, CK_IntegralRealToComplex); in handleComplexIntConversion()
863 LHS = S.ImpCastExprToType(LHS.take(), RHSComplexInt->getElementType(), in handleComplexIntConversion()
865 LHS = S.ImpCastExprToType(LHS.take(), RHSType, CK_IntegralRealToComplex); in handleComplexIntConversion()
882 RHS = S.ImpCastExprToType(RHS.take(), LHSType, CK_IntegralCast); in handleIntegerConversion()
885 LHS = S.ImpCastExprToType(LHS.take(), RHSType, CK_IntegralCast); in handleIntegerConversion()
891 RHS = S.ImpCastExprToType(RHS.take(), LHSType, CK_IntegralCast); in handleIntegerConversion()
894 LHS = S.ImpCastExprToType(LHS.take(), RHSType, CK_IntegralCast); in handleIntegerConversion()
901 RHS = S.ImpCastExprToType(RHS.take(), LHSType, CK_IntegralCast); in handleIntegerConversion()
904 LHS = S.ImpCastExprToType(LHS.take(), RHSType, CK_IntegralCast); in handleIntegerConversion()
913 RHS = S.ImpCastExprToType(RHS.take(), result, CK_IntegralCast); in handleIntegerConversion()
915 LHS = S.ImpCastExprToType(LHS.take(), result, CK_IntegralCast); in handleIntegerConversion()
929 LHS = UsualUnaryConversions(LHS.take()); in UsualArithmeticConversions()
934 RHS = UsualUnaryConversions(RHS.take()); in UsualArithmeticConversions()
962 LHS = ImpCastExprToType(LHS.take(), LHSType, CK_IntegralCast); in UsualArithmeticConversions()
1860 SelfExpr = DefaultLvalueConversion(SelfExpr.take()); in LookupInObjCMethod()
1867 SelfExpr.take(), true, true)); in LookupInObjCMethod()
2013 VK, &BasePath).take(); in PerformObjectMemberConversion()
2050 VK, &BasePath).take(); in PerformObjectMemberConversion()
2632 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).take(); in ActOnNumericConstant()
2635 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).take(); in ActOnNumericConstant()
2994 E = PE.take(); in CreateUnaryExprOrTypeTraitExpr()
3031 V = S.DefaultLvalueConversion(V.take()); in CheckRealImagOperand()
3073 Input = Result.take(); in ActOnPostfixUnaryOp()
3084 Base = Result.take(); in ActOnArraySubscriptExpr()
3120 LHSExp = Result.take(); in CreateBuiltinArraySubscriptExpr()
3125 RHSExp = Result.take(); in CreateBuiltinArraySubscriptExpr()
3151 return Owned(Result.take()); in CreateBuiltinArraySubscriptExpr()
3182 CK_ArrayToPointerDecay).take(); in CreateBuiltinArraySubscriptExpr()
3193 CK_ArrayToPointerDecay).take(); in CreateBuiltinArraySubscriptExpr()
3515 AllArgs.push_back(arg.take()); in GatherArgumentsForCall()
3524 AllArgs.push_back(Arg.take()); in GatherArgumentsForCall()
3605 Fn = Result.take(); in ActOnCallExpr()
3655 Fn = result.take(); in ActOnCallExpr()
3686 Fn = result.take(); in ActOnCallExpr()
3761 Fn = Result.take(); in BuildResolvedCallExpr()
3804 Fn = rewrite.take(); in BuildResolvedCallExpr()
4007 InitList[I] = result.take(); in ActOnInitList()
4114 Src = ImpCastExprToType(Src.take(), in PrepareScalarCast()
4119 Src = ImpCastExprToType(Src.take(), in PrepareScalarCast()
4137 Src = ImpCastExprToType(Src.take(), in PrepareScalarCast()
4142 Src = ImpCastExprToType(Src.take(), in PrepareScalarCast()
4165 Src = ImpCastExprToType(Src.take(), ET, CK_FloatingComplexToReal); in PrepareScalarCast()
4171 Src = ImpCastExprToType(Src.take(), in PrepareScalarCast()
4194 Src = ImpCastExprToType(Src.take(), ET, CK_IntegralComplexToReal); in PrepareScalarCast()
4200 Src = ImpCastExprToType(Src.take(), in PrepareScalarCast()
4272 CastExpr = ImpCastExprToType(CastExprRes.take(), DestElemTy, CK).take(); in CheckExtVectorCast()
4331 CastExpr = Result.take(); in ActOnCastExpr()
4375 Literal = ImpCastExprToType(Literal.take(), ElemTy, in BuildVectorLiteral()
4377 return BuildCStyleCastExpr(LParenLoc, TInfo, RParenLoc, Literal.take()); in BuildVectorLiteral()
4397 Literal = ImpCastExprToType(Literal.take(), ElemTy, in BuildVectorLiteral()
4399 return BuildCStyleCastExpr(LParenLoc, TInfo, RParenLoc, Literal.take()); in BuildVectorLiteral()
4517 LHS = S.ImpCastExprToType(LHS.take(), CondTy, CK_IntegralCast); in checkConditionalConvertScalarsToVectors()
4518 RHS = S.ImpCastExprToType(RHS.take(), CondTy, CK_IntegralCast); in checkConditionalConvertScalarsToVectors()
4534 LHS = S.ImpCastExprToType(LHS.take(), S.Context.VoidTy, CK_ToVoid); in checkConditionalVoidType()
4535 RHS = S.ImpCastExprToType(RHS.take(), S.Context.VoidTy, CK_ToVoid); in checkConditionalVoidType()
4548 NullExpr = S.ImpCastExprToType(NullExpr.take(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
4605 LHS = S.ImpCastExprToType(LHS.take(), incompatTy, CK_BitCast); in checkConditionalPointerCompatibility()
4606 RHS = S.ImpCastExprToType(RHS.take(), incompatTy, CK_BitCast); in checkConditionalPointerCompatibility()
4614 LHS = S.ImpCastExprToType(LHS.take(), ResultTy, CK_BitCast); in checkConditionalPointerCompatibility()
4615 RHS = S.ImpCastExprToType(RHS.take(), ResultTy, CK_BitCast); in checkConditionalPointerCompatibility()
4630 LHS = S.ImpCastExprToType(LHS.take(), destType, CK_BitCast); in checkConditionalBlockPointerCompatibility()
4631 RHS = S.ImpCastExprToType(RHS.take(), destType, CK_BitCast); in checkConditionalBlockPointerCompatibility()
4664 LHS = S.ImpCastExprToType(LHS.take(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
4666 RHS = S.ImpCastExprToType(RHS.take(), destType, CK_BitCast); in checkConditionalObjectPointersCompatibility()
4674 RHS = S.ImpCastExprToType(RHS.take(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
4676 LHS = S.ImpCastExprToType(LHS.take(), destType, CK_BitCast); in checkConditionalObjectPointersCompatibility()
4698 Int = S.ImpCastExprToType(Int.take(), PointerExpr->getType(), in checkPointerIntegerMismatch()
4726 Cond = UsualUnaryConversions(Cond.take()); in CheckConditionalOperands()
4729 LHS = UsualUnaryConversions(LHS.take()); in CheckConditionalOperands()
4732 RHS = UsualUnaryConversions(RHS.take()); in CheckConditionalOperands()
4839 RHS = ImpCastExprToType(RHS.take(), LHSTy, CK_CPointerToObjCPointerCast); in FindCompositeObjCPointerType()
4844 LHS = ImpCastExprToType(LHS.take(), RHSTy, CK_CPointerToObjCPointerCast); in FindCompositeObjCPointerType()
4850 RHS = ImpCastExprToType(RHS.take(), LHSTy, CK_CPointerToObjCPointerCast); in FindCompositeObjCPointerType()
4855 LHS = ImpCastExprToType(LHS.take(), RHSTy, CK_CPointerToObjCPointerCast); in FindCompositeObjCPointerType()
4861 RHS = ImpCastExprToType(RHS.take(), LHSTy, CK_BitCast); in FindCompositeObjCPointerType()
4866 LHS = ImpCastExprToType(LHS.take(), RHSTy, CK_BitCast); in FindCompositeObjCPointerType()
4915 LHS = ImpCastExprToType(LHS.take(), incompatTy, CK_BitCast); in FindCompositeObjCPointerType()
4916 RHS = ImpCastExprToType(RHS.take(), incompatTy, CK_BitCast); in FindCompositeObjCPointerType()
4920 LHS = ImpCastExprToType(LHS.take(), compositeType, CK_BitCast); in FindCompositeObjCPointerType()
4921 RHS = ImpCastExprToType(RHS.take(), compositeType, CK_BitCast); in FindCompositeObjCPointerType()
4940 LHS = ImpCastExprToType(LHS.take(), destType, CK_NoOp); in FindCompositeObjCPointerType()
4942 RHS = ImpCastExprToType(RHS.take(), destType, CK_BitCast); in FindCompositeObjCPointerType()
4960 RHS = ImpCastExprToType(RHS.take(), destType, CK_NoOp); in FindCompositeObjCPointerType()
4962 LHS = ImpCastExprToType(LHS.take(), destType, CK_BitCast); in FindCompositeObjCPointerType()
5110 commonExpr = commonRes.take(); in ActOnConditionalOp()
5134 return Owned(new (Context) ConditionalOperator(Cond.take(), QuestionLoc, in ActOnConditionalOp()
5135 LHS.take(), ColonLoc, in ActOnConditionalOp()
5136 RHS.take(), result, VK, OK)); in ActOnConditionalOp()
5139 BinaryConditionalOperator(commonExpr, opaqueValue, Cond.take(), LHS.take(), in ActOnConditionalOp()
5140 RHS.take(), QuestionLoc, ColonLoc, result, VK, in ActOnConditionalOp()
5426 RHS = ImpCastExprToType(RHS.take(), elType, Kind); in CheckAssignmentConstraints()
5640 Expr *E = EResult.take(); in ConstructTransparentUnion()
5679 RHS = ImpCastExprToType(RHS.take(), it->getType(), CK_BitCast); in CheckTransparentUnionArgumentConstraints()
5686 RHS = ImpCastExprToType(RHS.take(), it->getType(), in CheckTransparentUnionArgumentConstraints()
5696 RHS = ImpCastExprToType(RHS.take(), it->getType(), Kind); in CheckTransparentUnionArgumentConstraints()
5758 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_NullToPointer); in CheckSingleAssignmentConstraints()
5769 RHS = DefaultFunctionArrayLvalueConversion(RHS.take()); in CheckSingleAssignmentConstraints()
5785 RHS = ImpCastExprToType(RHS.take(), in CheckSingleAssignmentConstraints()
5801 LHS = DefaultFunctionArrayLvalueConversion(LHS.take()); in CheckVectorOperands()
5805 RHS = DefaultFunctionArrayLvalueConversion(RHS.take()); in CheckVectorOperands()
5824 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_BitCast); in CheckVectorOperands()
5829 LHS = ImpCastExprToType(LHS.take(), RHSType, CK_BitCast); in CheckVectorOperands()
5839 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_BitCast); in CheckVectorOperands()
5858 RHS = ImpCastExprToType(RHS.take(), EltTy, CK_IntegralCast); in CheckVectorOperands()
5860 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_VectorSplat); in CheckVectorOperands()
5869 RHS = ImpCastExprToType(RHS.take(), EltTy, CK_FloatingCast); in CheckVectorOperands()
5871 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_VectorSplat); in CheckVectorOperands()
6441 LHS = UsualUnaryConversions(LHS.take()); in CheckShiftOperands()
6448 RHS = UsualUnaryConversions(RHS.take()); in CheckShiftOperands()
6548 LHS = S.ImpCastExprToType(LHS.take(), T, CK_BitCast); in convertPointersToCompositeType()
6549 RHS = S.ImpCastExprToType(RHS.take(), T, CK_BitCast); in convertPointersToCompositeType()
6680 LHS = UsualUnaryConversions(LHS.take()); in CheckCompareOperands()
6684 RHS = UsualUnaryConversions(RHS.take()); in CheckCompareOperands()
6737 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_BitCast); in CheckCompareOperands()
6769 LHS = ImpCastExprToType(LHS.take(), RHSType, CK_BitCast); in CheckCompareOperands()
6771 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_BitCast); in CheckCompareOperands()
6787 RHS = ImpCastExprToType(RHS.take(), LHSType, in CheckCompareOperands()
6797 LHS = ImpCastExprToType(LHS.take(), RHSType, in CheckCompareOperands()
6833 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_BitCast); in CheckCompareOperands()
6851 LHS = ImpCastExprToType(LHS.take(), RHSType, in CheckCompareOperands()
6855 RHS = ImpCastExprToType(RHS.take(), LHSType, in CheckCompareOperands()
6875 LHS = ImpCastExprToType(LHS.take(), RHSType, in CheckCompareOperands()
6878 RHS = ImpCastExprToType(RHS.take(), LHSType, in CheckCompareOperands()
6888 LHS = ImpCastExprToType(LHS.take(), RHSType, CK_BitCast); in CheckCompareOperands()
6890 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_BitCast); in CheckCompareOperands()
6919 LHS = ImpCastExprToType(LHS.take(), RHSType, in CheckCompareOperands()
6922 RHS = ImpCastExprToType(RHS.take(), LHSType, in CheckCompareOperands()
6930 RHS = ImpCastExprToType(RHS.take(), LHSType, CK_NullToPointer); in CheckCompareOperands()
6935 LHS = ImpCastExprToType(LHS.take(), RHSType, CK_NullToPointer); in CheckCompareOperands()
7037 LHS = LHSResult.take(); in CheckBitwiseOperands()
7038 RHS = RHSResult.take(); in CheckBitwiseOperands()
7092 LHS = UsualUnaryConversions(LHS.take()); in CheckLogicalOperands()
7096 RHS = UsualUnaryConversions(RHS.take()); in CheckLogicalOperands()
7389 LHS = S.CheckPlaceholderExpr(LHS.take()); in CheckCommaOperands()
7390 RHS = S.CheckPlaceholderExpr(RHS.take()); in CheckCommaOperands()
7400 LHS = S.IgnoredValueConversions(LHS.take()); in CheckCommaOperands()
7405 RHS = S.DefaultFunctionArrayLvalueConversion(RHS.take()); in CheckCommaOperands()
7459 return CheckIncrementDecrementOperand(S, PR.take(), VK, OpLoc, in CheckIncrementDecrementOperand()
7588 OrigOp = S.CheckPlaceholderExpr(OrigOp.take()); in CheckAddressOfOperand()
7733 Op = ConvResult.take(); in CheckIndirectionOperand()
7755 if (PR.take() != Op) in CheckIndirectionOperand()
7756 return CheckIndirectionOperand(S, PR.take(), VK, OpLoc); in CheckIndirectionOperand()
7892 RHSExpr = Init.take(); in CreateBuiltinBinOp()
8011 return Owned(new (Context) BinaryOperator(LHS.take(), RHS.take(), Opc, in CreateBuiltinBinOp()
8018 return Owned(new (Context) CompoundAssignOperator(LHS.take(), RHS.take(), Opc, in CreateBuiltinBinOp()
8243 RHSExpr = resolvedRHS.take(); in BuildBinOp()
8252 LHSExpr = LHS.take(); in BuildBinOp()
8276 RHSExpr = resolvedRHS.take(); in BuildBinOp()
8318 Input = DefaultFunctionArrayLvalueConversion(Input.take()); in CreateBuiltinUnaryOp()
8324 Input = UsualUnaryConversions(Input.take()); in CreateBuiltinUnaryOp()
8344 Input = UsualUnaryConversions(Input.take()); in CreateBuiltinUnaryOp()
8364 Input = DefaultFunctionArrayLvalueConversion(Input.take()); in CreateBuiltinUnaryOp()
8370 Input = ImpCastExprToType(Input.take(), Context.FloatTy, CK_FloatingCast).take(); in CreateBuiltinUnaryOp()
8381 Input = ImpCastExprToType(Input.take(), Context.BoolTy, in CreateBuiltinUnaryOp()
8409 Input = DefaultLvalueConversion(Input.take()); in CreateBuiltinUnaryOp()
8428 return Owned(new (Context) UnaryOperator(Input.take(), Opc, resultType, in CreateBuiltinUnaryOp()
8499 Input = Result.take(); in BuildUnaryOp()
8635 Compound->setLastStmt(LastExpr.take()); in ActOnStmtExpr()
8637 LastLabelStmt->setSubStmt(LastExpr.take()); in ActOnStmtExpr()
8705 Expr *Idx = IdxRval.take(); in BuildBuiltinOffsetOf()
8857 CondExpr = CondICE.take(); in ActOnChooseExpr()
9167 E = Result.take(); in BuildVAArgExpr()
9475 E = Converted.take(); in VerifyIntegerConstantExpression()
9959 IterationVarRef = S.DefaultLvalueConversion(IterationVarRef.take()); in captureInLambda()
9965 Ref, Loc, IterationVarRef.take(), Loc); in captureInLambda()
9973 Ref = Subscript.take(); in captureInLambda()
10197 CopyExpr = Result.take(); in tryCaptureVariable()
10269 CopyExpr = Result.take(); in tryCaptureVariable()
10757 E = result.take(); in CheckBooleanCondition()
10766 E = ERes.take(); in CheckBooleanCondition()
10813 Expr *SubExpr = SubResult.take(); in rebuildSugarExpr()
10833 Expr *SubExpr = SubResult.take(); in VisitUnaryAddrOf()
10870 return S.DefaultFunctionArrayConversion(Result.take()); in rebuildUnknownAnyFunction()
10907 Expr *SubExpr = SubResult.take(); in rebuildSugarExpr()
10938 E->setSubExpr(SubResult.take()); in VisitUnaryAddrOf()
11025 E->setCallee(CalleeResult.take()); in VisitCallExpr()
11066 E->setSubExpr(Result.take()); in VisitImplicitCastExpr()
11082 E->setSubExpr(Result.take()); in VisitImplicitCastExpr()
11101 return S.ImpCastExprToType(Result.take(), Type, in resolveDecl()
11153 CastExpr = result.take(); in checkUnknownAnyCast()