/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | AttributeCommonInfo.h | 62 const IdentifierInfo *AttrName = nullptr; member in class:clang::AttributeCommonInfo 84 AttributeCommonInfo(const IdentifierInfo *AttrName, argument 87 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), 89 AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)), 92 AttributeCommonInfo(const IdentifierInfo *AttrName, argument 95 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), 99 AttributeCommonInfo(const IdentifierInfo *AttrName, argument 103 : AttrName(AttrNam 107 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, Syntax SyntaxUsed) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | Attributes.cpp | 53 static StringRef normalizeAttrName(StringRef AttrName, argument 64 if (ShouldNormalize && AttrName.size() >= 4 && AttrName.startswith("__") && 65 AttrName.endswith("__")) 66 AttrName = AttrName.slice(2, AttrName.size() - 2); 68 return AttrName; 81 StringRef AttrName = Name->getName(); local 87 AttrName [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAnnotateKernelFeatures.cpp | 210 for (StringRef AttrName : AttrNames) 211 handleAttr(Parent, Callee, AttrName); 295 StringRef AttrName = intrinsicToAttrName(IID, local 297 if (!AttrName.empty() && (IsFunc || !NonKernelOnly)) { 298 F.addFnAttr(AttrName);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 175 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local 176 if (!AttrName) 182 attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0, 188 if (!LateAttrs || !isAttributeLateParsed(*AttrName)) { 189 ParseGNUAttributeArgs(AttrName, AttrNameLoc, attrs, endLoc, nullptr, 196 new LateParsedAttribute(this, *AttrName, AttrNameLoc); 301 void Parser::ParseAttributeWithTypeArg(IdentifierInfo &AttrName, argument 322 Attrs.addNewTypeAttr(&AttrName, 326 Attrs.addNew(&AttrName, SourceRange(AttrNameLoc, Parens.getCloseLocation()), 331 IdentifierInfo *AttrName, SourceLocatio 330 ParseAttributeArgsCommon( IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc, ParsedAttr::Syntax Syntax) argument 429 ParseGNUAttributeArgs(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc, ParsedAttr::Syntax Syntax, Declarator *D) argument 484 ParseClangAttributeArgs( IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc, ParsedAttr::Syntax Syntax) argument 517 ParseMicrosoftDeclSpecArgs(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs) argument 694 IdentifierInfo *AttrName; local 746 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local 797 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local 807 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local 815 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local 828 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local 1560 ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc, ParsedAttr::Syntax Syntax) argument 3543 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local [all...] |
H A D | ParseDeclCXX.cpp | 1245 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local 1247 attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0, 3985 static bool IsBuiltInOrStandardCXX11Attribute(IdentifierInfo *AttrName, argument 3988 ParsedAttr::getParsedKind(AttrName, ScopeName, ParsedAttr::AS_CXX11)) { 3996 return !ScopeName && AttrName->getName().equals("nodiscard"); 3998 return !ScopeName && AttrName->getName().equals("maybe_unused"); 4018 bool Parser::ParseCXX11AttributeArgs(IdentifierInfo *AttrName, argument 4033 AttrName, getTargetInfo(), getLangOpts())) { 4043 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, 4051 NumArgs = ParseClangAttributeArgs(AttrName, AttrNameLo 4148 IdentifierInfo *ScopeName = nullptr, *AttrName = nullptr; local [all...] |
H A D | ParseObjc.cpp | 860 SourceLocation AttrName = ConsumeToken(); // consume last attribute name local 961 Diag(AttrName, diag::err_objc_expected_property_attr) << II; 2377 SourceLocation AttrName = ConsumeToken(); // consume attribute name local 2386 Diag(AttrName, diag::err_objc_expected_property_attr) << II;
|
H A D | ParsePragma.cpp | 1448 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local 1452 Attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0, 1455 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, /*EndLoc=*/nullptr,
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 1196 IdentifierInfo &AttrName; member in struct:clang::LateParsedAttribute 1203 : Self(P), AttrName(Name), AttrNameLoc(Loc) {} 2522 ParseAttributeArgsCommon(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, 2546 void ParseGNUAttributeArgs(IdentifierInfo *AttrName, 2554 ParseClangAttributeArgs(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, 2589 bool ParseCXX11AttributeArgs(IdentifierInfo *AttrName, 2613 bool ParseMicrosoftDeclSpecArgs(IdentifierInfo *AttrName, 2664 void ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName, 2673 ParseAttributeWithTypeArg(IdentifierInfo &AttrName,
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | SampleProf.h | 504 auto AttrName = "sample-profile-suffix-elision-policy"; local 505 auto Attr = F.getFnAttribute(AttrName).getValueAsString();
|
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangAttrEmitter.cpp | 135 static StringRef NormalizeAttrName(StringRef AttrName) { argument 136 AttrName.consume_front("__"); 137 AttrName.consume_back("__"); 138 return AttrName; 3270 static bool isArgVariadic(const Record &R, StringRef AttrName) { 3271 return createArgument(R, AttrName)->isVariadic(); 3743 std::string AttrName; 3746 AttrName = Attr.getValueAsString("ParseKind"); 3747 if (Seen.find(AttrName) != Seen.end()) 3749 Seen.insert(AttrName); [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 335 StringRef AttrName = cast<MDString>(NameMD)->getString(); 338 return !AttrName.startswith(InheritOptionsExceptPrefix);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | JSONNodeDumper.cpp | 21 const char *AttrName = nullptr; local 25 AttrName = #X"Attr"; \ 31 JOS.attribute("kind", AttrName);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 1678 static bool normalizeName(StringRef &AttrName) { argument 1679 if (AttrName.size() > 4 && AttrName.startswith("__") && 1680 AttrName.endswith("__")) { 1681 AttrName = AttrName.drop_front(2).drop_back(2); 6330 StringRef AttrName = AL.getAttrName()->getName(); local 6331 normalizeName(AttrName); 6332 StringRef SanitizerName = llvm::StringSwitch<StringRef>(AttrName)
|
H A D | SemaType.cpp | 7548 StringRef AttrName = Attr.getAttrName()->getName(); local 7549 if (PrevAccessQual == AttrName.ltrim("_")) { 7552 << AttrName << Attr.getRange();
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 2765 IdentifierInfo *AttrName = Record.readIdentifier(); local 2773 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc,
|