/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaBoundsSafety.cpp | 65 const auto FieldTy = FD->getType(); in CheckCountedByAttrOnField() local 66 if (FieldTy->isArrayType() && (CountInBytes || OrNull)) { in CheckCountedByAttrOnField() 72 if (!FieldTy->isArrayType() && !FieldTy->isPointerType()) { in CheckCountedByAttrOnField() 81 if (FieldTy->isArrayType() && in CheckCountedByAttrOnField() 82 !Decl::isFlexibleArrayMemberLike(getASTContext(), FD, FieldTy, in CheckCountedByAttrOnField() 94 if (FieldTy->isPointerType()) { in CheckCountedByAttrOnField() 95 PointeeTy = FieldTy->getPointeeType(); in CheckCountedByAttrOnField() 98 assert(FieldTy->isArrayType()); in CheckCountedByAttrOnField() 99 const ArrayType *AT = getASTContext().getAsArrayType(FieldTy); in CheckCountedByAttrOnField() 114 if (FieldTy->isArrayType() && !getLangOpts().BoundsSafety) { in CheckCountedByAttrOnField() [all …]
|
H A D | SemaDecl.cpp | 9547 QualType FieldTy = Field->getType(); in checkIsValidOpenCLKernelParameter() local 9550 assert((FieldTy->isArrayType() || FieldTy->isRecordType()) && in checkIsValidOpenCLKernelParameter() 9552 const Type *FieldRecTy = FieldTy->getPointeeOrArrayElementType(); in checkIsValidOpenCLKernelParameter() 18138 QualType FieldTy, bool IsMsStruct, in VerifyBitField() argument 18146 if (!FieldTy->isDependentType() && !FieldTy->isIntegralOrEnumerationType()) { in VerifyBitField() 18148 if (RequireCompleteSizedType(FieldLoc, FieldTy, in VerifyBitField() 18153 << FieldName << FieldTy << BitWidth->getSourceRange(); in VerifyBitField() 18155 << FieldTy << BitWidth->getSourceRange(); in VerifyBitField() 18191 if (!FieldTy->isDependentType()) { in VerifyBitField() 18192 uint64_t TypeStorageSize = Context.getTypeSize(FieldTy); in VerifyBitField() [all …]
|
H A D | SemaExpr.cpp | 13317 QualType FieldTy = Field->getType(); in DiagnoseRecursiveConstFields() local 13318 if (FieldTy.isConstQualified()) { in DiagnoseRecursiveConstFields() 13327 << FieldTy << Field->getSourceRange(); in DiagnoseRecursiveConstFields() 13331 FieldTy = FieldTy.getCanonicalType(); in DiagnoseRecursiveConstFields() 13332 if (const auto *FieldRecTy = FieldTy->getAs<RecordType>()) { in DiagnoseRecursiveConstFields()
|
H A D | SemaOpenMP.cpp | 5885 QualType FieldTy = FD->getType(); in processImplicitMapsWithDefaultMappers() local 5886 if (FieldTy.isNull() || in processImplicitMapsWithDefaultMappers() 5887 !(FieldTy->isStructureOrClassType() || FieldTy->isUnionType())) in processImplicitMapsWithDefaultMappers() 5895 Types.emplace_back(FieldTy, FD); in processImplicitMapsWithDefaultMappers()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Pointer.cpp | 416 QualType FieldTy = F.Decl->getType(); in toRValue() local 418 if (std::optional<PrimType> T = Ctx.classify(FieldTy)) { in toRValue() 421 Ok &= Composite(FieldTy, FP, Value); in toRValue() 437 QualType FieldTy = FD->Decl->getType(); in toRValue() local 441 if (std::optional<PrimType> T = Ctx.classify(FieldTy)) { in toRValue() 444 Ok &= Composite(FieldTy, FP, Value); in toRValue()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
H A D | BitcodeConvenience.h | 166 template <typename FieldTy> static void emitOps(llvm::BitCodeAbbrev &abbrev) { in emitOps() 167 FieldTy::emitOp(abbrev); in emitOps() 175 template <typename FieldTy, typename Next, typename... Rest> 177 static_assert(!FieldTy::IsCompound, in emitOps() 179 FieldTy::emitOp(abbrev); in emitOps()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
H A D | LLParser.h | 590 template <class FieldTy> 591 bool parseMDField(LocTy Loc, StringRef Name, FieldTy &Result); 592 template <class FieldTy> bool parseMDField(StringRef Name, FieldTy &Result);
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 91 QualType FieldTy = Field->getType(); in numRegsForType() local 92 NumRegs += numRegsForType(FieldTy); in numRegsForType()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 3166 llvm::DIType *FieldTy = getOrCreateType(Field->getType(), Unit); in CreateTypeDefinition() local 3167 if (!FieldTy) in CreateTypeDefinition() 3242 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition() 3244 FieldTy, PropertyNode); in CreateTypeDefinition() 3245 EltTys.push_back(FieldTy); in CreateTypeDefinition() 3977 llvm::DIType *FieldTy = CGDebugInfo::getOrCreateType(FType, Unit); in CreateMemberType() local 3982 *Offset, llvm::DINode::FlagZero, FieldTy); in CreateMemberType() 4734 llvm::DIType *FieldTy = DBuilder.createMemberType( in EmitTypeForVarWithBlocksAttr() local 4737 EltTys.push_back(FieldTy); in EmitTypeForVarWithBlocksAttr() 4835 llvm::DIType *FieldTy = getOrCreateType(Field->getType(), Unit); in EmitDeclare() local [all …]
|
H A D | CGObjCMac.cpp | 6934 llvm::Type *FieldTy = in EmitIvarList() local 6936 unsigned Size = CGM.getDataLayout().getTypeAllocSize(FieldTy); in EmitIvarList()
|
H A D | CGOpenMPRuntime.cpp | 1026 QualType FieldTy) { in addFieldToRecordDecl() argument 1028 C, DC, SourceLocation(), SourceLocation(), /*Id=*/nullptr, FieldTy, in addFieldToRecordDecl() 1029 C.getTrivialTypeSourceInfo(FieldTy, SourceLocation()), in addFieldToRecordDecl()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Type.cpp | 4085 QualType FieldTy = FD->getType(); in hasConstFields() local 4086 if (FieldTy.isConstQualified()) in hasConstFields() 4088 FieldTy = FieldTy.getCanonicalType(); in hasConstFields() 4089 if (const auto *FieldRecTy = FieldTy->getAs<RecordType>()) { in hasConstFields()
|
H A D | ExprConstant.cpp | 7127 QualType FieldTy = FD->getType(); in visitRecord() local 7128 if (!visit(Val.getStructField(FieldIdx), FieldTy, FieldOffset)) in visitRecord() 7398 QualType FieldTy = FD->getType(); in visit() local 7399 std::optional<APValue> SubObj = visitType(FieldTy, FieldOffset); in visit()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 4540 template <class FieldTy> struct MDFieldImpl { 4542 FieldTy Val; 4545 void assign(FieldTy Val) { in assign() 4550 explicit MDFieldImpl(FieldTy Default) in MDFieldImpl() 5121 template <class FieldTy> 5122 bool LLParser::parseMDField(StringRef Name, FieldTy &Result) { in parseMDField()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVBuiltins.cpp | 2013 Type *FieldTy = ArrayType::get(BaseTy, Size); in buildNDRange() local 2014 SPIRVType *SpvFieldTy = GR->getOrCreateSPIRVType(FieldTy, MIRBuilder); in buildNDRange()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 7296 const MDOperand &FieldTy = BaseNode->getOperand(Idx); in verifyTBAABaseNodeImpl() local 7298 if (!isa<MDNode>(FieldTy)) { in verifyTBAABaseNodeImpl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 4294 const IdentifierInfo *FieldName, QualType FieldTy,
|