Lines Matching refs:FD
356 static bool isEmptyField(ASTContext &Context, const FieldDecl *FD,
358 if (FD->isUnnamedBitfield())
361 QualType FT = FD->getType();
448 for (const auto *FD : RD->fields()) {
449 QualType FT = FD->getType();
452 if (isEmptyField(Context, FD, true))
530 for (const auto *FD : RD->fields()) {
531 if (!is32Or64BitBasicType(FD->getType(), Context))
537 if (FD->isBitField())
540 Size += Context.getTypeSize(FD->getType());
1063 for (const auto *FD : RT->getDecl()->fields()) {
1065 if (isEmptyField(Context, FD, true))
1069 if (!shouldReturnTypeInRegister(FD->getType(), Context))
1589 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
1590 if (FD->hasAttr<X86ForceAlignArgPointerAttr>()) {
3888 for (const auto *FD : RD->fields()) {
3890 QualType FT = FD->getType();
3902 FD->isBitField() && FD->getBitWidthValue(getContext()) == 0)
3906 if (!isHomogeneousAggregate(FD->getType(), Base, FldMembers))
4833 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D);
4834 if (!FD)
4837 const ARMInterruptAttr *Attr = FD->getAttr<ARMInterruptAttr>();
5147 const FieldDecl *FD = *i;
5153 if (FD->isBitField()) {
5157 if (!isIntegerLikeType(FD->getType(), Context, VMContext))
5167 if (!isIntegerLikeType(FD->getType(), Context, VMContext))
5465 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D);
5466 if (!FD) return;
5474 if (FD->hasAttr<OpenCLKernelAttr>()) {
5488 if (FD->hasAttr<CUDAGlobalAttr>()) {
5492 if (CUDALaunchBoundsAttr *Attr = FD->getAttr<CUDALaunchBoundsAttr>()) {
5637 for (const auto *FD : RD->fields()) {
5642 FD->isBitField() && FD->getBitWidthValue(getContext()) == 0)
5649 Found = GetSingleElementType(FD->getType());
5899 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
5900 if (const MSP430InterruptAttr *attr = FD->getAttr<MSP430InterruptAttr>()) {
5958 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D);
5959 if (!FD) return;
5961 if (FD->hasAttr<Mips16Attr>()) {
5964 else if (FD->hasAttr<NoMips16Attr>()) {
5968 const MipsInterruptAttr *Attr = FD->getAttr<MipsInterruptAttr>();
6325 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D);
6326 if (!FD) return;
6331 if (FD->hasAttr<OpenCLKernelAttr>()) {
6334 const ReqdWorkGroupSizeAttr *Attr = FD->getAttr<ReqdWorkGroupSizeAttr>();
6507 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D);
6508 if (!FD)
6511 if (const auto Attr = FD->getAttr<AMDGPUNumVGPRAttr>()) {
6518 if (const auto Attr = FD->getAttr<AMDGPUNumSGPRAttr>()) {
7428 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
7429 if (FD->getLanguageLinkage() != CLanguageLinkage)
7431 return appendType(Enc, FD->getType(), CGM, TSC);