| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 119 static bool TypeHasMayAlias(QualType QTy) { in TypeHasMayAlias() argument 121 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias() 128 while (auto *TT = QTy->getAs<TypedefType>()) { in TypeHasMayAlias() 131 QTy = TT->desugar(); in TypeHasMayAlias() 136 if (auto *ArrayTy = QTy->getAsArrayTypeUnsafe()) in TypeHasMayAlias() 144 static bool isValidBaseType(QualType QTy) { in isValidBaseType() argument 145 if (const RecordType *TTy = QTy->getAs<RecordType>()) { in isValidBaseType() 366 llvm::MDNode *CodeGenTBAA::getTypeInfo(QualType QTy) { in getTypeInfo() argument 375 if (TypeHasMayAlias(QTy)) in getTypeInfo() 385 if (isValidBaseType(QTy)) in getTypeInfo() [all …]
|
| H A D | CodeGenTBAA.h | 178 llvm::MDNode *getValidBaseTypeInfo(QualType QTy); 187 llvm::MDNode *getTypeInfo(QualType QTy); 199 llvm::MDNode *getTBAAStructInfo(QualType QTy); 204 llvm::MDNode *getBaseTypeInfo(QualType QTy);
|
| H A D | CGCXX.cpp | 287 const Type *QTy = Qual->getAsType(); in BuildAppleKextVirtualCall() local 288 QualType T = QualType(QTy, 0); in BuildAppleKextVirtualCall()
|
| H A D | CGCall.cpp | 2279 static bool DetermineNoUndef(QualType QTy, CodeGenTypes &Types, in DetermineNoUndef() argument 2282 llvm::Type *Ty = Types.ConvertTypeForMem(QTy); in DetermineNoUndef() 2303 if (QTy->isBitIntType()) in DetermineNoUndef() 2305 if (QTy->isReferenceType()) in DetermineNoUndef() 2307 if (QTy->isNullPtrType()) in DetermineNoUndef() 2309 if (QTy->isMemberPointerType()) in DetermineNoUndef() 2313 if (QTy->isScalarType()) { in DetermineNoUndef() 2314 if (const ComplexType *Complex = dyn_cast<ComplexType>(QTy)) in DetermineNoUndef() 2318 if (const VectorType *Vector = dyn_cast<VectorType>(QTy)) in DetermineNoUndef() 2320 if (const MatrixType *Matrix = dyn_cast<MatrixType>(QTy)) in DetermineNoUndef() [all …]
|
| H A D | CGStmt.cpp | 2907 QualType QTy = OutExpr->getType(); in EmitAsmStmt() local 2908 const bool IsScalarOrAggregate = hasScalarEvaluationKind(QTy) || in EmitAsmStmt() 2909 hasAggregateEvaluationKind(QTy); in EmitAsmStmt() 2913 ResultRegQualTys.push_back(QTy); in EmitAsmStmt() 2919 llvm::Type *Ty = ConvertTypeForMem(QTy); in EmitAsmStmt() 2928 unsigned Size = getContext().getTypeSize(QTy); in EmitAsmStmt()
|
| H A D | CodeGenModule.h | 869 llvm::MDNode *getTBAATypeInfo(QualType QTy); 879 llvm::MDNode *getTBAAStructInfo(QualType QTy); 883 llvm::MDNode *getTBAABaseTypeInfo(QualType QTy);
|
| H A D | CGDebugInfo.cpp | 1737 if (llvm::DIType *QTy = CreateQualifiedType(FPT, Unit)) in CreateType() local 1738 return QTy; in CreateType() 3323 QualType QTy(Ty, 0); in CreateTypeDefinition() local 3324 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition() 3502 QualType QTy(Ty, 0); in CreateType() local 3503 auto SizeExpr = SizeExprCache.find(QTy); in CreateType() 4081 QualType QTy(Ty, 0); in getOrCreateLimitedType() local 4083 auto *T = cast_or_null<llvm::DICompositeType>(getTypeOrNull(QTy)); in getOrCreateLimitedType() 4100 TypeCache[QTy.getAsOpaquePtr()].reset(Res); in getOrCreateLimitedType() 4515 QualType QTy(I in getObjCMethodDeclaration() local 6285 QualType QTy(P.first->getTypeForDecl(), 0); finalize() local [all...] |
| H A D | CodeGenModule.cpp | 1623 llvm::MDNode *CodeGenModule::getTBAATypeInfo(QualType QTy) { in getTBAATypeInfo() argument 1626 return TBAA->getTypeInfo(QTy); in getTBAATypeInfo() 1655 llvm::MDNode *CodeGenModule::getTBAAStructInfo(QualType QTy) { in getTBAAStructInfo() argument 1658 return TBAA->getTBAAStructInfo(QTy); in getTBAAStructInfo() 1661 llvm::MDNode *CodeGenModule::getTBAABaseTypeInfo(QualType QTy) { in getTBAABaseTypeInfo() argument 1664 return TBAA->getBaseTypeInfo(QTy); in getTBAABaseTypeInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | LoongArch.cpp | 192 QualType QTy = FD->getType(); in detectFARsEligibleStructHelper() local 200 if (getContext().getTypeSize(QTy) > GRLen && BitWidth <= GRLen) { in detectFARsEligibleStructHelper() 201 QTy = getContext().getIntTypeForBitwidth(GRLen, false); in detectFARsEligibleStructHelper() 206 QTy, in detectFARsEligibleStructHelper()
|
| H A D | RISCV.cpp | 274 QualType QTy = FD->getType(); in detectFPCCEligibleStructHelper() local 279 if (getContext().getTypeSize(QTy) > XLen && BitWidth <= XLen) in detectFPCCEligibleStructHelper() 280 QTy = getContext().getIntTypeForBitwidth(XLen, false); in detectFPCCEligibleStructHelper() 288 QTy, CurOff + getContext().toCharUnitsFromBits(FieldOffInBits), in detectFPCCEligibleStructHelper()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 6784 QualType QTy = PVD->getType() in ActOnOpenMPDeclareSimdDirective() local 6788 const Type *Ty = QTy.getTypePtrOrNull(); in ActOnOpenMPDeclareSimdDirective() 6791 << QTy << getLangOpts().CPlusPlus << E->getSourceRange(); in ActOnOpenMPDeclareSimdDirective() 11716 QualType QTy = E->getType(); in CheckValue() local 11717 if (!QTy->isScalarType()) { in CheckValue() 11723 if (ShouldBeInteger && !QTy->isIntegerType()) { in CheckValue() 20714 DSAStackTy *Stack, QualType QTy, in checkTypeMappable() argument 20716 if (SemaRef.RequireCompleteType(SL, QTy, diag::err_incomplete_type)) in checkTypeMappable() 20719 !QTy.isTriviallyCopyableType(SemaRef.Context)) in checkTypeMappable() 20720 SemaRef.Diag(SL, diag::warn_omp_non_trivial_type_mapped) << QTy << SR; in checkTypeMappable()
|
| H A D | SemaExpr.cpp | 19296 QualType QTy = Var->getType(); in tryCaptureVariable() local 19298 QTy = PVD->getOriginalType(); in tryCaptureVariable() 19299 captureVariablyModifiedType(Context, QTy, CSI); in tryCaptureVariable() 19324 QualType QTy = Var->getType(); in tryCaptureVariable() local 19326 QTy = PVD->getOriginalType(); in tryCaptureVariable() 19335 captureVariablyModifiedType(Context, QTy, OuterRSI); in tryCaptureVariable()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | ARM.cpp | 2095 llvm::FixedVectorType *QTy = in EmitCommonNeonBuiltinExpr() local 2097 Ops[0] = Builder.CreateBitCast(Ops[0], QTy); in EmitCommonNeonBuiltinExpr()
|