/external/llvm-project/clang/lib/Basic/ |
D | Attributes.cpp | 17 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute() local 18 if (ScopeName == "__gnu__") in hasAttribute() 19 ScopeName = "gnu"; in hasAttribute() 20 else if (ScopeName == "_Clang") in hasAttribute() 21 ScopeName = "clang"; in hasAttribute() 46 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() local 49 if (ScopeName == "__gnu__") in normalizeAttrScopeName() 50 ScopeName = "gnu"; in normalizeAttrScopeName() 51 else if (ScopeName == "_Clang") in normalizeAttrScopeName() 52 ScopeName = "clang"; in normalizeAttrScopeName() [all …]
|
/external/llvm-project/clang/include/clang/Basic/ |
D | AttributeCommonInfo.h | 63 const IdentifierInfo *ScopeName = nullptr; variable 85 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument 87 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo() 89 AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)), in AttributeCommonInfo() 93 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument 95 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo() 100 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument 103 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo() 109 : AttrName(AttrName), ScopeName(nullptr), AttrRange(AttrRange), in AttributeCommonInfo() 110 ScopeLoc(), AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)), in AttributeCommonInfo() [all …]
|
/external/clang/lib/Sema/ |
D | AttributeList.cpp | 112 static StringRef normalizeAttrName(StringRef AttrName, StringRef ScopeName, in normalizeAttrName() argument 117 (SyntaxUsed == AttributeList::AS_CXX11 && ScopeName == "gnu"); in normalizeAttrName() 126 const IdentifierInfo *ScopeName, in getKind() argument 131 if (ScopeName) in getKind() 132 FullName += ScopeName->getName(); in getKind() 138 if (ScopeName || SyntaxUsed == AS_CXX11) in getKind() 148 StringRef Scope = ScopeName ? ScopeName->getName() : ""; in getAttributeSpellingListIndex()
|
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 114 IdentifierInfo *ScopeName; variable 241 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 261 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 281 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 298 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 316 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 330 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 355 bool hasScope() const { return ScopeName; } in hasScope() 356 IdentifierInfo *getScopeName() const { return ScopeName; } in getScopeName()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | scope_internal.h | 55 enum class ScopeName; member 69 Impl(const Scope& other, Tags::ScopeName, const string& name,
|
D | scope.cc | 82 Scope::Impl::Impl(const Scope& other, Tags::ScopeName, const string& name, in Impl() argument 408 return Scope(new Impl(*this, Impl::Tags::ScopeName(), impl()->name_, in NewSubScope() 415 return Scope(new Impl(*this, Impl::Tags::ScopeName(), in NewSubScope() 495 return {Scope(new Impl(*this, Impl::Tags::ScopeName(), impl()->op_name_, in GetCompositeOpScopes()
|
/external/llvm/tools/llvm-readobj/ |
D | ARMAttributeParser.cpp | 633 StringRef ScopeName, IndexName; in ParseSubsection() local 637 ScopeName = "FileAttributes"; in ParseSubsection() 640 ScopeName = "SectionAttributes"; in ParseSubsection() 645 ScopeName = "SymbolAttributes"; in ParseSubsection() 654 DictScope ASS(SW, ScopeName); in ParseSubsection()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 4043 IdentifierInfo *ScopeName) { in IsBuiltInOrStandardCXX11Attribute() argument 4045 ParsedAttr::getParsedKind(AttrName, ScopeName, ParsedAttr::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute() 4055 return !ScopeName && AttrName->getName().equals("nodiscard"); in IsBuiltInOrStandardCXX11Attribute() 4057 return !ScopeName && AttrName->getName().equals("maybe_unused"); in IsBuiltInOrStandardCXX11Attribute() 4081 IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument 4091 if (!hasAttribute(LO.CPlusPlus ? AttrSyntax::CXX : AttrSyntax::C, ScopeName, in ParseCXX11AttributeArgs() 4099 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs() 4102 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs() 4109 if (ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang"))) in ParseCXX11AttributeArgs() 4111 ScopeName, ScopeLoc, Syntax); in ParseCXX11AttributeArgs() [all …]
|
D | ParseDecl.cpp | 306 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument 325 ScopeName, ScopeLoc, T.get(), Syntax); in ParseAttributeWithTypeArg() 328 ScopeName, ScopeLoc, nullptr, 0, Syntax); in ParseAttributeWithTypeArg() 333 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument 351 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon() 415 ScopeName, ScopeLoc, TheParsedType, Syntax); in ParseAttributeArgsCommon() 417 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon() 434 IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument 442 ParsedAttr::getParsedKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs() 445 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ARMAttributeParser.cpp | 666 StringRef ScopeName, IndexName; in ParseSubsection() local 670 ScopeName = "FileAttributes"; in ParseSubsection() 673 ScopeName = "SectionAttributes"; in ParseSubsection() 678 ScopeName = "SymbolAttributes"; in ParseSubsection() 688 DictScope ASS(*SW, ScopeName); in ParseSubsection()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 3649 IdentifierInfo *ScopeName) { in IsBuiltInOrStandardCXX11Attribute() argument 3650 switch (AttributeList::getKind(AttrName, ScopeName, in IsBuiltInOrStandardCXX11Attribute() 3658 return !ScopeName && AttrName->getName().equals("nodiscard"); in IsBuiltInOrStandardCXX11Attribute() 3660 return !ScopeName && AttrName->getName().equals("maybe_unused"); in IsBuiltInOrStandardCXX11Attribute() 3684 IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument 3691 if (!hasAttribute(AttrSyntax::CXX, ScopeName, AttrName, in ParseCXX11AttributeArgs() 3699 if (ScopeName && ScopeName->getName() == "gnu") in ParseCXX11AttributeArgs() 3702 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs() 3707 ScopeName, ScopeLoc, AttributeList::AS_CXX11); in ParseCXX11AttributeArgs() 3710 if (Attr && IsBuiltInOrStandardCXX11Attribute(AttrName, ScopeName)) { in ParseCXX11AttributeArgs() [all …]
|
D | ParseDecl.cpp | 246 IdentifierInfo *ScopeName, in ParseAttributeWithTypeArg() argument 265 ScopeName, ScopeLoc, T.get(), Syntax); in ParseAttributeWithTypeArg() 268 ScopeName, ScopeLoc, nullptr, 0, Syntax); in ParseAttributeWithTypeArg() 273 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument 283 AttributeList::getKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon() 323 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon() 339 IdentifierInfo *ScopeName, in ParseGNUAttributeArgs() argument 347 AttributeList::getKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs() 350 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs() 355 ScopeName, ScopeLoc, Syntax); in ParseGNUAttributeArgs() [all …]
|
/external/llvm-project/clang/include/clang/Parse/ |
D | Parser.h | 2656 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2681 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2688 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2726 IdentifierInfo *ScopeName, 2775 IdentifierInfo *ScopeName, 2786 IdentifierInfo *ScopeName, 2794 IdentifierInfo *ScopeName, 2802 IdentifierInfo *ScopeName, 2810 IdentifierInfo *ScopeName, 2817 SourceLocation *EndLoc, IdentifierInfo *ScopeName,
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 132 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local 133 if (!ScopeName.empty()) in getPrettyScopeName() 134 return ScopeName; in getPrettyScopeName() 155 StringRef ScopeName = getPrettyScopeName(Scope); in getQualifiedNameComponents() local 156 if (!ScopeName.empty()) in getQualifiedNameComponents() 157 QualifiedNameComponents.push_back(ScopeName); in getQualifiedNameComponents() 210 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local 212 TypeTable.writeStringId(StringIdRecord(TypeIndex(), ScopeName)); in getScopeIndex()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 2130 IdentifierInfo *ScopeName, SourceLocation ScopeLoc, 2156 IdentifierInfo *ScopeName, 2195 IdentifierInfo *ScopeName, 2243 IdentifierInfo *ScopeName, 2251 IdentifierInfo *ScopeName, 2259 IdentifierInfo *ScopeName, 2267 IdentifierInfo *ScopeName,
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 264 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local 265 if (!ScopeName.empty()) in getPrettyScopeName() 266 return ScopeName; in getPrettyScopeName() 294 StringRef ScopeName = getPrettyScopeName(Scope); in collectParentScopeNames() local 295 if (!ScopeName.empty()) in collectParentScopeNames() 296 QualifiedNameComponents.push_back(ScopeName); in collectParentScopeNames() 355 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local 356 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 289 StringRef ScopeName = Scope->getName(); in getPrettyScopeName() local 290 if (!ScopeName.empty()) in getPrettyScopeName() 291 return ScopeName; in getPrettyScopeName() 312 StringRef ScopeName = getPrettyScopeName(Scope); in getQualifiedNameComponents() local 313 if (!ScopeName.empty()) in getQualifiedNameComponents() 314 QualifiedNameComponents.push_back(ScopeName); in getQualifiedNameComponents() 368 std::string ScopeName = getFullyQualifiedName(Scope); in getScopeIndex() local 369 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex()
|
/external/llvm-project/flang/include/flang/Semantics/ |
D | symbol.h | 330 ENUM_CLASS(Kind, None, ConstructName, ScopeName, PassName, ComplexPartRe,
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 2781 IdentifierInfo *ScopeName = Record.readIdentifier(); in readAttr() local 2788 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr()
|
/external/llvm-project/flang/lib/Semantics/ |
D | resolve-names.cpp | 1988 newSymbol.set_details(MiscDetails{MiscDetails::Kind::ScopeName}); in PushScope()
|