| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 1173 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 D | SemaHLSL.cpp | 882 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 D | SemaExprCXX.cpp | 5330 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 D | SemaObjCProperty.cpp | 864 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 D | SemaChecking.cpp | 5459 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 D | MatrixBuilder.h | 130 auto *RHSType = cast<VectorType>(RHS->getType()); variable 137 Type *OverloadedTypes[] = {ReturnType, LHSType, RHSType};
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_handlers.h | 76 const TypeDescriptor &RHSType; member
|
| H A D | ubsan_handlers.cpp | 335 Value RHSVal(Data->RHSType, RHS); in handleShiftOutOfBoundsImpl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaHLSL.h | 139 QualType LHSType, QualType RHSType,
|
| H A D | Sema.h | 8012 QualType RHSType);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 447 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 D | InstCombineCompares.cpp | 820 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 D | Compiler.cpp | 1156 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 D | CGExprScalar.cpp | 147 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()
|