Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1145 ExprResult &RHS, QualType LHSType, in handleComplexConversion() argument
1148 if (!handleComplexIntegerToFloatConversion(S, RHS, LHS, RHSType, LHSType, in handleComplexConversion()
1150 return LHSType; in handleComplexConversion()
1151 if (!handleComplexIntegerToFloatConversion(S, LHS, RHS, LHSType, 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()
1200 ExprResult &RHS, QualType LHSType, in handleFloatConversion() argument
1202 bool LHSFloat = LHSType->isRealFloatingType(); in handleFloatConversion()
1208 if (LHSType->isFixedPointType() || RHSType->isFixedPointType()) { in handleFloatConversion()
[all …]
H A DSemaExprCXX.cpp6346 QualType LHSType = LHS.get()->getType(); in CheckPointerToMemberOperands() local
6348 if (const PointerType *Ptr = LHSType->getAs<PointerType>()) in CheckPointerToMemberOperands()
6349 LHSType = Ptr->getPointeeType(); in CheckPointerToMemberOperands()
6352 << OpSpelling << 1 << LHSType in CheckPointerToMemberOperands()
6358 if (!Context.hasSameUnqualifiedType(Class, LHSType)) { in CheckPointerToMemberOperands()
6360 if (RequireCompleteType(Loc, LHSType, diag::err_bad_memptr_lhs, in CheckPointerToMemberOperands()
6365 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands()
6373 LHSType, Class, Loc, in CheckPointerToMemberOperands()
6379 QualType UseType = Context.getQualifiedType(Class, LHSType.getQualifiers()); in CheckPointerToMemberOperands()
6400 Result = Context.getCVRQualifiedType(Result, LHSType.getCVRQualifiers()); in CheckPointerToMemberOperands()
[all …]
H A DSemaObjCProperty.cpp928 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in SelectPropertyForSynthesisFromProtocols() local
929 if (!S.Context.propertyTypesAreCompatible(LHSType, RHSType)) { in SelectPropertyForSynthesisFromProtocols()
932 if (!S.isObjCPointerConversion(RHSType, LHSType, ConvertedType, IncompatibleObjC) in SelectPropertyForSynthesisFromProtocols()
1667 QualType LHSType = in DiagnosePropertyMismatch() local
1672 if (!Context.propertyTypesAreCompatible(LHSType, RHSType)) { in DiagnosePropertyMismatch()
1677 if (!SemaRef.isObjCPointerConversion(RHSType, LHSType, ConvertedType, in DiagnosePropertyMismatch()
H A DSemaChecking.cpp4994 QualType LHSType = TheCall->getArg(0)->getType(); in BuiltinShuffleVector() local
4997 if (!LHSType->isVectorType() || !RHSType->isVectorType()) in BuiltinShuffleVector()
5004 numElements = LHSType->castAs<VectorType>()->getNumElements(); in BuiltinShuffleVector()
5019 } else if (!Context.hasSameUnqualifiedType(LHSType, RHSType)) { in BuiltinShuffleVector()
5027 QualType eltType = LHSType->castAs<VectorType>()->getElementType(); in BuiltinShuffleVector()
13394 QualType LHSType; in checkUnsafeExprAssigns() local
13402 LHSType = PD->getType(); in checkUnsafeExprAssigns()
13405 if (LHSType.isNull()) in checkUnsafeExprAssigns()
13406 LHSType = LHS->getType(); in checkUnsafeExprAssigns()
13408 Qualifiers::ObjCLifetime LT = LHSType.getObjCLifetime(); in checkUnsafeExprAssigns()
[all …]
H A DSemaCodeComplete.cpp476 QualType LHSType = LHS->getType(); in getPreferredTypeOfBinaryRHS() local
477 if (LHSType->isPointerType()) { in getPreferredTypeOfBinaryRHS()
482 return LHSType; in getPreferredTypeOfBinaryRHS()
517 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 DMatrixBuilder.h129 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 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
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp995 QualType LHSType = LHS->getType(); in VisitComplexBinOp() local
996 if (const auto *AT = LHSType->getAs<AtomicType>()) in VisitComplexBinOp()
997 LHSType = AT->getValueType(); in VisitComplexBinOp()
1002 bool LHSIsComplex = LHSType->isAnyComplexType(); in VisitComplexBinOp()
1010 assert(classifyPrim(LHSType->getAs<ComplexType>()->getElementType()) == in VisitComplexBinOp()
1013 classifyPrim(LHSType->getAs<ComplexType>()->getElementType()); in VisitComplexBinOp()
1059 if (LHSType->isAnyComplexType()) { in VisitComplexBinOp()
1066 PrimType LHST = classifyPrim(LHSType); in VisitComplexBinOp()
1991 QualType LHSType = LHS->getType(); in VisitFloatCompoundAssignOperator() local
2002 PrimType LHST = classifyPrim(LHSType); in VisitFloatCompoundAssignOperator()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp414 Type *LHSType = LHSVal->getType(); in foldPHIArgBinOpIntoPHI() local
423 I->getOperand(0)->getType() != LHSType || in foldPHIArgBinOpIntoPHI()
450 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI()
H A DInstCombineCompares.cpp793 Type *LHSType = GEPLHS->getOperand(i)->getType(); in foldGEPICmp() local
796 if (LHSType->getPrimitiveSizeInBits() != in foldGEPICmp()
799 (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) { in foldGEPICmp()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7679 QualType LHSType,
7685 AssignConvertType CheckAssignmentConstraints(QualType LHSType,
7704 QualType LHSType, ExprResult &RHS, bool Diagnose = true,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp142 QualType LHSType = BinOp->getLHS()->getType(); in isFixedPointOp() local
144 return LHSType->isFixedPointType() || RHSType->isFixedPointType(); in isFixedPointOp()