Home
last modified time | relevance | path

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

/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/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.cpp1400 RecTy *RHSTy = nullptr; in ParseOperation() local
1410 RHSTy = RHSt->getType(); in ParseOperation()
1412 RHSTy = BitsRecTy::get(RHSbits->getNumBits()); in ParseOperation()
1414 RHSTy = BitRecTy::get(); in ParseOperation()
1418 MHSTy = RHSTy; in ParseOperation()
1420 RHSTy = MHSTy; in ParseOperation()
1422 if (!MHSTy || !RHSTy) { in ParseOperation()
1427 Type = resolveTypes(MHSTy, RHSTy); in ParseOperation()
1430 "' and '" + RHSTy->getAsString() + "' for !if"); in ParseOperation()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGParser.cpp930 RecTy *RHSTy = 0; in ParseOperation() local
951 RHSTy = RHSt->getType(); in ParseOperation()
954 if (!MHSTy || !RHSTy) { in ParseOperation()
959 if (MHSTy->typeIsConvertibleTo(RHSTy)) { in ParseOperation()
960 Type = RHSTy; in ParseOperation()
961 } else if (RHSTy->typeIsConvertibleTo(MHSTy)) { in ParseOperation()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1899 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in isVectorPromotionViable() argument
1901 assert(DL.getTypeSizeInBits(RHSTy) == DL.getTypeSizeInBits(LHSTy) && in isVectorPromotionViable()
1903 assert(RHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
1907 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/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/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-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp9272 MVT RHSTy = RHS.getValueType().getSimpleVT(); in performConcatVectorsCombine() local
9274 if (!RHSTy.isVector()) in performConcatVectorsCombine()
9280 MVT ConcatTy = MVT::getVectorVT(RHSTy.getVectorElementType(), in performConcatVectorsCombine()
9281 RHSTy.getVectorNumElements() * 2); in performConcatVectorsCombine()
9284 DAG.getNode(ISD::BITCAST, dl, RHSTy, N0), in performConcatVectorsCombine()