Home
last modified time | relevance | path

Searched refs:QTy (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp71 static bool TypeHasMayAlias(QualType QTy) { in TypeHasMayAlias() argument
73 if (const TagType *TTy = dyn_cast<TagType>(QTy)) in TypeHasMayAlias()
77 if (const TypedefType *TTy = dyn_cast<TypedefType>(QTy)) { in TypeHasMayAlias()
88 CodeGenTBAA::getTBAAInfo(QualType QTy) { in getTBAAInfo() argument
95 if (TypeHasMayAlias(QTy)) in getTBAAInfo()
98 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
172 QualType QTy, in CollectFields() argument
178 if (const RecordType *TTy = QTy->getAs<RecordType>()) { in CollectFields()
205 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity(); in CollectFields()
206 llvm::MDNode *TBAAInfo = MayAlias ? getChar() : getTBAAInfo(QTy); in CollectFields()
[all …]
DCodeGenTBAA.h103 llvm::MDNode *getTBAAInfo(QualType QTy);
111 llvm::MDNode *getTBAAStructInfo(QualType QTy);
DCGCXX.cpp285 const Type *QTy = Qual->getAsType(); in BuildAppleKextVirtualCall() local
286 QualType T = QualType(QTy, 0); in BuildAppleKextVirtualCall()
DCodeGenModule.h634 llvm::MDNode *getTBAAInfo(QualType QTy);
636 llvm::MDNode *getTBAAStructInfo(QualType QTy);
638 llvm::MDNode *getTBAAStructTypeInfo(QualType QTy);
643 bool isTypeConstant(QualType QTy, bool ExcludeCtorDtor);
DCodeGenModule.cpp430 llvm::MDNode *CodeGenModule::getTBAAInfo(QualType QTy) { in getTBAAInfo() argument
433 return TBAA->getTBAAInfo(QTy); in getTBAAInfo()
442 llvm::MDNode *CodeGenModule::getTBAAStructInfo(QualType QTy) { in getTBAAStructInfo() argument
445 return TBAA->getTBAAStructInfo(QTy); in getTBAAStructInfo()
448 llvm::MDNode *CodeGenModule::getTBAAStructTypeInfo(QualType QTy) { in getTBAAStructTypeInfo() argument
451 return TBAA->getTBAAStructTypeInfo(QTy); in getTBAAStructTypeInfo()
DCGDebugInfo.cpp1694 QualType QTy(Ty, 0); in CreateTypeDefinition() local
1695 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
2208 QualType QTy(Ty, 0); in getOrCreateLimitedType() local
2210 auto *T = cast_or_null<llvm::MDCompositeTypeBase>(getTypeOrNull(QTy)); in getOrCreateLimitedType()
2227 TypeCache[QTy.getAsOpaquePtr()].reset(Res); in getOrCreateLimitedType()
DCGBuiltin.cpp2970 llvm::Type *QTy = llvm::VectorType::getExtendedElementVectorType(VTy); in EmitCommonNeonBuiltinExpr() local
2971 Ops[0] = Builder.CreateBitCast(Ops[0], QTy); in EmitCommonNeonBuiltinExpr()
/external/clang/lib/Sema/
DSemaExpr.cpp12864 QualType QTy = Var->getType(); in tryCaptureVariable() local
12866 QTy = PVD->getOriginalType(); in tryCaptureVariable()
12868 const Type *Ty = QTy.getTypePtr(); in tryCaptureVariable()
12876 QTy = QualType(); in tryCaptureVariable()
12892 QTy = cast<AdjustedType>(Ty)->getOriginalType(); in tryCaptureVariable()
12895 QTy = cast<DecayedType>(Ty)->getPointeeType(); in tryCaptureVariable()
12898 QTy = cast<PointerType>(Ty)->getPointeeType(); in tryCaptureVariable()
12901 QTy = cast<BlockPointerType>(Ty)->getPointeeType(); in tryCaptureVariable()
12905 QTy = cast<ReferenceType>(Ty)->getPointeeType(); in tryCaptureVariable()
12908 QTy = cast<MemberPointerType>(Ty)->getPointeeType(); in tryCaptureVariable()
[all …]