Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp84 static bool TypeHasMayAlias(QualType QTy) { in TypeHasMayAlias() argument
86 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
93 while (auto *TT = QTy->getAs<TypedefType>()) { in TypeHasMayAlias()
96 QTy = TT->desugar(); in TypeHasMayAlias()
102 static bool isValidBaseType(QualType QTy) { in isValidBaseType() argument
103 if (const RecordType *TTy = QTy->getAs<RecordType>()) { in isValidBaseType()
278 llvm::MDNode *CodeGenTBAA::getTypeInfo(QualType QTy) { in getTypeInfo() argument
285 if (TypeHasMayAlias(QTy)) in getTypeInfo()
295 if (isValidBaseType(QTy)) in getTypeInfo()
296 return getValidBaseTypeInfo(QTy); in getTypeInfo()
[all …]
H A DCodeGenTBAA.h171 llvm::MDNode *getValidBaseTypeInfo(QualType QTy);
180 llvm::MDNode *getTypeInfo(QualType QTy);
192 llvm::MDNode *getTBAAStructInfo(QualType QTy);
197 llvm::MDNode *getBaseTypeInfo(QualType QTy);
H A DCGCXX.cpp289 const Type *QTy = Qual->getAsType(); in BuildAppleKextVirtualCall() local
290 QualType T = QualType(QTy, 0); in BuildAppleKextVirtualCall()
H A DCGCall.cpp2175 static bool DetermineNoUndef(QualType QTy, CodeGenTypes &Types, in DetermineNoUndef() argument
2178 llvm::Type *Ty = Types.ConvertTypeForMem(QTy); in DetermineNoUndef()
2199 if (QTy->isBitIntType()) in DetermineNoUndef()
2201 if (QTy->isReferenceType()) in DetermineNoUndef()
2203 if (QTy->isNullPtrType()) in DetermineNoUndef()
2205 if (QTy->isMemberPointerType()) in DetermineNoUndef()
2209 if (QTy->isScalarType()) { in DetermineNoUndef()
2210 if (const ComplexType *Complex = dyn_cast<ComplexType>(QTy)) in DetermineNoUndef()
2214 if (const VectorType *Vector = dyn_cast<VectorType>(QTy)) in DetermineNoUndef()
2216 if (const MatrixType *Matrix = dyn_cast<MatrixType>(QTy)) in DetermineNoUndef()
[all …]
H A DCodeGenModule.h808 llvm::MDNode *getTBAATypeInfo(QualType QTy);
818 llvm::MDNode *getTBAAStructInfo(QualType QTy);
822 llvm::MDNode *getTBAABaseTypeInfo(QualType QTy);
H A DCGStmt.cpp2732 QualType QTy = OutExpr->getType(); in EmitAsmStmt() local
2733 const bool IsScalarOrAggregate = hasScalarEvaluationKind(QTy) || in EmitAsmStmt()
2734 hasAggregateEvaluationKind(QTy); in EmitAsmStmt()
2738 ResultRegQualTys.push_back(QTy); in EmitAsmStmt()
2744 llvm::Type *Ty = ConvertTypeForMem(QTy); in EmitAsmStmt()
2753 unsigned Size = getContext().getTypeSize(QTy); in EmitAsmStmt()
H A DCGDebugInfo.cpp1574 if (llvm::DIType *QTy = CreateQualifiedType(FPT, Unit)) in CreateType() local
1575 return QTy; in CreateType()
3098 QualType QTy(Ty, 0); in CreateTypeDefinition() local
3099 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
3278 QualType QTy(Ty, 0); in CreateType() local
3279 auto SizeExpr = SizeExprCache.find(QTy); in CreateType()
3831 QualType QTy(Ty, 0); in getOrCreateLimitedType() local
3833 auto *T = cast_or_null<llvm::DICompositeType>(getTypeOrNull(QTy)); in getOrCreateLimitedType()
3850 TypeCache[QTy.getAsOpaquePtr()].reset(Res); in getOrCreateLimitedType()
4263 QualType QTy(ID->getTypeForDecl(), 0); in getObjCMethodDeclaration() local
[all …]
H A DCodeGenModule.cpp1466 llvm::MDNode *CodeGenModule::getTBAATypeInfo(QualType QTy) { in getTBAATypeInfo() argument
1469 return TBAA->getTypeInfo(QTy); in getTBAATypeInfo()
1498 llvm::MDNode *CodeGenModule::getTBAAStructInfo(QualType QTy) { in getTBAAStructInfo() argument
1501 return TBAA->getTBAAStructInfo(QTy); in getTBAAStructInfo()
1504 llvm::MDNode *CodeGenModule::getTBAABaseTypeInfo(QualType QTy) { in getTBAABaseTypeInfo() argument
1507 return TBAA->getBaseTypeInfo(QTy); in getTBAABaseTypeInfo()
H A DCGBuiltin.cpp8009 llvm::FixedVectorType *QTy = in EmitCommonNeonBuiltinExpr() local
8011 Ops[0] = Builder.CreateBitCast(Ops[0], QTy); in EmitCommonNeonBuiltinExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp193 QualType QTy = FD->getType(); in detectFARsEligibleStructHelper() local
201 if (getContext().getTypeSize(QTy) > GRLen && BitWidth <= GRLen) { in detectFARsEligibleStructHelper()
202 QTy = getContext().getIntTypeForBitwidth(GRLen, false); in detectFARsEligibleStructHelper()
207 QTy, in detectFARsEligibleStructHelper()
H A DRISCV.cpp203 QualType QTy = FD->getType(); in detectFPCCEligibleStructHelper() local
208 if (getContext().getTypeSize(QTy) > XLen && BitWidth <= XLen) in detectFPCCEligibleStructHelper()
209 QTy = getContext().getIntTypeForBitwidth(XLen, false); in detectFPCCEligibleStructHelper()
217 QTy, CurOff + getContext().toCharUnitsFromBits(FieldOffInBits), in detectFPCCEligibleStructHelper()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp6859 QualType QTy = PVD->getType() in ActOnOpenMPDeclareSimdDirective() local
6863 const Type *Ty = QTy.getTypePtrOrNull(); in ActOnOpenMPDeclareSimdDirective()
6866 << QTy << getLangOpts().CPlusPlus << E->getSourceRange(); in ActOnOpenMPDeclareSimdDirective()
11642 QualType QTy = E->getType(); in CheckValue() local
11643 if (!QTy->isScalarType()) { in CheckValue()
11649 if (ShouldBeInteger && !QTy->isIntegerType()) { in CheckValue()
20049 DSAStackTy *Stack, QualType QTy, in checkTypeMappable() argument
20051 if (SemaRef.RequireCompleteType(SL, QTy, diag::err_incomplete_type)) in checkTypeMappable()
20054 !QTy.isTriviallyCopyableType(SemaRef.Context)) in checkTypeMappable()
20055 SemaRef.Diag(SL, diag::warn_omp_non_trivial_type_mapped) << QTy << SR; in checkTypeMappable()
H A DSemaExpr.cpp18835 QualType QTy = Var->getType(); in tryCaptureVariable() local
18837 QTy = PVD->getOriginalType(); in tryCaptureVariable()
18838 captureVariablyModifiedType(Context, QTy, CSI); in tryCaptureVariable()
18863 QualType QTy = Var->getType(); in tryCaptureVariable() local
18865 QTy = PVD->getOriginalType(); in tryCaptureVariable()
18874 captureVariablyModifiedType(Context, QTy, OuterRSI); in tryCaptureVariable()