reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/clang/include/clang/AST/AttrImpl.inc
  159 AMDGPUWavesPerEUAttr *AMDGPUWavesPerEUAttr::clone(ASTContext &C) const {
  160   auto *A = new (C) AMDGPUWavesPerEUAttr(C, *this, min, max);
  160   auto *A = new (C) AMDGPUWavesPerEUAttr(C, *this, min, max);
11504     return cast<AMDGPUWavesPerEUAttr>(this)->getSpelling();
12084     return cast<AMDGPUWavesPerEUAttr>(this)->clone(C);
12664     return cast<AMDGPUWavesPerEUAttr>(this)->printPretty(OS, Policy);
gen/tools/clang/include/clang/AST/AttrNodeTraverse.inc
   14   void VisitAMDGPUWavesPerEUAttr(const AMDGPUWavesPerEUAttr *A) {
   15     const auto *SA = cast<AMDGPUWavesPerEUAttr>(A); (void)SA;
   15     const auto *SA = cast<AMDGPUWavesPerEUAttr>(A); (void)SA;
gen/tools/clang/include/clang/AST/AttrVisitor.inc
   27   bool TraverseAMDGPUWavesPerEUAttr(AMDGPUWavesPerEUAttr *A);
   28   bool VisitAMDGPUWavesPerEUAttr(AMDGPUWavesPerEUAttr *A) {
 1203 bool VISITORCLASS<Derived>::TraverseAMDGPUWavesPerEUAttr(AMDGPUWavesPerEUAttr *A) {
 3964       return getDerived().TraverseAMDGPUWavesPerEUAttr(cast<AMDGPUWavesPerEUAttr>(A));
gen/tools/clang/include/clang/AST/Attrs.inc
  210   static AMDGPUWavesPerEUAttr *CreateImplicit(ASTContext &Ctx, Expr * Min, Expr * Max, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
  211     auto *A = new (Ctx) AMDGPUWavesPerEUAttr(Ctx, CommonInfo, Min, Max);
  211     auto *A = new (Ctx) AMDGPUWavesPerEUAttr(Ctx, CommonInfo, Min, Max);
  218   static AMDGPUWavesPerEUAttr *Create(ASTContext &Ctx, Expr * Min, Expr * Max, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
  219     auto *A = new (Ctx) AMDGPUWavesPerEUAttr(Ctx, CommonInfo, Min, Max);
  219     auto *A = new (Ctx) AMDGPUWavesPerEUAttr(Ctx, CommonInfo, Min, Max);
  225   static AMDGPUWavesPerEUAttr *CreateImplicit(ASTContext &Ctx, Expr * Min, Expr * Max, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
  229   static AMDGPUWavesPerEUAttr *Create(ASTContext &Ctx, Expr * Min, Expr * Max, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
  252   AMDGPUWavesPerEUAttr *clone(ASTContext &C) const;
gen/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc
   32       const auto *A = cast<AMDGPUWavesPerEUAttr>(At);
   32       const auto *A = cast<AMDGPUWavesPerEUAttr>(At);
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc
   51     New = new (Context) AMDGPUWavesPerEUAttr(Context, Info, min, max);
gen/tools/clang/include/clang/Serialization/AttrPCHWrite.inc
   39     const auto *SA = cast<AMDGPUWavesPerEUAttr>(A);
   39     const auto *SA = cast<AMDGPUWavesPerEUAttr>(A);
include/llvm/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   66   static inline bool doit(const From &) { return true; }
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/AttrIterator.h
   47     while (!isa<SpecificAttr>(*Current))
   52     while (Current != I && !isa<SpecificAttr>(*Current))
   57   using value_type = SpecificAttr *;
   58   using reference = SpecificAttr *;
   59   using pointer = SpecificAttr *;
   68     return cast<SpecificAttr>(*Current);
  101 inline specific_attr_iterator<SpecificAttr, Container>
  106 inline specific_attr_iterator<SpecificAttr, Container>
  117 inline SpecificAttr *getSpecificAttr(const Container& container) {
  118   specific_attr_iterator<SpecificAttr, Container> i =
  119       specific_attr_begin<SpecificAttr>(container);
  120   if (i != specific_attr_end<SpecificAttr>(container))
tools/clang/include/clang/AST/DeclBase.h
  538   template<typename T> T *getAttr() const {
  539     return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr;
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/TargetInfo.cpp
 7996   if (const auto *Attr = FD->getAttr<AMDGPUWavesPerEUAttr>()) {
 7996   if (const auto *Attr = FD->getAttr<AMDGPUWavesPerEUAttr>()) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
  228 static typename std::enable_if<std::is_base_of<Attr, AttrInfo>::value,
  230 getAttrLoc(const AttrInfo &AL) {
  241 static bool checkUInt32Argument(Sema &S, const AttrInfo &AI, const Expr *Expr,
 5833                                            const AMDGPUWavesPerEUAttr &Attr) {
 5867   AMDGPUWavesPerEUAttr TmpAttr(Context, CI, MinExpr, MaxExpr);
 5873                  AMDGPUWavesPerEUAttr(Context, CI, MinExpr, MaxExpr));
 7247       } else if (const auto *A = D->getAttr<AMDGPUWavesPerEUAttr>()) {
 7247       } else if (const auto *A = D->getAttr<AMDGPUWavesPerEUAttr>()) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  457     const AMDGPUWavesPerEUAttr &Attr, Decl *New) {
  580     if (const auto *AMDGPUFlatWorkGroupSize =
  581             dyn_cast<AMDGPUWavesPerEUAttr>(TmplAttr)) {
usr/include/c++/7.4.0/type_traits
 1558     { typedef _Tp     type; };
 1580     { typedef _Tp const     type; };