Lines Matching refs:Ty
98 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo() local
100 if (llvm::MDNode *N = MetadataCache[Ty]) in getTBAAInfo()
104 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) { in getTBAAInfo()
133 return MetadataCache[Ty] = in getTBAAInfo()
141 if (Ty->isPointerType()) in getTBAAInfo()
142 return MetadataCache[Ty] = createTBAAScalarType("any pointer", in getTBAAInfo()
147 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTBAAInfo()
153 return MetadataCache[Ty] = getChar(); in getTBAAInfo()
159 return MetadataCache[Ty] = createTBAAScalarType(OutName, getChar()); in getTBAAInfo()
163 return MetadataCache[Ty] = getChar(); in getTBAAInfo()
214 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo() local
216 if (llvm::MDNode *N = StructMetadataCache[Ty]) in getTBAAStructInfo()
224 return StructMetadataCache[Ty] = nullptr; in getTBAAStructInfo()
243 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo() local
246 if (llvm::MDNode *N = StructTypeMetadataCache[Ty]) in getTBAAStructTypeInfo()
264 return StructTypeMetadataCache[Ty] = nullptr; in getTBAAStructTypeInfo()
273 MContext.mangleTypeName(QualType(Ty, 0), Out); in getTBAAStructTypeInfo()
279 return StructTypeMetadataCache[Ty] = in getTBAAStructTypeInfo()
283 return StructMetadataCache[Ty] = nullptr; in getTBAAStructTypeInfo()