/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 1055 ExprResult &RHS, QualType LHSType, in handleComplexFloatConversion() argument 1059 if (!handleIntegerToComplexFloatConversion(S, RHS, LHS, RHSType, LHSType, in handleComplexFloatConversion() 1061 return LHSType; in handleComplexFloatConversion() 1062 if (!handleIntegerToComplexFloatConversion(S, LHS, RHS, LHSType, RHSType, in handleComplexFloatConversion() 1078 int Order = S.Context.getFloatingTypeOrder(LHSType, RHSType); in handleComplexFloatConversion() 1080 auto *LHSComplexType = dyn_cast<ComplexType>(LHSType); in handleComplexFloatConversion() 1083 LHSComplexType ? LHSComplexType->getElementType() : LHSType; in handleComplexFloatConversion() 1142 ExprResult &RHS, QualType LHSType, in handleFloatConversion() argument 1144 bool LHSFloat = LHSType->isRealFloatingType(); in handleFloatConversion() 1150 if (LHSType->isFixedPointType() || RHSType->isFixedPointType()) { in handleFloatConversion() [all …]
|
D | SemaExprCXX.cpp | 5636 QualType LHSType = LHS.get()->getType(); in CheckPointerToMemberOperands() local 5638 if (const PointerType *Ptr = LHSType->getAs<PointerType>()) in CheckPointerToMemberOperands() 5639 LHSType = Ptr->getPointeeType(); in CheckPointerToMemberOperands() 5642 << OpSpelling << 1 << LHSType in CheckPointerToMemberOperands() 5648 if (!Context.hasSameUnqualifiedType(Class, LHSType)) { in CheckPointerToMemberOperands() 5650 if (RequireCompleteType(Loc, LHSType, diag::err_bad_memptr_lhs, in CheckPointerToMemberOperands() 5655 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands() 5663 LHSType, Class, Loc, in CheckPointerToMemberOperands() 5669 QualType UseType = Context.getQualifiedType(Class, LHSType.getQualifiers()); in CheckPointerToMemberOperands() 5690 Result = Context.getCVRQualifiedType(Result, LHSType.getCVRQualifiers()); in CheckPointerToMemberOperands() [all …]
|
D | SemaObjCProperty.cpp | 950 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in SelectPropertyForSynthesisFromProtocols() local 951 if (!S.Context.propertyTypesAreCompatible(LHSType, RHSType)) { in SelectPropertyForSynthesisFromProtocols() 954 if (!S.isObjCPointerConversion(RHSType, LHSType, ConvertedType, IncompatibleObjC) in SelectPropertyForSynthesisFromProtocols() 1698 QualType LHSType = in DiagnosePropertyMismatch() local 1703 if (!Context.propertyTypesAreCompatible(LHSType, RHSType)) { in DiagnosePropertyMismatch() 1708 if (!isObjCPointerConversion(RHSType, LHSType, in DiagnosePropertyMismatch()
|
D | SemaChecking.cpp | 6088 QualType LHSType = TheCall->getArg(0)->getType(); in SemaBuiltinShuffleVector() local 6091 if (!LHSType->isVectorType() || !RHSType->isVectorType()) in SemaBuiltinShuffleVector() 6098 numElements = LHSType->castAs<VectorType>()->getNumElements(); in SemaBuiltinShuffleVector() 6112 } else if (!Context.hasSameUnqualifiedType(LHSType, RHSType)) { in SemaBuiltinShuffleVector() 6119 QualType eltType = LHSType->castAs<VectorType>()->getElementType(); in SemaBuiltinShuffleVector() 14962 QualType LHSType; in checkUnsafeExprAssigns() local 14970 LHSType = PD->getType(); in checkUnsafeExprAssigns() 14973 if (LHSType.isNull()) in checkUnsafeExprAssigns() 14974 LHSType = LHS->getType(); in checkUnsafeExprAssigns() 14976 Qualifiers::ObjCLifetime LT = LHSType.getObjCLifetime(); in checkUnsafeExprAssigns() [all …]
|
D | SemaCodeComplete.cpp | 427 QualType LHSType = LHS->getType(); in getPreferredTypeOfBinaryRHS() local 428 if (LHSType->isPointerType()) { in getPreferredTypeOfBinaryRHS() 433 return LHSType; in getPreferredTypeOfBinaryRHS() 468 if (LHSType->isIntegralOrEnumerationType()) in getPreferredTypeOfBinaryRHS() 484 if (LHSType->isIntegralOrEnumerationType()) in getPreferredTypeOfBinaryRHS() 485 return LHSType; in getPreferredTypeOfBinaryRHS()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 1031 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 …]
|
D | SemaObjCProperty.cpp | 838 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()
|
D | SemaExprCXX.cpp | 4827 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()
|
D | SemaChecking.cpp | 3394 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/llvm-project/llvm/include/llvm/IR/ |
D | MatrixBuilder.h | 133 auto *LHSType = cast<VectorType>(LHS->getType()); variable 137 FixedVectorType::get(LHSType->getElementType(), LHSRows * RHSColumns); 141 Type *OverloadedTypes[] = {ReturnType, LHSType, RHSType};
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 223 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()
|
D | ubsan_handlers.h | 65 const TypeDescriptor &LHSType; member
|
/external/llvm-project/compiler-rt/lib/ubsan/ |
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()
|
D | ubsan_handlers.h | 75 const TypeDescriptor &LHSType; member
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 35 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/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 85 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 302 Type *LHSType = LHSVal->getType(); in FoldPHIArgBinOpIntoPHI() local 311 I->getOperand(0)->getType() != LHSType || in FoldPHIArgBinOpIntoPHI() 338 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
|
D | InstCombineCompares.cpp | 980 Type *LHSType = GEPLHS->getOperand(i)->getType(); in foldGEPICmp() local 983 if (LHSType->getPrimitiveSizeInBits() != in foldGEPICmp() 986 (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) { in foldGEPICmp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 124 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/llvm-project/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 124 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/llvm-project/polly/lib/CodeGen/ |
D | IslExprBuilder.cpp | 365 Type *LHSType = LHS->getType(); in createOpBin() local 368 MaxType = getWidestType(LHSType, RHSType); in createOpBin()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 388 Type *LHSType = LHSVal->getType(); in foldPHIArgBinOpIntoPHI() local 397 I->getOperand(0)->getType() != LHSType || in foldPHIArgBinOpIntoPHI() 424 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI()
|
D | InstCombineCompares.cpp | 982 Type *LHSType = GEPLHS->getOperand(i)->getType(); in foldGEPICmp() local 985 if (LHSType->getPrimitiveSizeInBits() != in foldGEPICmp() 988 (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) { in foldGEPICmp()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 8705 QualType LHSType, 8711 AssignConvertType CheckAssignmentConstraints(QualType LHSType, 8720 AssignConvertType CheckSingleAssignmentConstraints(QualType LHSType,
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 141 QualType LHSType = BinOp->getLHS()->getType(); in isFixedPointOp() local 143 return LHSType->isFixedPointType() || RHSType->isFixedPointType(); in isFixedPointOp()
|