Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp75 static bool TypeHasMayAlias(QualType QTy) { in TypeHasMayAlias() argument
77 if (const TagType *TTy = dyn_cast<TagType>(QTy)) in TypeHasMayAlias()
81 if (const TypedefType *TTy = dyn_cast<TypedefType>(QTy)) { in TypeHasMayAlias()
92 CodeGenTBAA::getTBAAInfo(QualType QTy) { in getTBAAInfo() argument
99 if (TypeHasMayAlias(QTy)) in getTBAAInfo()
102 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
175 QualType QTy, in CollectFields() argument
181 if (const RecordType *TTy = QTy->getAs<RecordType>()) { in CollectFields()
208 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity(); in CollectFields()
209 llvm::MDNode *TBAAInfo = MayAlias ? getChar() : getTBAAInfo(QTy); in CollectFields()
[all …]
DCodeGenTBAA.h100 llvm::MDNode *getTBAAInfo(QualType QTy);
108 llvm::MDNode *getTBAAStructInfo(QualType QTy);
DCGCXX.cpp295 const Type *QTy = Qual->getAsType(); in BuildAppleKextVirtualCall() local
296 QualType T = QualType(QTy, 0); in BuildAppleKextVirtualCall()
DCodeGenModule.h639 llvm::MDNode *getTBAAInfo(QualType QTy);
641 llvm::MDNode *getTBAAStructInfo(QualType QTy);
646 bool isTypeConstant(QualType QTy, bool ExcludeCtorDtor);
DCGDebugInfo.cpp1907 QualType QTy(Ty, 0); in CreateTypeDefinition() local
1908 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
2479 QualType QTy(Ty, 0); in getOrCreateLimitedType() local
2481 auto *T = cast_or_null<llvm::DICompositeType>(getTypeOrNull(QTy)); in getOrCreateLimitedType()
2498 TypeCache[QTy.getAsOpaquePtr()].reset(Res); in getOrCreateLimitedType()
DCodeGenModule.cpp513 llvm::MDNode *CodeGenModule::getTBAAInfo(QualType QTy) { in getTBAAInfo() argument
516 return TBAA->getTBAAInfo(QTy); in getTBAAInfo()
525 llvm::MDNode *CodeGenModule::getTBAAStructInfo(QualType QTy) { in getTBAAStructInfo() argument
528 return TBAA->getTBAAStructInfo(QTy); in getTBAAStructInfo()
DCGBuiltin.cpp3557 llvm::Type *QTy = llvm::VectorType::getExtendedElementVectorType(VTy); in EmitCommonNeonBuiltinExpr() local
3558 Ops[0] = Builder.CreateBitCast(Ops[0], QTy); in EmitCommonNeonBuiltinExpr()
/external/clang/lib/Sema/
DSemaOpenMP.cpp3715 QualType QTy = PVD->getType() in ActOnOpenMPDeclareSimdDirective() local
3719 const Type *Ty = QTy.getTypePtrOrNull(); in ActOnOpenMPDeclareSimdDirective()
3722 << QTy << getLangOpts().CPlusPlus << E->getSourceRange(); in ActOnOpenMPDeclareSimdDirective()
10299 auto QTy = SemaRef.Context.getRecordType(RD); in IsCXXRecordForMappable() local
10301 SemaRef.Diag(Loc, diag::err_omp_not_mappable_type) << QTy; in IsCXXRecordForMappable()
10311 SemaRef.Diag(Loc, diag::err_omp_not_mappable_type) << QTy; in IsCXXRecordForMappable()
10318 SemaRef.Diag(Loc, diag::err_omp_not_mappable_type) << QTy; in IsCXXRecordForMappable()
10336 DSAStackTy *Stack, QualType QTy) { in CheckTypeMappable() argument
10338 if (QTy->isIncompleteType(&ND)) { in CheckTypeMappable()
10339 SemaRef.Diag(SL, diag::err_incomplete_type) << QTy << SR; in CheckTypeMappable()
DSemaExpr.cpp13652 QualType QTy = Var->getType(); in tryCaptureVariable() local
13654 QTy = PVD->getOriginalType(); in tryCaptureVariable()
13655 captureVariablyModifiedType(Context, QTy, CSI); in tryCaptureVariable()