Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1146 QualType RHSType, bool IsCompAssign) { in handleComplexConversion() argument
1148 if (!handleComplexIntegerToFloatConversion(S, RHS, LHS, RHSType, LHSType, in handleComplexConversion()
1151 if (!handleComplexIntegerToFloatConversion(S, LHS, RHS, LHSType, RHSType, in handleComplexConversion()
1153 return RHSType; in handleComplexConversion()
1156 int Order = S.Context.getFloatingTypeOrder(LHSType, RHSType); in handleComplexConversion()
1159 return handleComplexFloatConversion(S, LHS, LHSType, RHSType, in handleComplexConversion()
1162 return handleComplexFloatConversion(S, RHS, RHSType, LHSType, in handleComplexConversion()
1201 QualType RHSType, bool IsCompAssign) { in handleFloatConversion() argument
1203 bool RHSFloat = RHSType->isRealFloatingType(); in handleFloatConversion()
1208 if (LHSType->isFixedPointType() || RHSType->isFixedPointType()) { in handleFloatConversion()
[all …]
H A DSemaExprCXX.cpp6326 QualType RHSType = RHS.get()->getType(); in CheckPointerToMemberOperands() local
6327 const MemberPointerType *MemPtr = RHSType->getAs<MemberPointerType>(); in CheckPointerToMemberOperands()
6330 << OpSpelling << RHSType << RHS.get()->getSourceRange(); in CheckPointerToMemberOperands()
6424 << RHSType << 1 << LHS.get()->getSourceRange(); in CheckPointerToMemberOperands()
6431 << RHSType << 0 << LHS.get()->getSourceRange(); in CheckPointerToMemberOperands()
6659 QualType RHSType = RHS.get()->getType(); in CheckVectorConditionalTypes() local
6660 const auto *RHSVT = RHSType->getAs<VectorType>(); in CheckVectorConditionalTypes()
6673 if (!Context.hasSameType(LHSType, RHSType)) { in CheckVectorConditionalTypes()
6675 << LHSType << RHSType; in CheckVectorConditionalTypes()
6678 ResultType = Context.getCommonSugaredType(LHSType, RHSType); in CheckVectorConditionalTypes()
[all …]
H A DSemaObjCProperty.cpp863 QualType RHSType = S.Context.getCanonicalType(Property->getType()); in SelectPropertyForSynthesisFromProtocols() local
929 if (!S.Context.propertyTypesAreCompatible(LHSType, RHSType)) { in SelectPropertyForSynthesisFromProtocols()
932 if (!S.isObjCPointerConversion(RHSType, LHSType, ConvertedType, IncompatibleObjC) in SelectPropertyForSynthesisFromProtocols()
1669 QualType RHSType = in DiagnosePropertyMismatch() local
1672 if (!Context.propertyTypesAreCompatible(LHSType, RHSType)) { in DiagnosePropertyMismatch()
1677 if (!SemaRef.isObjCPointerConversion(RHSType, LHSType, ConvertedType, in DiagnosePropertyMismatch()
H A DSemaChecking.cpp4995 QualType RHSType = TheCall->getArg(1)->getType(); in BuiltinShuffleVector() local
4997 if (!LHSType->isVectorType() || !RHSType->isVectorType()) in BuiltinShuffleVector()
5011 if (!RHSType->hasIntegerRepresentation() || in BuiltinShuffleVector()
5012 RHSType->castAs<VectorType>()->getNumElements() != numElements) in BuiltinShuffleVector()
5019 } 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/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp415 Type *RHSType = RHSVal->getType(); in foldPHIArgBinOpIntoPHI() local
424 I->getOperand(1)->getType() != RHSType) in foldPHIArgBinOpIntoPHI()
458 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI()
H A DInstCombineCompares.cpp794 Type *RHSType = GEPRHS->getOperand(i)->getType(); in foldGEPICmp() local
797 RHSType->getPrimitiveSizeInBits() || in foldGEPICmp()
799 (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) { in foldGEPICmp()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp998 QualType RHSType = RHS->getType(); in VisitComplexBinOp() local
999 if (const auto *AT = RHSType->getAs<AtomicType>()) in VisitComplexBinOp()
1000 RHSType = AT->getValueType(); in VisitComplexBinOp()
1004 bool RHSIsComplex = RHSType->isAnyComplexType(); in VisitComplexBinOp()
1011 classifyPrim(RHSType->getAs<ComplexType>()->getElementType())); in VisitComplexBinOp()
1022 QualType ElemQT = RHSType->getAs<ComplexType>()->getElementType(); in VisitComplexBinOp()
1076 if (RHSType->isAnyComplexType()) { in VisitComplexBinOp()
1083 PrimType RHST = classifyPrim(RHSType); in VisitComplexBinOp()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp143 QualType RHSType = BinOp->getRHS()->getType(); in isFixedPointOp() local
144 return LHSType->isFixedPointType() || RHSType->isFixedPointType(); in isFixedPointOp()
154 QualType RHSType = BinOp->getRHS()->getType(); in rhsHasSignedIntegerRepresentation() local
155 return RHSType->hasSignedIntegerRepresentation(); in rhsHasSignedIntegerRepresentation()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7680 QualType RHSType);