Lines Matching refs:QTy
79 static bool TypeHasMayAlias(QualType QTy) {
81 if (auto *TD = QTy->getAsTagDecl())
88 while (auto *TT = QTy->getAs<TypedefType>()) {
91 QTy = TT->desugar();
97 static bool isValidBaseType(QualType QTy) {
98 if (QTy->isReferenceType())
100 if (const RecordType *TTy = QTy->getAs<RecordType>()) {
225 llvm::MDNode *CodeGenTBAA::getTypeInfo(QualType QTy) {
232 if (TypeHasMayAlias(QTy))
241 if (isValidBaseType(QTy))
242 return getBaseTypeInfo(QTy);
244 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr();
277 QualType QTy,
283 if (const RecordType *TTy = QTy->getAs<RecordType>()) {
312 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity();
313 llvm::MDNode *TBAAType = MayAlias ? getChar() : getTypeInfo(QTy);
320 CodeGenTBAA::getTBAAStructInfo(QualType QTy) {
321 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr();
327 if (CollectFields(0, QTy, Fields, TypeHasMayAlias(QTy)))
416 llvm::MDNode *CodeGenTBAA::getBaseTypeInfo(QualType QTy) {
417 if (!isValidBaseType(QTy))
420 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr();