Lines Matching defs:ResultTy

1464   QualType ResultTy = LHSTyRank > RHSTyRank ? LHSTy : RHSTy;
1467 ResultTy = S.Context.getCorrespondingSaturatedType(ResultTy);
1469 return ResultTy;
5058 QualType ResultTy = E->getType();
5062 if (isa<ArrayType>(ResultTy))
5065 if (ResultTy->hasAttr(attr::NoDeref)) {
6701 QualType ResultTy;
6710 ResultTy = FDecl->getCallResultType();
6713 ResultTy = Context.BoolTy;
6761 Args, ResultTy, VK_PRValue, RParenLoc,
6765 CallExpr::Create(Context, Fn, Args, ResultTy, VK_PRValue, RParenLoc,
6792 Context, Fn, cast<CallExpr>(Config), Args, ResultTy, VK_PRValue,
6796 CallExpr::Create(Context, Fn, Args, ResultTy, VK_PRValue, RParenLoc,
8021 // In case of OpenCL ResultTy should have the address space qualifier
8024 QualType ResultTy = [&, ResultAddrSpace]() {
8035 ResultTy = S.Context.getBlockPointerType(ResultTy);
8037 ResultTy = S.Context.getPointerType(ResultTy);
8039 LHS = S.ImpCastExprToType(LHS.get(), ResultTy, LHSCastKind);
8040 RHS = S.ImpCastExprToType(RHS.get(), ResultTy, RHSCastKind);
8041 return ResultTy;
14510 BinaryOperatorKind Opc, QualType ResultTy,
14515 assert((isVector(ResultTy, Context.HalfTy) ||
14516 isVector(ResultTy, Context.ShortTy)) &&
14527 if (isVector(ResultTy, Context.ShortTy))
14532 ResultTy, VK, OK, OpLoc, FPFeatures,
14538 return convertVector(BO, ResultTy->castAs<VectorType>()->getElementType(), S);
14611 QualType ResultTy; // Result type of the binary operator.
14633 ResultTy = InvalidOperands(OpLoc, LHS, RHS);
14643 ResultTy = InvalidOperands(OpLoc, LHS, RHS);
14653 ResultTy = CheckAssignmentOperands(LHS.get(), RHS, OpLoc, QualType(), Opc);
14659 if (!ResultTy.isNull()) {
14690 ResultTy = CheckPointerToMemberOperands(LHS, RHS, VK, OpLoc,
14696 ResultTy = CheckMultiplyDivideOperands(LHS, RHS, OpLoc, false,
14700 ResultTy = CheckRemainderOperands(LHS, RHS, OpLoc);
14704 ResultTy = CheckAdditionOperands(LHS, RHS, OpLoc, Opc);
14708 ResultTy = CheckSubtractionOperands(LHS, RHS, OpLoc);
14712 ResultTy = CheckShiftOperands(LHS, RHS, OpLoc, Opc);
14719 ResultTy = CheckCompareOperands(LHS, RHS, OpLoc, Opc);
14729 ResultTy = CheckCompareOperands(LHS, RHS, OpLoc, Opc);
14733 ResultTy = CheckCompareOperands(LHS, RHS, OpLoc, Opc);
14734 assert(ResultTy.isNull() || ResultTy->getAsCXXRecordDecl());
14741 ResultTy = CheckBitwiseOperands(LHS, RHS, OpLoc, Opc);
14746 ResultTy = CheckLogicalOperands(LHS, RHS, OpLoc, Opc);
14755 ResultTy =
14762 ResultTy =
14769 ResultTy =
14776 ResultTy =
14784 ResultTy =
14795 ResultTy =
14799 ResultTy = CheckCommaOperands(*this, LHS, RHS, OpLoc);
14806 if (ResultTy.isNull() || LHS.isInvalid() || RHS.isInvalid())
14847 return convertHalfVecBinOp(*this, LHS, RHS, Opc, ResultTy, VK, OK, false,
14849 return BinaryOperator::Create(Context, LHS.get(), RHS.get(), Opc, ResultTy,
14867 return convertHalfVecBinOp(*this, LHS, RHS, Opc, ResultTy, VK, OK, true,
14871 Context, LHS.get(), RHS.get(), Opc, ResultTy, VK, OK, OpLoc,
16530 QualType ResultTy;
16537 ResultTy =
16543 ResultTy = Context.UnsignedIntTy;
16552 ResultTy = Context.getPointerType(
16557 return BuildSourceLocExpr(Kind, ResultTy, BuiltinLoc, RPLoc, CurContext);
16560 ExprResult Sema::BuildSourceLocExpr(SourceLocIdentKind Kind, QualType ResultTy,
16565 SourceLocExpr(Context, Kind, ResultTy, BuiltinLoc, RPLoc, ParentContext);