• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/

Lines Matching refs:getDecl

307     const auto *D = cast<ValueDecl>(GD.getDecl());
920 const auto *D = dyn_cast<NamedDecl>(GD.getDecl());
942 setGVPropertiesAux(GV, dyn_cast<NamedDecl>(GD.getDecl()));
1102 .getDecl()
1109 .getDecl()
1134 if (const auto *CD = dyn_cast<CXXConstructorDecl>(CanonicalGD.getDecl())) {
1148 const auto *ND = cast<NamedDecl>(GD.getDecl());
1178 const Decl *D = GD.getDecl();
1184 dyn_cast_or_null<VarDecl>(initializedGlobalDecl.getDecl()), Out);
1260 const auto *D = cast<FunctionDecl>(GD.getDecl());
1472 PDecl = TD->getDecl();
1712 const Decl *D = GD.getDecl();
1736 const auto *FD = dyn_cast_or_null<FunctionDecl>(GD.getDecl());
1780 const Decl *D = GD.getDecl();
1823 const Decl *D = GD.getDecl();
1875 const auto *FD = cast<FunctionDecl>(GD.getDecl());
2526 const auto *Global = cast<ValueDecl>(GD.getDecl());
2673 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(RT->getDecl()))
2742 ValueDecl *VD = E->getDecl();
2802 const auto *F = cast<FunctionDecl>(GD.getDecl());
2840 const auto *FD = cast<FunctionDecl>(GD.getDecl());
2852 const auto *D = cast<ValueDecl>(GD.getDecl());
2918 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
2973 const auto *FD = cast<FunctionDecl>(GD.getDecl());
3017 if (ExistingDecl.getDecl() &&
3018 ExistingDecl.getDecl()->getAsFunction()->isDefined()) {
3022 if (!ExistingDecl.getDecl())
3145 const Decl *D = GD.getDecl();
3196 (GD.getCanonicalDecl().getDecl() !=
3197 OtherGD.getCanonicalDecl().getDecl()) &&
3201 getDiags().Report(OtherGD.getDecl()->getLocation(),
3331 assert(!cast<FunctionDecl>(GD.getDecl())->isConsteval() &&
3335 const auto *FD = cast<FunctionDecl>(GD.getDecl());
3342 if (const auto *DD = dyn_cast<CXXDestructorDecl>(GD.getDecl())) {
3497 (D->getCanonicalDecl() != OtherGD.getCanonicalDecl().getDecl()) &&
3498 (OtherD = dyn_cast<VarDecl>(OtherGD.getDecl())) &&
3503 getDiags().Report(OtherGD.getDecl()->getLocation(),
3652 const Decl *D = GD.getDecl();
4095 D->getType()->getAs<RecordType>()->getDecl());
4261 const RecordDecl *RD = RT->getDecl();
4497 const auto *D = cast<FunctionDecl>(GD.getDecl());
4542 const auto *D = cast<ValueDecl>(GD.getDecl());
4575 LT = getLLVMLinkageVarDefinition(cast<VarDecl>(GD.getDecl()),
4624 const auto *D = cast<ValueDecl>(GD.getDecl());
4643 Diags.Report(OtherGD.getDecl()->getLocation(),
5691 CGM.getLLVMContext(), D.getDecl()))};
5830 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(RefExpr)->getDecl());
5980 if (auto Align = TT->getDecl()->getMaxAlignment()) {