/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 4936 QualType RHSTy = RHS.get()->getType(); in FindCompositeObjCPointerType() local 4942 (Context.hasSameType(RHSTy, Context.getObjCClassRedefinitionType()))) { in FindCompositeObjCPointerType() 4947 if (RHSTy->isObjCClassType() && in FindCompositeObjCPointerType() 4949 LHS = SemaRef.ImpCastExprToType(LHS.get(), RHSTy, in FindCompositeObjCPointerType() 4951 return RHSTy; in FindCompositeObjCPointerType() 4955 (Context.hasSameType(RHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType() 4960 if (RHSTy->isObjCIdType() && in FindCompositeObjCPointerType() 4962 LHS = SemaRef.ImpCastExprToType(LHS.get(), RHSTy, in FindCompositeObjCPointerType() 4964 return RHSTy; in FindCompositeObjCPointerType() 4968 (Context.hasSameType(RHSTy, Context.getObjCSelRedefinitionType()))) { in FindCompositeObjCPointerType() [all …]
|
H A D | SemaExpr.cpp | 1436 QualType RHSTy) { in handleFixedPointConversion() argument 1437 assert((LHSTy->isFixedPointType() || RHSTy->isFixedPointType()) && in handleFixedPointConversion() 1440 RHSTy->isFixedPointOrIntegerType()) && in handleFixedPointConversion() 1448 if (RHSTy->isSignedFixedPointType() && LHSTy->isUnsignedFixedPointType()) in handleFixedPointConversion() 1450 else if (RHSTy->isUnsignedFixedPointType() && LHSTy->isSignedFixedPointType()) in handleFixedPointConversion() 1451 RHSTy = S.Context.getCorrespondingSignedFixedPointType(RHSTy); in handleFixedPointConversion() 1462 unsigned RHSTyRank = GetFixedPointRank(RHSTy); in handleFixedPointConversion() 1464 QualType ResultTy = LHSTyRank > RHSTyRank ? LHSTy : RHSTy; in handleFixedPointConversion() 1466 if (LHSTy->isSaturatedFixedPointType() || RHSTy->isSaturatedFixedPointType()) in handleFixedPointConversion() 5120 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType(); in CreateBuiltinArraySubscriptExpr() local [all …]
|
H A D | SemaARM.cpp | 780 QualType RHSTy = RHS.get()->getType(); in CheckNeonBuiltinFunctionCall() local 797 RHSTy, RHS.get(), Sema::AA_Assigning)) in CheckNeonBuiltinFunctionCall()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 214 QualType RHSTy = *OptionalRHSTy; in CanElideOverflowCheck() local 219 !LHSTy->isUnsignedIntegerType() || !RHSTy->isUnsignedIntegerType()) in CanElideOverflowCheck() 226 (2 * Ctx.getTypeSize(RHSTy)) < PromotedSize; in CanElideOverflowCheck() 4203 QualType LHSTy, RHSTy; in EmitFixedPointBinOp() local 4205 RHSTy = BinOp->getRHS()->getType(); in EmitFixedPointBinOp() 4217 RHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp() 4224 auto RHSFixedSema = Ctx.getFixedPointSemantics(RHSTy); in EmitFixedPointBinOp() 4416 llvm::Type *RHSTy = RHS->getType(); in GetMaximumShiftAmount() local 4418 RHSIsSigned ? llvm::APInt::getSignedMaxValue(RHSTy->getScalarSizeInBits()) in GetMaximumShiftAmount() 4419 : llvm::APInt::getMaxValue(RHSTy->getScalarSizeInBits()); in GetMaximumShiftAmount() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 1964 RecTy *RHSTy = nullptr; in ParseOperation() local 1974 RHSTy = RHSt->getType(); in ParseOperation() 1976 RHSTy = BitsRecTy::get(Records, RHSbits->getNumBits()); in ParseOperation() 1978 RHSTy = BitRecTy::get(Records); in ParseOperation() 1982 MHSTy = RHSTy; in ParseOperation() 1984 RHSTy = MHSTy; in ParseOperation() 1986 if (!MHSTy || !RHSTy) { in ParseOperation() 1991 Type = resolveTypes(MHSTy, RHSTy); in ParseOperation() 1994 "' and '" + RHSTy->getAsString() + "' for !if"); in ParseOperation()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 2156 auto RankVectorTypesComp = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in checkVectorTypesForPromotion() argument 2158 assert(DL.getTypeSizeInBits(RHSTy).getFixedValue() == in checkVectorTypesForPromotion() 2161 assert(RHSTy->getElementType()->isIntegerTy() && in checkVectorTypesForPromotion() 2165 return cast<FixedVectorType>(RHSTy)->getNumElements() < in checkVectorTypesForPromotion() 2168 auto RankVectorTypesEq = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in checkVectorTypesForPromotion() argument 2170 assert(DL.getTypeSizeInBits(RHSTy).getFixedValue() == in checkVectorTypesForPromotion() 2173 assert(RHSTy->getElementType()->isIntegerTy() && in checkVectorTypesForPromotion() 2177 return cast<FixedVectorType>(RHSTy)->getNumElements() == in checkVectorTypesForPromotion()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 13539 QualType RHSTy = E->getRHS()->getType(); in EvaluateComparisonBinaryOperator() local 13542 RHSTy->isIntegralOrEnumerationType()) { in EvaluateComparisonBinaryOperator() 13556 if (LHSTy->isFixedPointType() || RHSTy->isFixedPointType()) { in EvaluateComparisonBinaryOperator() 13558 APFixedPoint RHSFX(Info.Ctx.getFixedPointSemantics(RHSTy)); in EvaluateComparisonBinaryOperator() 13572 if (LHSTy->isAnyComplexType() || RHSTy->isAnyComplexType()) { in EvaluateComparisonBinaryOperator() 13615 RHSTy->isRealFloatingType()) { in EvaluateComparisonBinaryOperator() 13650 if (LHSTy->isPointerType() && RHSTy->isPointerType()) { in EvaluateComparisonBinaryOperator() 13804 assert(RHSTy->isMemberPointerType() && "invalid comparison"); in EvaluateComparisonBinaryOperator() 13855 assert(RHSTy->isNullPtrType() && "missing pointer conversion"); in EvaluateComparisonBinaryOperator() 13962 QualType RHSTy = E->getRHS()->getType(); in VisitBinaryOperator() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 19515 MVT RHSTy = RHS.getValueType().getSimpleVT(); in performConcatVectorsCombine() local 19517 if (!RHSTy.isVector()) in performConcatVectorsCombine() 19523 MVT ConcatTy = MVT::getVectorVT(RHSTy.getVectorElementType(), in performConcatVectorsCombine() 19524 RHSTy.getVectorNumElements() * 2); in performConcatVectorsCombine() 19527 DAG.getNode(ISD::BITCAST, dl, RHSTy, N0), in performConcatVectorsCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 7938 auto [Dst0, Dst0Ty, Dst1, Dst1Ty, LHS, LHSTy, RHS, RHSTy] = in lowerSADDO_SSUBO()
|