Home
last modified time | relevance | path

Searched refs:RHSType (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1173 QualType RHSType, bool IsCompAssign) { in handleComplexConversion() argument
1175 if (!handleComplexIntegerToFloatConversion(S, RHS, LHS, RHSType, LHSType, in handleComplexConversion()
1178 if (!handleComplexIntegerToFloatConversion(S, LHS, RHS, LHSType, RHSType, in handleComplexConversion()
1180 return RHSType; in handleComplexConversion()
1183 int Order = S.Context.getFloatingTypeOrder(LHSType, RHSType); in handleComplexConversion()
1186 return handleComplexFloatConversion(S, LHS, LHSType, RHSType, in handleComplexConversion()
1189 return handleComplexFloatConversion(S, RHS, RHSType, LHSType, in handleComplexConversion()
1228 QualType RHSType, bool IsCompAssign) { in handleFloatConversion() argument
1230 bool RHSFloat = RHSType->isRealFloatingType(); in handleFloatConversion()
1235 if (LHSType->isFixedPointType() || RHSType->isFixedPointType()) { in handleFloatConversion()
[all …]
H A DSemaHLSL.cpp882 QualType RHSType, QualType LElTy, QualType RElTy, bool IsCompAssign) { in handleFloatVectorBinOpConversion() argument
891 return castElement<CK_FloatingCast>(SemaRef, LHS, RHSType); in handleFloatVectorBinOpConversion()
901 return castElement<CK_IntegralToFloating>(SemaRef, LHS, RHSType); in handleFloatVectorBinOpConversion()
906 QualType RHSType, QualType LElTy, QualType RElTy, bool IsCompAssign) { in handleIntegerVectorBinOpConversion() argument
918 return castElement<CK_IntegralCast>(SemaRef, LHS, RHSType); in handleIntegerVectorBinOpConversion()
926 return castElement<CK_IntegralCast>(SemaRef, LHS, RHSType); in handleIntegerVectorBinOpConversion()
935 return castElement<CK_IntegralCast>(SemaRef, LHS, RHSType); in handleIntegerVectorBinOpConversion()
951 ElTy, RHSType->castAs<VectorType>()->getNumElements()); in handleIntegerVectorBinOpConversion()
971 QualType RHSType, in handleVectorBinOpConversion() argument
974 const auto *RVecTy = RHSType->getAs<VectorType>(); in handleVectorBinOpConversion()
[all …]
H A DSemaExprCXX.cpp5330 QualType RHSType = RHS.get()->getType(); in CheckPointerToMemberOperands() local
5331 const MemberPointerType *MemPtr = RHSType->getAs<MemberPointerType>(); in CheckPointerToMemberOperands()
5334 << OpSpelling << RHSType << RHS.get()->getSourceRange(); in CheckPointerToMemberOperands()
5430 << RHSType << 1 << LHS.get()->getSourceRange(); in CheckPointerToMemberOperands()
5437 << RHSType << 0 << LHS.get()->getSourceRange(); in CheckPointerToMemberOperands()
5665 QualType RHSType = RHS.get()->getType(); in CheckVectorConditionalTypes() local
5666 const auto *RHSVT = RHSType->getAs<VectorType>(); in CheckVectorConditionalTypes()
5679 if (!Context.hasSameType(LHSType, RHSType)) { in CheckVectorConditionalTypes()
5681 << LHSType << RHSType; in CheckVectorConditionalTypes()
5684 ResultType = Context.getCommonSugaredType(LHSType, RHSType); in CheckVectorConditionalTypes()
[all …]
H A DSemaObjCProperty.cpp864 QualType RHSType = S.Context.getCanonicalType(Property->getType()); in SelectPropertyForSynthesisFromProtocols() local
930 if (!S.Context.propertyTypesAreCompatible(LHSType, RHSType)) { in SelectPropertyForSynthesisFromProtocols()
933 if (!S.isObjCPointerConversion(RHSType, LHSType, ConvertedType, IncompatibleObjC) in SelectPropertyForSynthesisFromProtocols()
1679 QualType RHSType = in DiagnosePropertyMismatch() local
1682 if (!Context.propertyTypesAreCompatible(LHSType, RHSType)) { in DiagnosePropertyMismatch()
1687 if (!SemaRef.isObjCPointerConversion(RHSType, LHSType, ConvertedType, in DiagnosePropertyMismatch()
H A DSemaChecking.cpp5459 QualType RHSType = TheCall->getArg(1)->getType(); in BuiltinShuffleVector() local
5461 if (!LHSType->isVectorType() || !RHSType->isVectorType()) in BuiltinShuffleVector()
5475 if (!RHSType->hasIntegerRepresentation() || in BuiltinShuffleVector()
5476 RHSType->castAs<VectorType>()->getNumElements() != numElements) in BuiltinShuffleVector()
5483 } else if (!Context.hasSameUnqualifiedType(LHSType, RHSType)) { in BuiltinShuffleVector()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h130 auto *RHSType = cast<VectorType>(RHS->getType()); variable
137 Type *OverloadedTypes[] = {ReturnType, LHSType, RHSType};
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h76 const TypeDescriptor &RHSType; member
H A Dubsan_handlers.cpp335 Value RHSVal(Data->RHSType, RHS); in handleShiftOutOfBoundsImpl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaHLSL.h139 QualType LHSType, QualType RHSType,
H A DSema.h8012 QualType RHSType);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp447 Type *RHSType = RHSVal->getType(); in foldPHIArgBinOpIntoPHI() local
456 I->getOperand(1)->getType() != RHSType) in foldPHIArgBinOpIntoPHI()
490 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI()
H A DInstCombineCompares.cpp820 Type *RHSType = GEPRHS->getOperand(i)->getType(); in foldGEPICmp() local
823 RHSType->getPrimitiveSizeInBits() || in foldGEPICmp()
825 (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) { in foldGEPICmp()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.cpp1156 QualType RHSType = RHS->getType(); in VisitComplexBinOp() local
1157 if (const auto *AT = RHSType->getAs<AtomicType>()) in VisitComplexBinOp()
1158 RHSType = AT->getValueType(); in VisitComplexBinOp()
1162 bool RHSIsComplex = RHSType->isAnyComplexType(); in VisitComplexBinOp()
1169 classifyPrim(RHSType->getAs<ComplexType>()->getElementType())); in VisitComplexBinOp()
1180 QualType ElemQT = RHSType->getAs<ComplexType>()->getElementType(); in VisitComplexBinOp()
1234 if (RHSType->isAnyComplexType()) { in VisitComplexBinOp()
1241 PrimType RHST = classifyPrim(RHSType); in VisitComplexBinOp()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp147 QualType RHSType = BinOp->getRHS()->getType(); in isFixedPointOp() local
148 return LHSType->isFixedPointType() || RHSType->isFixedPointType(); in isFixedPointOp()
158 QualType RHSType = BinOp->getRHS()->getType(); in rhsHasSignedIntegerRepresentation() local
159 return RHSType->hasSignedIntegerRepresentation(); in rhsHasSignedIntegerRepresentation()