Home
last modified time | relevance | path

Searched refs:OldTy (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp261 const ObjCObjectPointerType *OldTy = in getBetterObjCType() local
263 if (!OldTy) in getBetterObjCType()
267 if (OldTy->isObjCIdType() && !NewTy->isObjCIdType()) in getBetterObjCType()
272 const ObjCInterfaceDecl *FromI = OldTy->getInterfaceDecl(); in getBetterObjCType()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1846 static bool canConvertValue(const DataLayout &DL, Type *OldTy, Type *NewTy) { in canConvertValue() argument
1847 if (OldTy == NewTy) in canConvertValue()
1849 if (IntegerType *OldITy = dyn_cast<IntegerType>(OldTy)) in canConvertValue()
1853 if (DL.getTypeSizeInBits(NewTy) != DL.getTypeSizeInBits(OldTy)) in canConvertValue()
1855 if (!NewTy->isSingleValueType() || !OldTy->isSingleValueType()) in canConvertValue()
1860 OldTy = OldTy->getScalarType(); in canConvertValue()
1862 if (NewTy->isPointerTy() || OldTy->isPointerTy()) { in canConvertValue()
1863 if (NewTy->isPointerTy() && OldTy->isPointerTy()) in canConvertValue()
1865 if (NewTy->isIntegerTy() || OldTy->isIntegerTy()) in canConvertValue()
1881 Type *OldTy = V->getType(); in convertValue() local
[all …]
/external/llvm/lib/Linker/
DLinkModules.cpp881 StructType *OldTy = cast<StructType>(ATy->getElementType()); in upgradeGlobalArray() local
882 assert(OldTy->getNumElements() == 2 && "Expected to upgrade from 2 elements"); in upgradeGlobalArray()
886 Type *Tys[3] = {OldTy->getElementType(0), OldTy->getElementType(1), in upgradeGlobalArray()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp3134 QualType OldTy; in handleModeAttr() local
3136 OldTy = TD->getUnderlyingType(); in handleModeAttr()
3138 OldTy = VD->getType(); in handleModeAttr()
3145 if (!OldTy->getAs<BuiltinType>() && !OldTy->isComplexType()) in handleModeAttr()
3148 if (!OldTy->isIntegralOrEnumerationType()) in handleModeAttr()
3151 if (!OldTy->isComplexType()) in handleModeAttr()
3154 if (!OldTy->isFloatingType()) in handleModeAttr()
3171 OldTy->isSignedIntegerType()); in handleModeAttr()
DSemaDeclCXX.cpp12899 QualType OldTy = Old->getType()->getAs<FunctionType>()->getReturnType(); in CheckOverridingFunctionReturnType() local
12901 if (Context.hasSameType(NewTy, OldTy) || in CheckOverridingFunctionReturnType()
12902 NewTy->isDependentType() || OldTy->isDependentType()) in CheckOverridingFunctionReturnType()
12910 if (const PointerType *OldPT = OldTy->getAs<PointerType>()) { in CheckOverridingFunctionReturnType()
12915 if (const ReferenceType *OldRT = OldTy->getAs<ReferenceType>()) { in CheckOverridingFunctionReturnType()
12927 << New->getDeclName() << NewTy << OldTy in CheckOverridingFunctionReturnType()
12951 << New->getDeclName() << NewTy << OldTy in CheckOverridingFunctionReturnType()
12976 if (NewTy.getLocalCVRQualifiers() != OldTy.getLocalCVRQualifiers()) { in CheckOverridingFunctionReturnType()
12979 << New->getDeclName() << NewTy << OldTy in CheckOverridingFunctionReturnType()
12991 << New->getDeclName() << NewTy << OldTy in CheckOverridingFunctionReturnType()
/external/clang/lib/Driver/
DDriver.cpp1073 types::ID OldTy = Ty; in BuildInputs() local
1076 if (Ty != OldTy) in BuildInputs()
1078 << getTypeName(OldTy) << getTypeName(Ty); in BuildInputs()