Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp1112 return LHSType; in handleComplexFloatConversion()
1542 QualType LHSType = in UsualArithmeticConversions() local
1553 return LHSType; in UsualArithmeticConversions()
1563 LHSType = Context.getPromotedIntegerType(LHSType); in UsualArithmeticConversions()
1572 return LHSType; in UsualArithmeticConversions()
9512 LHSType = Context.getCanonicalType(LHSType).getUnqualifiedType(); in CheckAssignmentConstraints()
9942 if (!LHSType->isRecordType() && !LHSType->isAtomicType()) { in CheckSingleAssignmentConstraints()
10656 if ((!LHSType->isVLSTBuiltinType() && !LHSType->isRealType()) || in CheckSizelessVectorOperands()
11601 return LHSType; in checkVectorShift()
11692 return LHSType; in checkSizelessVectorShift()
[all …]
H A DSemaExprCXX.cpp5865 << OpSpelling << 1 << LHSType in CheckPointerToMemberOperands()
5886 LHSType, Class, Loc, in CheckPointerToMemberOperands()
6188 << LHSType << RHSType; in CheckVectorConditionalTypes()
6191 ResultType = LHSType; in CheckVectorConditionalTypes()
6203 LHSType = LHSType.getCanonicalType().getUnqualifiedType(); in CheckVectorConditionalTypes()
6207 ResultElementTy = LHSType; in CheckVectorConditionalTypes()
6266 LHSType->isVLSTBuiltinType() ? LHSType->getAs<BuiltinType>() : nullptr; in CheckSizelessVectorConditionalTypes()
6277 << LHSType << RHSType; in CheckSizelessVectorConditionalTypes()
6280 ResultType = LHSType; in CheckSizelessVectorConditionalTypes()
6289 LHSType = LHSType.getCanonicalType().getUnqualifiedType(); in CheckSizelessVectorConditionalTypes()
[all …]
H A DSemaObjCProperty.cpp943 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in SelectPropertyForSynthesisFromProtocols() local
944 if (!S.Context.propertyTypesAreCompatible(LHSType, RHSType)) { in SelectPropertyForSynthesisFromProtocols()
947 if (!S.isObjCPointerConversion(RHSType, LHSType, ConvertedType, IncompatibleObjC) in SelectPropertyForSynthesisFromProtocols()
1689 QualType LHSType = in DiagnosePropertyMismatch() local
1694 if (!Context.propertyTypesAreCompatible(LHSType, RHSType)) { in DiagnosePropertyMismatch()
1699 if (!isObjCPointerConversion(RHSType, LHSType, in DiagnosePropertyMismatch()
H A DSemaChecking.cpp7451 QualType LHSType = TheCall->getArg(0)->getType(); in SemaBuiltinShuffleVector() local
7454 if (!LHSType->isVectorType() || !RHSType->isVectorType()) in SemaBuiltinShuffleVector()
7461 numElements = LHSType->castAs<VectorType>()->getNumElements(); in SemaBuiltinShuffleVector()
7475 } else if (!Context.hasSameUnqualifiedType(LHSType, RHSType)) { in SemaBuiltinShuffleVector()
16680 QualType LHSType; in checkUnsafeExprAssigns() local
16688 LHSType = PD->getType(); in checkUnsafeExprAssigns()
16691 if (LHSType.isNull()) in checkUnsafeExprAssigns()
16692 LHSType = LHS->getType(); in checkUnsafeExprAssigns()
16694 Qualifiers::ObjCLifetime LT = LHSType.getObjCLifetime(); in checkUnsafeExprAssigns()
16701 if (checkUnsafeAssigns(Loc, LHSType, RHS)) in checkUnsafeExprAssigns()
[all …]
H A DSemaCodeComplete.cpp451 QualType LHSType = LHS->getType(); in getPreferredTypeOfBinaryRHS() local
452 if (LHSType->isPointerType()) { in getPreferredTypeOfBinaryRHS()
457 return LHSType; in getPreferredTypeOfBinaryRHS()
492 if (LHSType->isIntegralOrEnumerationType()) in getPreferredTypeOfBinaryRHS()
508 if (LHSType->isIntegralOrEnumerationType()) in getPreferredTypeOfBinaryRHS()
509 return LHSType; in getPreferredTypeOfBinaryRHS()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DEasilySwappableParametersCheck.cpp2028 QualType LHSType, RHSType; member
2031 return (LHSType == Other.LHSType && RHSType == Other.RHSType) || in operator ==()
2032 (LHSType == Other.RHSType && RHSType == Other.LHSType); in operator ==()
2036 return LHSType < Other.LHSType && RHSType < Other.RHSType; in operator <()
2041 QualType LHSType, RHSType, CommonType; member
2045 ((LHSType == Other.LHSType && RHSType == Other.RHSType) || in operator ==()
2046 (LHSType == Other.RHSType && RHSType == Other.LHSType)); in operator ==()
2050 return CommonType < Other.CommonType && LHSType < Other.LHSType && in operator <()
2063 bool operator()(QualType LHSType, QualType RHSType, QualType CommonType) { in operator ()() argument
2065 return Base::operator()({LHSType, RHSType, {}}); in operator ()()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DMatrixBuilder.h129 auto *LHSType = cast<VectorType>(LHS->getType()); variable
133 FixedVectorType::get(LHSType->getElementType(), LHSRows * RHSColumns);
137 Type *OverloadedTypes[] = {ReturnType, LHSType, RHSType};
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cpp334 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 Dubsan_handlers.h75 const TypeDescriptor &LHSType; member
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DIslExprBuilder.cpp368 Type *LHSType = LHS->getType(); in createOpBin() local
371 MaxType = getWidestType(LHSType, RHSType); in createOpBin()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp407 Type *LHSType = LHSVal->getType(); in foldPHIArgBinOpIntoPHI() local
416 I->getOperand(0)->getType() != LHSType || in foldPHIArgBinOpIntoPHI()
443 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI()
H A DInstCombineCompares.cpp966 Type *LHSType = GEPLHS->getOperand(i)->getType(); in foldGEPICmp() local
969 if (LHSType->getPrimitiveSizeInBits() != in foldGEPICmp()
972 (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) { in foldGEPICmp()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp137 QualType LHSType = BinOp->getLHS()->getType(); in isFixedPointOp() local
139 return LHSType->isFixedPointType() || RHSType->isFixedPointType(); in isFixedPointOp()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h12089 QualType LHSType,
12095 AssignConvertType CheckAssignmentConstraints(QualType LHSType,
12115 QualType LHSType, ExprResult &RHS, bool Diagnose = true,