| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 1172 ExprResult &RHS, QualType LHSType, in handleComplexConversion() argument 1175 if (!handleComplexIntegerToFloatConversion(S, RHS, LHS, RHSType, LHSType, in handleComplexConversion() 1177 return LHSType; in handleComplexConversion() 1178 if (!handleComplexIntegerToFloatConversion(S, LHS, RHS, LHSType, 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() 1227 ExprResult &RHS, QualType LHSType, in handleFloatConversion() argument 1229 bool LHSFloat = LHSType->isRealFloatingType(); in handleFloatConversion() 1235 if (LHSType->isFixedPointType() || RHSType->isFixedPointType()) { in handleFloatConversion() [all …]
|
| H A D | SemaHLSL.cpp | 881 Sema &SemaRef, ExprResult &LHS, ExprResult &RHS, QualType LHSType, in handleFloatVectorBinOpConversion() argument 889 return castElement<CK_FloatingCast>(SemaRef, RHS, LHSType); in handleFloatVectorBinOpConversion() 895 return castElement<CK_IntegralToFloating>(SemaRef, RHS, LHSType); in handleFloatVectorBinOpConversion() 899 return castElement<clang::CK_FloatingToIntegral>(SemaRef, RHS, LHSType); in handleFloatVectorBinOpConversion() 905 Sema &SemaRef, ExprResult &LHS, ExprResult &RHS, QualType LHSType, in handleIntegerVectorBinOpConversion() argument 916 return castElement<CK_IntegralCast>(SemaRef, RHS, LHSType); in handleIntegerVectorBinOpConversion() 925 return castElement<CK_IntegralCast>(SemaRef, RHS, LHSType); in handleIntegerVectorBinOpConversion() 934 return castElement<CK_IntegralCast>(SemaRef, RHS, LHSType); in handleIntegerVectorBinOpConversion() 946 return castElement<CK_IntegralCast>(SemaRef, RHS, LHSType); in handleIntegerVectorBinOpConversion() 970 QualType LHSType, in handleVectorBinOpConversion() argument [all …]
|
| H A D | SemaBoundsSafety.cpp | 336 QualType LHSType, Expr *RHSExpr) { in BoundsSafetyCheckInitialization() argument 351 *this, LHSType, RHSExpr, Action, SL, in BoundsSafetyCheckInitialization()
|
| H A D | SemaExprCXX.cpp | 5350 QualType LHSType = LHS.get()->getType(); in CheckPointerToMemberOperands() local 5352 if (const PointerType *Ptr = LHSType->getAs<PointerType>()) in CheckPointerToMemberOperands() 5353 LHSType = Ptr->getPointeeType(); in CheckPointerToMemberOperands() 5356 << OpSpelling << 1 << LHSType in CheckPointerToMemberOperands() 5361 CXXRecordDecl *LHSClass = LHSType->getAsCXXRecordDecl(); in CheckPointerToMemberOperands() 5365 if (RequireCompleteType(Loc, LHSType, diag::err_bad_memptr_lhs, in CheckPointerToMemberOperands() 5378 LHSType, QualType(RHSClass->getTypeForDecl(), 0), Loc, in CheckPointerToMemberOperands() 5385 LHSType.getQualifiers()); in CheckPointerToMemberOperands() 5406 Result = Context.getCVRQualifiedType(Result, LHSType.getCVRQualifiers()); in CheckPointerToMemberOperands() 5663 QualType LHSType = LHS.get()->getType(); in CheckVectorConditionalTypes() local [all …]
|
| H A D | SemaObjCProperty.cpp | 929 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in SelectPropertyForSynthesisFromProtocols() local 930 if (!S.Context.propertyTypesAreCompatible(LHSType, RHSType)) { in SelectPropertyForSynthesisFromProtocols() 933 if (!S.isObjCPointerConversion(RHSType, LHSType, ConvertedType, IncompatibleObjC) in SelectPropertyForSynthesisFromProtocols() 1677 QualType LHSType = 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 | 5458 QualType LHSType = TheCall->getArg(0)->getType(); in BuiltinShuffleVector() local 5461 if (!LHSType->isVectorType() || !RHSType->isVectorType()) in BuiltinShuffleVector() 5468 numElements = LHSType->castAs<VectorType>()->getNumElements(); in BuiltinShuffleVector() 5483 } else if (!Context.hasSameUnqualifiedType(LHSType, RHSType)) { in BuiltinShuffleVector() 5491 QualType eltType = LHSType->castAs<VectorType>()->getElementType(); in BuiltinShuffleVector() 14827 QualType LHSType; in checkUnsafeExprAssigns() local 14835 LHSType = PD->getType(); in checkUnsafeExprAssigns() 14838 if (LHSType.isNull()) in checkUnsafeExprAssigns() 14839 LHSType = LHS->getType(); in checkUnsafeExprAssigns() 14841 Qualifiers::ObjCLifetime LT = LHSType.getObjCLifetime(); in checkUnsafeExprAssigns() [all …]
|
| H A D | SemaCodeComplete.cpp | 477 QualType LHSType = LHS->getType(); in getPreferredTypeOfBinaryRHS() local 478 if (LHSType->isPointerType()) { in getPreferredTypeOfBinaryRHS() 483 return LHSType; in getPreferredTypeOfBinaryRHS() 518 if (LHSType->isIntegralOrEnumerationType()) in getPreferredTypeOfBinaryRHS() 533 if (LHSType->isIntegralOrEnumerationType()) in getPreferredTypeOfBinaryRHS() 534 return LHSType; in getPreferredTypeOfBinaryRHS()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | MatrixBuilder.h | 129 auto *LHSType = cast<VectorType>(LHS->getType()); variable 133 FixedVectorType::get(LHSType->getElementType(), LHSRows * RHSColumns); 137 Type *OverloadedTypes[] = {ReturnType, LHSType, RHSType};
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_handlers.cpp | 334 Value LHSVal(Data->LHSType, LHS); in handleShiftOutOfBoundsImpl() 339 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth()) in handleShiftOutOfBoundsImpl() 355 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType; in handleShiftOutOfBoundsImpl() 362 << LHSVal << RHSVal << Data->LHSType; in handleShiftOutOfBoundsImpl()
|
| H A D | ubsan_handlers.h | 75 const TypeDescriptor &LHSType; member
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | NaryReassociate.cpp | 406 Type *LHSType = SE->getEffectiveSCEVType(LHS->getType()); in tryReassociateGEPAtIndex() local 407 size_t LHSSize = DL->getTypeSizeInBits(LHSType).getFixedValue(); in tryReassociateGEPAtIndex()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaHLSL.h | 139 QualType LHSType, QualType RHSType,
|
| H A D | Sema.h | 2486 QualType LHSType, Expr *RHSExpr); 8011 QualType LHSType, 8017 AssignConvertType CheckAssignmentConstraints(QualType LHSType, 8036 QualType LHSType, ExprResult &RHS, bool Diagnose = true,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 446 Type *LHSType = LHSVal->getType(); in foldPHIArgBinOpIntoPHI() local 455 I->getOperand(0)->getType() != LHSType || in foldPHIArgBinOpIntoPHI() 482 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI()
|
| H A D | InstCombineCompares.cpp | 819 Type *LHSType = GEPLHS->getOperand(i)->getType(); in foldGEPICmp() local 822 if (LHSType->getPrimitiveSizeInBits() != in foldGEPICmp() 825 (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) { in foldGEPICmp()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Compiler.cpp | 1153 QualType LHSType = LHS->getType(); in VisitComplexBinOp() local 1154 if (const auto *AT = LHSType->getAs<AtomicType>()) in VisitComplexBinOp() 1155 LHSType = AT->getValueType(); in VisitComplexBinOp() 1160 bool LHSIsComplex = LHSType->isAnyComplexType(); in VisitComplexBinOp() 1168 assert(classifyPrim(LHSType->getAs<ComplexType>()->getElementType()) == in VisitComplexBinOp() 1171 classifyPrim(LHSType->getAs<ComplexType>()->getElementType()); in VisitComplexBinOp() 1217 if (LHSType->isAnyComplexType()) { in VisitComplexBinOp() 1224 PrimType LHST = classifyPrim(LHSType); in VisitComplexBinOp() 2571 QualType LHSType = LHS->getType(); in VisitFloatCompoundAssignOperator() local 2582 PrimType LHST = classifyPrim(LHSType); in VisitFloatCompoundAssignOperator()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 146 QualType LHSType = BinOp->getLHS()->getType(); in isFixedPointOp() local 148 return LHSType->isFixedPointType() || RHSType->isFixedPointType(); in isFixedPointOp()
|