Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExpr.cpp1031 ExprResult &RHS, QualType LHSType, in handleComplexFloatConversion() argument
1035 if (!handleIntegerToComplexFloatConversion(S, RHS, LHS, RHSType, LHSType, in handleComplexFloatConversion()
1037 return LHSType; in handleComplexFloatConversion()
1038 if (!handleIntegerToComplexFloatConversion(S, LHS, RHS, LHSType, RHSType, in handleComplexFloatConversion()
1054 int Order = S.Context.getFloatingTypeOrder(LHSType, RHSType); in handleComplexFloatConversion()
1056 auto *LHSComplexType = dyn_cast<ComplexType>(LHSType); in handleComplexFloatConversion()
1059 LHSComplexType ? LHSComplexType->getElementType() : LHSType; in handleComplexFloatConversion()
1118 ExprResult &RHS, QualType LHSType, in handleFloatConversion() argument
1120 bool LHSFloat = LHSType->isRealFloatingType(); in handleFloatConversion()
1126 int order = S.Context.getFloatingTypeOrder(LHSType, RHSType); in handleFloatConversion()
[all …]
DSemaObjCProperty.cpp838 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in DiagnosePropertyMismatchDeclInProtocols() local
839 if (!S.Context.propertyTypesAreCompatible(LHSType, RHSType)) { in DiagnosePropertyMismatchDeclInProtocols()
842 if (!S.isObjCPointerConversion(RHSType, LHSType, ConvertedType, IncompatibleObjC) in DiagnosePropertyMismatchDeclInProtocols()
1470 QualType LHSType = in DiagnosePropertyMismatch() local
1475 if (!Context.propertyTypesAreCompatible(LHSType, RHSType)) { in DiagnosePropertyMismatch()
1480 if (!isObjCPointerConversion(RHSType, LHSType, in DiagnosePropertyMismatch()
DSemaExprCXX.cpp4827 QualType LHSType = LHS.get()->getType(); in CheckPointerToMemberOperands() local
4829 if (const PointerType *Ptr = LHSType->getAs<PointerType>()) in CheckPointerToMemberOperands()
4830 LHSType = Ptr->getPointeeType(); in CheckPointerToMemberOperands()
4833 << OpSpelling << 1 << LHSType in CheckPointerToMemberOperands()
4839 if (!Context.hasSameUnqualifiedType(Class, LHSType)) { in CheckPointerToMemberOperands()
4841 if (RequireCompleteType(Loc, LHSType, diag::err_bad_memptr_lhs, in CheckPointerToMemberOperands()
4846 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands()
4853 if (CheckDerivedToBaseConversion(LHSType, Class, Loc, in CheckPointerToMemberOperands()
4879 Result = Context.getCVRQualifiedType(Result, LHSType.getCVRQualifiers()); in CheckPointerToMemberOperands()
DSemaChecking.cpp3394 QualType LHSType = TheCall->getArg(0)->getType(); in SemaBuiltinShuffleVector() local
3397 if (!LHSType->isVectorType() || !RHSType->isVectorType()) in SemaBuiltinShuffleVector()
3403 numElements = LHSType->getAs<VectorType>()->getNumElements(); in SemaBuiltinShuffleVector()
3416 } else if (!Context.hasSameUnqualifiedType(LHSType, RHSType)) { in SemaBuiltinShuffleVector()
3422 QualType eltType = LHSType->getAs<VectorType>()->getElementType(); in SemaBuiltinShuffleVector()
10246 QualType LHSType; in checkUnsafeExprAssigns() local
10254 LHSType = PD->getType(); in checkUnsafeExprAssigns()
10257 if (LHSType.isNull()) in checkUnsafeExprAssigns()
10258 LHSType = LHS->getType(); in checkUnsafeExprAssigns()
10260 Qualifiers::ObjCLifetime LT = LHSType.getObjCLifetime(); in checkUnsafeExprAssigns()
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc223 Value LHSVal(Data->LHSType, LHS); in handleShiftOutOfBoundsImpl()
228 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth()) in handleShiftOutOfBoundsImpl()
243 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType; in handleShiftOutOfBoundsImpl()
250 << LHSVal << RHSVal << Data->LHSType; in handleShiftOutOfBoundsImpl()
Dubsan_handlers.h65 const TypeDescriptor &LHSType; member
/external/llvm/lib/MC/
DELFObjectWriter.cpp85 unsigned LHSType = Symbol->getType(); in operator <() local
87 if (LHSType == ELF::STT_SECTION && RHSType != ELF::STT_SECTION) in operator <()
89 if (LHSType != ELF::STT_SECTION && RHSType == ELF::STT_SECTION) in operator <()
91 if (LHSType == ELF::STT_SECTION && RHSType == ELF::STT_SECTION) in operator <()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp35 Type *LHSType = LHSVal->getType(); in FoldPHIArgBinOpIntoPHI() local
44 I->getOperand(0)->getType() != LHSType || in FoldPHIArgBinOpIntoPHI()
71 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DELFObjectWriter.cpp124 unsigned LHSType = Symbol->getType(); in operator <() local
126 if (LHSType == ELF::STT_SECTION && RHSType != ELF::STT_SECTION) in operator <()
128 if (LHSType != ELF::STT_SECTION && RHSType == ELF::STT_SECTION) in operator <()
130 if (LHSType == ELF::STT_SECTION && RHSType == ELF::STT_SECTION) in operator <()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp302 Type *LHSType = LHSVal->getType(); in FoldPHIArgBinOpIntoPHI() local
311 I->getOperand(0)->getType() != LHSType || in FoldPHIArgBinOpIntoPHI()
338 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
DInstCombineCompares.cpp980 Type *LHSType = GEPLHS->getOperand(i)->getType(); in foldGEPICmp() local
983 if (LHSType->getPrimitiveSizeInBits() != in foldGEPICmp()
986 (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) { in foldGEPICmp()
/external/clang/include/clang/Sema/
DSema.h8705 QualType LHSType,
8711 AssignConvertType CheckAssignmentConstraints(QualType LHSType,
8720 AssignConvertType CheckSingleAssignmentConstraints(QualType LHSType,