Home
last modified time | relevance | path

Searched refs:QTy (Results 1 – 9 of 9) 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()
171 QualType QTy, in CollectFields() argument
177 if (const RecordType *TTy = QTy->getAs<RecordType>()) { in CollectFields()
204 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity(); in CollectFields()
205 llvm::MDNode *TBAAInfo = MayAlias ? getChar() : getTBAAInfo(QTy); in CollectFields()
[all …]
DCodeGenTBAA.h103 llvm::MDNode *getTBAAInfo(QualType QTy);
111 llvm::MDNode *getTBAAStructInfo(QualType QTy);
DCGCXX.cpp295 const Type *QTy = Qual->getAsType(); in BuildAppleKextVirtualCall() local
296 QualType T = QualType(QTy, 0); in BuildAppleKextVirtualCall()
DCodeGenModule.h633 llvm::MDNode *getTBAAInfo(QualType QTy);
635 llvm::MDNode *getTBAAStructInfo(QualType QTy);
640 bool isTypeConstant(QualType QTy, bool ExcludeCtorDtor);
DCGDebugInfo.cpp1781 QualType QTy(Ty, 0); in CreateTypeDefinition() local
1782 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
2308 QualType QTy(Ty, 0); in getOrCreateLimitedType() local
2310 auto *T = cast_or_null<llvm::DICompositeType>(getTypeOrNull(QTy)); in getOrCreateLimitedType()
2327 TypeCache[QTy.getAsOpaquePtr()].reset(Res); in getOrCreateLimitedType()
DCodeGenModule.cpp484 llvm::MDNode *CodeGenModule::getTBAAInfo(QualType QTy) { in getTBAAInfo() argument
487 return TBAA->getTBAAInfo(QTy); in getTBAAInfo()
496 llvm::MDNode *CodeGenModule::getTBAAStructInfo(QualType QTy) { in getTBAAStructInfo() argument
499 return TBAA->getTBAAStructInfo(QTy); in getTBAAStructInfo()
DCGBuiltin.cpp3149 llvm::Type *QTy = llvm::VectorType::getExtendedElementVectorType(VTy); in EmitCommonNeonBuiltinExpr() local
3150 Ops[0] = Builder.CreateBitCast(Ops[0], QTy); in EmitCommonNeonBuiltinExpr()
/external/clang/lib/Sema/
DSemaExpr.cpp13104 QualType QTy = Var->getType(); in tryCaptureVariable() local
13106 QTy = PVD->getOriginalType(); in tryCaptureVariable()
13108 const Type *Ty = QTy.getTypePtr(); in tryCaptureVariable()
13116 QTy = QualType(); in tryCaptureVariable()
13132 QTy = cast<AdjustedType>(Ty)->getOriginalType(); in tryCaptureVariable()
13135 QTy = cast<DecayedType>(Ty)->getPointeeType(); in tryCaptureVariable()
13138 QTy = cast<PointerType>(Ty)->getPointeeType(); in tryCaptureVariable()
13141 QTy = cast<BlockPointerType>(Ty)->getPointeeType(); in tryCaptureVariable()
13145 QTy = cast<ReferenceType>(Ty)->getPointeeType(); in tryCaptureVariable()
13148 QTy = cast<MemberPointerType>(Ty)->getPointeeType(); in tryCaptureVariable()
[all …]
DSemaOpenMP.cpp8085 auto QTy = SemaRef.Context.getRecordType(RD); in IsCXXRecordForMappable() local
8087 SemaRef.Diag(Loc, diag::err_omp_not_mappable_type) << QTy; in IsCXXRecordForMappable()
8097 SemaRef.Diag(Loc, diag::err_omp_not_mappable_type) << QTy; in IsCXXRecordForMappable()
8104 SemaRef.Diag(Loc, diag::err_omp_not_mappable_type) << QTy; in IsCXXRecordForMappable()
8122 DSAStackTy *Stack, QualType QTy) { in CheckTypeMappable() argument
8124 if (QTy->isIncompleteType(&ND)) { in CheckTypeMappable()
8125 SemaRef.Diag(SL, diag::err_incomplete_type) << QTy << SR; in CheckTypeMappable()