Lines Matching defs:ResultTy

1362   QualType ResultTy = LHSTyRank > RHSTyRank ? LHSTy : RHSTy;
1365 ResultTy = S.Context.getCorrespondingSaturatedType(ResultTy);
1367 return ResultTy;
4553 QualType ResultTy = E->getType();
4557 if (isa<ArrayType>(ResultTy))
4560 if (ResultTy->hasAttr(attr::NoDeref)) {
4627 QualType ResultTy;
4629 ResultTy = OriginalTy->getPointeeType();
4631 ResultTy = OriginalTy->getAsArrayTypeUnsafe()->getElementType();
4671 if (ResultTy->isFunctionType()) {
4673 << ResultTy << Base->getSourceRange();
4677 if (RequireCompleteType(Base->getExprLoc(), ResultTy,
5938 QualType ResultTy;
5947 ResultTy = FDecl->getCallResultType();
5950 ResultTy = Context.BoolTy;
5999 ResultTy, VK_RValue, RParenLoc, NumParams);
6001 TheCall = CallExpr::Create(Context, Fn, Args, ResultTy, VK_RValue,
6028 Context, Fn, cast<CallExpr>(Config), Args, ResultTy, VK_RValue,
6031 TheCall = CallExpr::Create(Context, Fn, Args, ResultTy, VK_RValue,
7148 // In case of OpenCL ResultTy should have the address space qualifier
7151 QualType ResultTy = [&, ResultAddrSpace]() {
7162 ResultTy = S.Context.getBlockPointerType(ResultTy);
7164 ResultTy = S.Context.getPointerType(ResultTy);
7166 LHS = S.ImpCastExprToType(LHS.get(), ResultTy, LHSCastKind);
7167 RHS = S.ImpCastExprToType(RHS.get(), ResultTy, RHSCastKind);
7168 return ResultTy;
12855 BinaryOperatorKind Opc, QualType ResultTy,
12860 assert((isVector(ResultTy, Context.HalfTy) ||
12861 isVector(ResultTy, Context.ShortTy)) &&
12872 if (isVector(ResultTy, Context.ShortTy))
12877 LHS.get(), RHS.get(), Opc, ResultTy, VK, OK, BinOpResTy, BinOpResTy,
12883 return convertVector(BO, ResultTy->castAs<VectorType>()->getElementType(), S);
12940 QualType ResultTy; // Result type of the binary operator.
12962 ResultTy = InvalidOperands(OpLoc, LHS, RHS);
12972 ResultTy = InvalidOperands(OpLoc, LHS, RHS);
12987 ResultTy = CheckAssignmentOperands(LHS.get(), RHS, OpLoc, QualType());
12993 if (!ResultTy.isNull()) {
13024 ResultTy = CheckPointerToMemberOperands(LHS, RHS, VK, OpLoc,
13030 ResultTy = CheckMultiplyDivideOperands(LHS, RHS, OpLoc, false,
13034 ResultTy = CheckRemainderOperands(LHS, RHS, OpLoc);
13038 ResultTy = CheckAdditionOperands(LHS, RHS, OpLoc, Opc);
13042 ResultTy = CheckSubtractionOperands(LHS, RHS, OpLoc);
13046 ResultTy = CheckShiftOperands(LHS, RHS, OpLoc, Opc);
13053 ResultTy = CheckCompareOperands(LHS, RHS, OpLoc, Opc);
13058 ResultTy = CheckCompareOperands(LHS, RHS, OpLoc, Opc);
13062 ResultTy = CheckCompareOperands(LHS, RHS, OpLoc, Opc);
13063 assert(ResultTy.isNull() || ResultTy->getAsCXXRecordDecl());
13070 ResultTy = CheckBitwiseOperands(LHS, RHS, OpLoc, Opc);
13075 ResultTy = CheckLogicalOperands(LHS, RHS, OpLoc, Opc);
13084 ResultTy = CheckAssignmentOperands(LHS.get(), RHS, OpLoc, CompResultTy);
13090 ResultTy = CheckAssignmentOperands(LHS.get(), RHS, OpLoc, CompResultTy);
13096 ResultTy = CheckAssignmentOperands(LHS.get(), RHS, OpLoc, CompResultTy);
13102 ResultTy = CheckAssignmentOperands(LHS.get(), RHS, OpLoc, CompResultTy);
13109 ResultTy = CheckAssignmentOperands(LHS.get(), RHS, OpLoc, CompResultTy);
13119 ResultTy = CheckAssignmentOperands(LHS.get(), RHS, OpLoc, CompResultTy);
13122 ResultTy = CheckCommaOperands(*this, LHS, RHS, OpLoc);
13129 if (ResultTy.isNull() || LHS.isInvalid() || RHS.isInvalid())
13132 if (ResultTy->isRealFloatingType() &&
13177 return convertHalfVecBinOp(*this, LHS, RHS, Opc, ResultTy, VK, OK, false,
13179 return new (Context) BinaryOperator(LHS.get(), RHS.get(), Opc, ResultTy, VK,
13191 return convertHalfVecBinOp(*this, LHS, RHS, Opc, ResultTy, VK, OK, true,
13195 LHS.get(), RHS.get(), Opc, ResultTy, VK, OK, CompLHSTy, CompResultTy,