/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFAttribute.h | 30 dwarf::Attribute Attr = dwarf::Attribute(0); member in struct:llvm::DWARFAttribute 35 return Offset != 0 && Attr != dwarf::Attribute(0); 44 static bool mayHaveLocationDescription(dwarf::Attribute Attr);
|
H A D | DWARFAbbreviationDeclaration.h | 31 : Attr(A), Form(F), Value(Value) { 35 : Attr(A), Form(F) { 42 dwarf::Attribute Attr; member in struct:llvm::DWARFAbbreviationDeclaration::AttributeSpec 111 return AttributeSpecs[idx].Attr; 130 /// \param Attr DWARF attribute to search for. 134 const dwarf::Attribute Attr,
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | AliasAnalysisSummary.cpp | 32 bool hasUnknownAttr(AliasAttrs Attr) { return Attr.test(AttrUnknownIndex); } argument 35 bool hasCallerAttr(AliasAttrs Attr) { return Attr.test(AttrCaller); } argument 36 bool hasUnknownOrCallerAttr(AliasAttrs Attr) { argument 37 return Attr.test(AttrUnknownIndex) || Attr.test(AttrCallerIndex); 41 bool hasEscapedAttr(AliasAttrs Attr) { return Attr.test(AttrEscapedIndex); } argument 64 bool isGlobalOrArgAttr(AliasAttrs Attr) { argument 71 getExternallyVisibleAttrs(AliasAttrs Attr) argument [all...] |
H A D | CFLGraph.h | 70 AliasAttrs Attr; member in struct:llvm::cflaa::CFLGraph::NodeInfo 112 bool addNode(Node N, AliasAttrs Attr = AliasAttrs()) { 116 ValInfo.getNodeInfoAtLevel(N.DerefLevel).Attr |= Attr; 120 void addAttr(Node N, AliasAttrs Attr) { 123 Info->Attr |= Attr; 146 return Info->Attr; 204 void addNode(Value *Val, AliasAttrs Attr = AliasAttrs()) { 216 Graph.addNode(InstantiatedValue{Val, 0}, Attr); [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | AttrVisitor.h | 1 //===- AttrVisitor.h - Visitor for Attr subclasses --------------*- C++ -*-===// 16 #include "clang/AST/Attr.h" 31 RetTy Visit(PTR(Attr) A) { 36 DISPATCH(NAME##Attr); 39 llvm_unreachable("Attr that isn't part of AttrList.inc!"); 45 RetTy Visit##NAME##Attr(PTR(NAME##Attr) A) { DISPATCH(Attr); } 48 RetTy VisitAttr(PTR(Attr)) { return RetTy(); } 58 /// This class does not preserve constness of Attr pointer [all...] |
H A D | Attr.h | 1 //===--- Attr.h - Classes for representing attributes ----------*- C++ -*-===// 9 // This file defines the Attr interface and subclasses. 44 /// Attr - This represents one attribute. 45 class Attr : public AttributeCommonInfo { class in namespace:clang 51 /// attribute defined in Attr.td file. 78 Attr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, function in class:clang::Attr 105 Attr *clone(ASTContext &C) const; 113 class TypeAttr : public Attr { 117 : Attr(Context, CommonInfo, AK, IsLateParsed) {} 120 static bool classof(const Attr * [all...] |
H A D | ASTMutationListener.h | 16 class Attr; 126 /// \param Attr the added attribute. 128 const Attr *Attr) {} 133 virtual void DeclarationMarkedOpenMPAllocate(const Decl *D, const Attr *A) {} 144 /// \param Attr The attribute that was added to the Record 147 virtual void AddedAttributeToRecord(const Attr *Attr, argument 127 DeclarationMarkedOpenMPDeclareTarget(const Decl *D, const Attr *Attr) argument
|
H A D | AttrIterator.h | 9 // This file defines the Attr vector and specific_attr_iterator interfaces. 26 class Attr; 28 /// AttrVec - A vector of Attr, which is how they are stored on the AST. 29 using AttrVec = SmallVector<Attr *, 4>;
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Threading.inc | 64 pthread_attr_t Attr; 65 if ((errnum = ::pthread_attr_init(&Attr)) != 0) { 70 if ((errnum = ::pthread_attr_destroy(&Attr)) != 0) { 77 if ((errnum = ::pthread_attr_setstacksize(&Attr, *StackSizeInBytes)) != 0) { 84 if ((errnum = ::pthread_create(&Thread, &Attr, ThreadFunc, Arg)) != 0)
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | ARMBuildAttrs.cpp | 16 ARMBuildAttrs::AttrType Attr; member in struct:__anon4836::__anon4837 74 StringRef AttrTypeAsString(unsigned Attr, bool HasTagPrefix) { argument 75 return AttrTypeAsString(static_cast<AttrType>(Attr), HasTagPrefix); 78 StringRef AttrTypeAsString(AttrType Attr, bool HasTagPrefix) { argument 81 if (ARMAttributeTags[TI].Attr == Attr) { 95 return ARMAttributeTags[TI].Attr;
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DWARFLinker/ |
H A D | DWARFLinkerCompileUnit.cpp | 76 DeclContext *Ctxt, PatchLocation Attr) { 77 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr); 84 PatchLocation Attr; local 86 std::tie(RefDie, RefUnit, Ctxt, Attr) = Ref; 88 Attr.set(Ctxt->getCanonicalDIEOffset()); 90 Attr.set(RefDie->getOffset() + RefUnit->getStartOffset()); 109 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { argument 111 RangeAttributes.push_back(Attr); 113 UnitRangeAttribute = Attr; 116 void CompileUnit::noteLocationAttribute(PatchLocation Attr, int64_ argument 75 noteForwardReference(DIE *Die, const CompileUnit *RefUnit, DeclContext *Ctxt, PatchLocation Attr) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransGCAttrs.cpp | 67 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) { 68 if (handleAttr(Attr, D)) 70 TL = Attr.getModifiedLoc(); 110 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); local 112 Attr.Kind = Kind; 113 Attr.Loc = Loc; 114 Attr.ModifiedType = TL.getModifiedLoc().getType(); 115 Attr.Dcl = D; 116 Attr.FullyMigratable = FullyMigratable; 183 MigrationContext::GCAttrOccurrence &Attr local 199 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; local 336 GCAttrOccurrence &Attr = GCAttrs[i]; local [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Attributes.h | 37 const IdentifierInfo *Attr, const TargetInfo &Target,
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Statepoint.cpp | 54 bool llvm::isStatepointDirectiveAttr(Attribute Attr) { argument 55 return Attr.hasAttribute("statepoint-id") || 56 Attr.hasAttribute("statepoint-num-patch-bytes");
|
H A D | Attributes.cpp | 748 for (const auto &Attr : SortedAttrs) 749 Attr.Profile(ID); 776 Attribute Attr; local 779 Attr = Attribute::getWithByValType(C, B.getByValType()); 783 Attr = Attribute::getWithAlignment(C, *B.getAlignment()); 787 Attr = Attribute::getWithStackAlignment(C, *B.getStackAlignment()); 790 Attr = Attribute::getWithDereferenceableBytes( 794 Attr = Attribute::getWithDereferenceableOrNullBytes( 799 Attr = Attribute::getWithAllocSizeArgs(C, A.first, A.second); 803 Attr 1327 hasAttrSomewhere(Attribute::AttrKind Attr, unsigned *Index) const argument 1455 addAttribute(Attribute Attr) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | ParsedAttr.cpp | 76 void AttributeFactory::deallocate(ParsedAttr *Attr) { argument 77 size_t size = Attr->allocated_size(); 86 memset(Attr, 0, size); 89 // Add 'Attr' to the appropriate free-list. 90 FreeLists[freeListIndex].push_back(Attr); 113 bool (*DiagAppertainsToDecl)(Sema &S, const ParsedAttr &Attr, const Decl *); 114 bool (*DiagLangOpts)(Sema &S, const ParsedAttr &Attr); 116 unsigned (*SpellingIndexToSemanticSpelling)(const ParsedAttr &Attr);
|
H A D | SemaStmtAttr.cpp | 24 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const ParsedAttr &A, 26 FallThroughAttr Attr(S.Context, A); 29 << Attr.getSpelling() << St->getBeginLoc(); 53 static Attr *handleSuppressAttr(Sema &S, Stmt *St, const ParsedAttr &A, 76 static Attr *handleLoopHintAttr(Sema &S, Stmt *St, const ParsedAttr &A, 175 const SmallVectorImpl<const Attr *> &Attrs) { 280 static Attr *handleOpenCLUnrollHint(Sema &S, Stmt *St, const ParsedAttr &A, 321 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const ParsedAttr &A, 350 SmallVector<const Attr*, 8> Attrs; 352 if (Attr * [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | RecordStreamer.cpp | 156 MCSymbolAttr Attr = MCSA_Invalid; local 164 Attr = MCSA_Global; 168 Attr = MCSA_Weak; 187 if (Attr == MCSA_Invalid || !IsDefined) { 197 if (Attr == MCSA_Invalid) { 199 Attr = MCSA_Global; 201 Attr = MCSA_Local; 203 Attr = MCSA_Weak; 228 if (Attr != MCSA_Invalid) 229 EmitSymbolAttribute(Alias, Attr); [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangAttrEmitter.cpp | 78 GetFlattenedSpellings(const Record &Attr) { argument 79 std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings"); 162 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); 165 for (const auto *Attr : Attrs) { 166 if (Attr->getValueAsBit("SemaHandler")) { 168 if (Attr->isSubClassOf("TargetSpecificAttr") && 169 !Attr->isValueUnset("ParseKind")) { 170 AN = Attr->getValueAsString("ParseKind"); 176 Dupes->push_back(std::make_pair(AN, Attr)); 181 AN = NormalizeAttrName(Attr 198 Argument(const Record &Arg, StringRef Attr) argument 257 SimpleArgument(const Record &Arg, StringRef Attr, std::string T) argument 368 DefaultSimpleArgument(const Record &Arg, StringRef Attr, std::string T, int64_t Default) argument 387 StringArgument(const Record &Arg, StringRef Attr) argument 468 AlignedArgument(const Record &Arg, StringRef Attr) argument 642 VariadicArgument(const Record &Arg, StringRef Attr, std::string T) argument 772 VariadicParamIdxArgument(const Record &Arg, StringRef Attr) argument 786 VariadicParamOrParamIdxArgument(const Record &Arg, StringRef Attr) argument 807 EnumArgument(const Record &Arg, StringRef Attr) argument 936 VariadicEnumArgument(const Record &Arg, StringRef Attr) argument 1032 VersionArgument(const Record &Arg, StringRef Attr) argument 1094 ExprArgument(const Record &Arg, StringRef Attr) argument 1131 VariadicExprArgument(const Record &Arg, StringRef Attr) argument 1190 VariadicIdentifierArgument(const Record &Arg, StringRef Attr) argument 1197 VariadicStringArgument(const Record &Arg, StringRef Attr) argument 1220 TypeArgument(const Record &Arg, StringRef Attr) argument 1252 createArgument(const Record &Arg, StringRef Attr, const Record *Search = nullptr) argument 1966 generateStrictConformsTo(const Record &Attr, raw_ostream &OS) argument 2091 forEachUniqueSpelling(const Record &Attr, Fn &&F) argument 2128 const Record &Attr = *I.second; local [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFAbbreviationDeclaration.cpp | 133 OS << formatv("\t{0}\t{1}", Spec.Attr, Spec.Form); 142 DWARFAbbreviationDeclaration::findAttributeIndex(dwarf::Attribute Attr) const { 144 if (AttributeSpecs[i].Attr == Attr) 151 const uint64_t DIEOffset, const dwarf::Attribute Attr, 153 Optional<uint32_t> MatchAttrIndex = findAttributeIndex(Attr); 150 getAttributeValue( const uint64_t DIEOffset, const dwarf::Attribute Attr, const DWARFUnit &U) const argument
|
H A D | DWARFDie.cpp | 234 uint64_t *OffsetPtr, dwarf::Attribute Attr, 242 WithColor(OS, HighlightColor::Attribute) << formatv("{0}", Attr); 255 if (Attr == DW_AT_decl_file || Attr == DW_AT_call_file) { 266 Name = AttributeValueString(Attr, *Val); 270 else if (Attr == DW_AT_decl_line || Attr == DW_AT_call_line) 272 else if (Attr == DW_AT_high_pc && !DumpOpts.ShowForm && !DumpOpts.Verbose && 283 DWARFAttribute::mayHaveLocationDescription(Attr)) 293 if (Attr [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | MultiplexConsumer.cpp | 106 void DeclarationMarkedOpenMPAllocate(const Decl *D, const Attr *A) override; 108 const Attr *Attr) override; 110 void AddedAttributeToRecord(const Attr *Attr, 213 const Decl *D, const Attr *A) { 218 const Decl *D, const Attr *Attr) { 220 L->DeclarationMarkedOpenMPDeclareTarget(D, Attr); 229 const Attr *Att 217 DeclarationMarkedOpenMPDeclareTarget( const Decl *D, const Attr *Attr) argument 228 AddedAttributeToRecord( const Attr *Attr, const RecordDecl *Record) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 205 AttributeList Attr; local 206 Attr = Attr.addAttribute(M.getContext(), AttributeList::FunctionIndex, 209 TsanFuncEntry = M.getOrInsertFunction("__tsan_func_entry", Attr, 212 M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy()); 213 TsanIgnoreBegin = M.getOrInsertFunction("__tsan_ignore_thread_begin", Attr, 216 M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy()); 224 TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(), 228 TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(), 233 UnalignedReadName, Attr, IR [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | Attributes.cpp | 9 const IdentifierInfo *Attr, const TargetInfo &Target, 11 StringRef Name = Attr->getName(); 8 hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, const IdentifierInfo *Attr, const TargetInfo &Target, const LangOptions &LangOpts) argument
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ARMBuildAttributes.h | 85 StringRef AttrTypeAsString(unsigned Attr, bool HasTagPrefix = true); 86 StringRef AttrTypeAsString(AttrType Attr, bool HasTagPrefix = true);
|