Home
last modified time | relevance | path

Searched refs:RHSTy (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp1391 QualType RHSTy) { in handleFixedPointConversion() argument
1392 assert((LHSTy->isFixedPointType() || RHSTy->isFixedPointType()) && in handleFixedPointConversion()
1395 RHSTy->isFixedPointOrIntegerType()) && in handleFixedPointConversion()
1403 if (RHSTy->isSignedFixedPointType() && LHSTy->isUnsignedFixedPointType()) in handleFixedPointConversion()
1405 else if (RHSTy->isUnsignedFixedPointType() && LHSTy->isSignedFixedPointType()) in handleFixedPointConversion()
1406 RHSTy = S.Context.getCorrespondingSignedFixedPointType(RHSTy); in handleFixedPointConversion()
1417 unsigned RHSTyRank = GetFixedPointRank(RHSTy); in handleFixedPointConversion()
1419 QualType ResultTy = LHSTyRank > RHSTyRank ? LHSTy : RHSTy; in handleFixedPointConversion()
1421 if (LHSTy->isSaturatedFixedPointType() || RHSTy->isSaturatedFixedPointType()) in handleFixedPointConversion()
5430 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType(); in CreateBuiltinArraySubscriptExpr() local
[all …]
DSemaChecking.cpp2214 QualType RHSTy = RHS.get()->getType(); in CheckNeonBuiltinFunctionCall() local
2230 if (DiagnoseAssignmentResult(ConvTy, Arg->getBeginLoc(), LHSTy, RHSTy, in CheckNeonBuiltinFunctionCall()
/external/clang/lib/Sema/
DSemaExpr.cpp4374 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType(); in CreateBuiltinArraySubscriptExpr() local
4384 if (LHSTy->isDependentType() || RHSTy->isDependentType()) { in CreateBuiltinArraySubscriptExpr()
4404 } else if (const PointerType *PTy = RHSTy->getAs<PointerType>()) { in CreateBuiltinArraySubscriptExpr()
4410 RHSTy->getAs<ObjCObjectPointerType>()) { in CreateBuiltinArraySubscriptExpr()
4444 } else if (RHSTy->isArrayType()) { in CreateBuiltinArraySubscriptExpr()
4448 RHSExp = ImpCastExprToType(RHSExp, Context.getArrayDecayedType(RHSTy), in CreateBuiltinArraySubscriptExpr()
4450 RHSTy = RHSExp->getType(); in CreateBuiltinArraySubscriptExpr()
4454 ResultType = RHSTy->getAs<PointerType>()->getPointeeType(); in CreateBuiltinArraySubscriptExpr()
6210 QualType RHSTy = RHS.get()->getType(); in checkConditionalPointerCompatibility() local
6212 if (S.Context.hasSameType(LHSTy, RHSTy)) { in checkConditionalPointerCompatibility()
[all …]
DSemaChecking.cpp1216 QualType RHSTy = RHS.get()->getType(); in CheckNeonBuiltinFunctionCall() local
1231 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy, in CheckNeonBuiltinFunctionCall()
/external/llvm/lib/TableGen/
DTGParser.cpp1021 RecTy *RHSTy = nullptr; in ParseOperation() local
1031 RHSTy = RHSt->getType(); in ParseOperation()
1033 RHSTy = BitsRecTy::get(RHSbits->getNumBits()); in ParseOperation()
1035 RHSTy = BitRecTy::get(); in ParseOperation()
1039 MHSTy = RHSTy; in ParseOperation()
1041 RHSTy = MHSTy; in ParseOperation()
1043 if (!MHSTy || !RHSTy) { in ParseOperation()
1048 if (MHSTy->typeIsConvertibleTo(RHSTy)) { in ParseOperation()
1049 Type = RHSTy; in ParseOperation()
1050 } else if (RHSTy->typeIsConvertibleTo(MHSTy)) { in ParseOperation()
/external/llvm-project/polly/lib/CodeGen/
DIslExprBuilder.cpp502 auto *RHSTy = RHS->getType(); in createOpICmp() local
503 bool IsPtrType = LHSTy->isPointerTy() || RHSTy->isPointerTy(); in createOpICmp()
509 if (RHSTy->isPointerTy()) in createOpICmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGParser.cpp1503 RecTy *RHSTy = nullptr; in ParseOperation() local
1513 RHSTy = RHSt->getType(); in ParseOperation()
1515 RHSTy = BitsRecTy::get(RHSbits->getNumBits()); in ParseOperation()
1517 RHSTy = BitRecTy::get(); in ParseOperation()
1521 MHSTy = RHSTy; in ParseOperation()
1523 RHSTy = MHSTy; in ParseOperation()
1525 if (!MHSTy || !RHSTy) { in ParseOperation()
1530 Type = resolveTypes(MHSTy, RHSTy); in ParseOperation()
1533 "' and '" + RHSTy->getAsString() + "' for !if"); in ParseOperation()
/external/llvm-project/llvm/lib/TableGen/
DTGParser.cpp1451 RecTy *RHSTy = nullptr; in ParseOperation() local
1461 RHSTy = RHSt->getType(); in ParseOperation()
1463 RHSTy = BitsRecTy::get(RHSbits->getNumBits()); in ParseOperation()
1465 RHSTy = BitRecTy::get(); in ParseOperation()
1469 MHSTy = RHSTy; in ParseOperation()
1471 RHSTy = MHSTy; in ParseOperation()
1473 if (!MHSTy || !RHSTy) { in ParseOperation()
1478 Type = resolveTypes(MHSTy, RHSTy); in ParseOperation()
1481 "' and '" + RHSTy->getAsString() + "' for !if"); in ParseOperation()
/external/llvm-project/clang/lib/CodeGen/
DCGExprScalar.cpp204 QualType RHSTy = *OptionalRHSTy; in CanElideOverflowCheck() local
209 !LHSTy->isUnsignedIntegerType() || !RHSTy->isUnsignedIntegerType()) in CanElideOverflowCheck()
216 (2 * Ctx.getTypeSize(RHSTy)) < PromotedSize; in CanElideOverflowCheck()
3527 QualType LHSTy, RHSTy; in EmitFixedPointBinOp() local
3529 RHSTy = BinOp->getRHS()->getType(); in EmitFixedPointBinOp()
3541 RHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
3548 auto RHSFixedSema = Ctx.getFixedPointSemantics(RHSTy); in EmitFixedPointBinOp()
3907 QualType RHSTy = E->getRHS()->getType(); in EmitCompare() local
3915 } else if (!LHSTy->isAnyComplexType() && !RHSTy->isAnyComplexType()) { in EmitCompare()
4020 if (RHSTy.mayBeDynamicClass()) in EmitCompare()
[all …]
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1830 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in isVectorPromotionViable() argument
1831 assert(DL.getTypeSizeInBits(RHSTy) == DL.getTypeSizeInBits(LHSTy) && in isVectorPromotionViable()
1833 assert(RHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
1837 return RHSTy->getNumElements() < LHSTy->getNumElements(); in isVectorPromotionViable()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp2830 QualType RHSTy = E->getRHS()->getType(); in EmitCompare() local
2838 } else if (!LHSTy->isAnyComplexType() && !RHSTy->isAnyComplexType()) { in EmitCompare()
2934 if (auto *CTy = RHSTy->getAs<ComplexType>()) { in EmitCompare()
2943 assert(CGF.getContext().hasSameUnqualifiedType(CETy, RHSTy) && in EmitCompare()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1937 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in isVectorPromotionViable() argument
1939 assert(DL.getTypeSizeInBits(RHSTy) == DL.getTypeSizeInBits(LHSTy) && in isVectorPromotionViable()
1941 assert(RHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
1945 return RHSTy->getNumElements() < LHSTy->getNumElements(); in isVectorPromotionViable()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp1948 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in isVectorPromotionViable() argument
1950 assert(DL.getTypeSizeInBits(RHSTy).getFixedSize() == in isVectorPromotionViable()
1953 assert(RHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
1957 return cast<FixedVectorType>(RHSTy)->getNumElements() < in isVectorPromotionViable()
/external/clang/lib/AST/
DExprConstant.cpp7492 QualType RHSTy = E->getRHS()->getType(); in VisitBinaryOperator() local
7494 if (LHSTy->isAnyComplexType() || RHSTy->isAnyComplexType()) { in VisitBinaryOperator()
7554 RHSTy->isRealFloatingType()) { in VisitBinaryOperator()
7587 if (LHSTy->isPointerType() && RHSTy->isPointerType()) { in VisitBinaryOperator()
7804 assert(RHSTy->isMemberPointerType() && "invalid comparison"); in VisitBinaryOperator()
7842 assert(RHSTy->isNullPtrType() && "missing pointer conversion"); in VisitBinaryOperator()
7851 !RHSTy->isIntegralOrEnumerationType()) && in VisitBinaryOperator()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp12498 QualType RHSTy = E->getRHS()->getType(); in EvaluateComparisonBinaryOperator() local
12501 RHSTy->isIntegralOrEnumerationType()) { in EvaluateComparisonBinaryOperator()
12515 if (LHSTy->isFixedPointType() || RHSTy->isFixedPointType()) { in EvaluateComparisonBinaryOperator()
12517 APFixedPoint RHSFX(Info.Ctx.getFixedPointSemantics(RHSTy)); in EvaluateComparisonBinaryOperator()
12531 if (LHSTy->isAnyComplexType() || RHSTy->isAnyComplexType()) { in EvaluateComparisonBinaryOperator()
12574 RHSTy->isRealFloatingType()) { in EvaluateComparisonBinaryOperator()
12609 if (LHSTy->isPointerType() && RHSTy->isPointerType()) { in EvaluateComparisonBinaryOperator()
12749 assert(RHSTy->isMemberPointerType() && "invalid comparison"); in EvaluateComparisonBinaryOperator()
12787 assert(RHSTy->isNullPtrType() && "missing pointer conversion"); in EvaluateComparisonBinaryOperator()
12883 QualType RHSTy = E->getRHS()->getType(); in VisitBinaryOperator() local
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8108 MVT RHSTy = RHS.getValueType().getSimpleVT(); in performConcatVectorsCombine() local
8110 if (!RHSTy.isVector()) in performConcatVectorsCombine()
8115 MVT ConcatTy = MVT::getVectorVT(RHSTy.getVectorElementType(), in performConcatVectorsCombine()
8116 RHSTy.getVectorNumElements() * 2); in performConcatVectorsCombine()
8119 DAG.getNode(ISD::BITCAST, dl, RHSTy, N0), in performConcatVectorsCombine()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp10411 MVT RHSTy = RHS.getValueType().getSimpleVT(); in performConcatVectorsCombine() local
10413 if (!RHSTy.isVector()) in performConcatVectorsCombine()
10419 MVT ConcatTy = MVT::getVectorVT(RHSTy.getVectorElementType(), in performConcatVectorsCombine()
10420 RHSTy.getVectorNumElements() * 2); in performConcatVectorsCombine()
10423 DAG.getNode(ISD::BITCAST, dl, RHSTy, N0), in performConcatVectorsCombine()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp12517 MVT RHSTy = RHS.getValueType().getSimpleVT(); in performConcatVectorsCombine() local
12519 if (!RHSTy.isVector()) in performConcatVectorsCombine()
12525 MVT ConcatTy = MVT::getVectorVT(RHSTy.getVectorElementType(), in performConcatVectorsCombine()
12526 RHSTy.getVectorNumElements() * 2); in performConcatVectorsCombine()
12529 DAG.getNode(ISD::BITCAST, dl, RHSTy, N0), in performConcatVectorsCombine()