Searched refs:Attribute (Results 1 - 25 of 415) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAttribute.h30 dwarf::Attribute Attr = dwarf::Attribute(0);
35 return Offset != 0 && Attr != dwarf::Attribute(0);
43 static bool mayHaveLocationList(dwarf::Attribute Attr);
47 static bool mayHaveLocationExpr(dwarf::Attribute Attr);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp34 constexpr bool isValidForDXIL(Attribute::AttrKind Attr) {
35 return is_contained({Attribute::Alignment,
36 Attribute::AlwaysInline,
37 Attribute::Builtin,
38 Attribute::ByVal,
39 Attribute::InAlloca,
40 Attribute::Cold,
41 Attribute::Convergent,
42 Attribute::InlineHint,
43 Attribute
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAssumeBundleQueries.h45 Attribute::AttrKind Kind,
48 Attribute::getNameFromAttrKind(Kind), ArgVal);
51 template<> struct DenseMapInfo<Attribute::AttrKind> {
52 static Attribute::AttrKind getEmptyKey() {
53 return Attribute::EmptyKey;
55 static Attribute::AttrKind getTombstoneKey() {
56 return Attribute::TombstoneKey;
58 static unsigned getHashValue(Attribute::AttrKind AK) {
61 static bool isEqual(Attribute::AttrKind LHS, Attribute
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributeMask.h30 std::bitset<Attribute::EndAttrKinds> Attrs;
39 for (Attribute A : AS)
44 AttributeMask &addAttribute(Attribute::AttrKind Val) {
45 assert((unsigned)Val < Attribute::EndAttrKinds &&
46 "Attribute out of range!");
51 /// Add the Attribute object to the builder.
52 AttributeMask &addAttribute(Attribute A) {
67 bool contains(Attribute::AttrKind A) const {
68 assert((unsigned)A < Attribute::EndAttrKinds && "Attribute ou
[all...]
H A DArgument.h162 void addAttr(Attribute::AttrKind Kind);
164 void addAttr(Attribute Attr);
167 void removeAttr(Attribute::AttrKind Kind);
172 bool hasAttribute(Attribute::AttrKind Kind) const;
174 Attribute getAttribute(Attribute::AttrKind Kind) const;
H A DAttributes.h65 class Attribute { class in namespace:llvm
114 Attribute(AttributeImpl *A) : pImpl(A) {} function in class:llvm::Attribute
117 Attribute() = default;
120 // Attribute Construction
123 /// Return a uniquified Attribute object.
124 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
125 static Attribute get(LLVMContext &Context, StringRef Kind,
127 static Attribute get(LLVMContext &Context, AttrKind Kind, Type *Ty);
129 /// Return a uniquified Attribute object that has the specific
131 static Attribute getWithAlignmen
[all...]
H A DFunction.h345 void addAttributeAtIndex(unsigned i, Attribute Attr);
348 void addFnAttr(Attribute::AttrKind Kind);
354 void addFnAttr(Attribute Attr);
360 void addRetAttr(Attribute::AttrKind Kind);
363 void addRetAttr(Attribute Attr);
369 void addParamAttr(unsigned ArgNo, Attribute::AttrKind Kind);
372 void addParamAttr(unsigned ArgNo, Attribute Attr);
378 void removeAttributeAtIndex(unsigned i, Attribute::AttrKind Kind);
384 void removeFnAttr(Attribute::AttrKind Kind);
392 void removeRetAttr(Attribute
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DStatepoint.cpp18 bool llvm::isStatepointDirectiveAttr(Attribute Attr) {
27 Attribute AttrID = AS.getFnAttr("statepoint-id");
34 Attribute AttrNumPatchBytes = AS.getFnAttr("statepoint-num-patch-bytes");
H A DAttributeImpl.h1 //===- AttributeImpl.h - Attribute Internals --------------------*- C++ -*-===//
63 bool hasAttribute(Attribute::AttrKind A) const;
66 Attribute::AttrKind getKindAsEnum() const;
89 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind) {
90 assert(Attribute::isEnumAttrKind(Kind) && "Expected enum attribute");
94 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind,
96 assert(Attribute::isIntAttrKind(Kind) && "Expected int attribute");
106 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind,
120 /// represented by Attribute::AttrKind; alignment attribute entries; and string
124 Attribute
[all...]
H A DAttributes.cpp10 // This file implements the Attribute, AttributeImpl, AttrBuilder,
47 // Attribute Construction Methods
92 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind,
94 bool IsIntAttr = Attribute::isIntAttrKind(Kind);
95 assert((IsIntAttr || Attribute::isEnumAttrKind(Kind)) &&
119 // Return the Attribute that we found or created.
120 return Attribute(PA);
123 Attribute Attribut
[all...]
H A DAssumptions.cpp24 bool hasAssumption(const Attribute &A,
36 DenseSet<StringRef> getAssumptions(const Attribute &A) {
62 Site.addFnAttr(llvm::Attribute::get(
72 const Attribute &A = F.getFnAttribute(AssumptionAttrKey);
82 const Attribute &A = CB.getFnAttr(AssumptionAttrKey);
87 const Attribute &A = F.getFnAttribute(AssumptionAttrKey);
92 const Attribute &A = CB.getFnAttr(AssumptionAttrKey);
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDIEHash.h89 void hashDIEEntry(dwarf::Attribute Attribute, dwarf::Tag Tag,
95 void hashShallowTypeReference(dwarf::Attribute Attribute, const DIE &Entry,
99 void hashRepeatedTypeReference(dwarf::Attribute Attribute,
H A DDwarfUnit.h84 void addAttribute(DIEValueList &Die, dwarf::Attribute Attribute, argument
88 // Attribute 0 is used when emitting form-encoded values in blocks, which
91 if (Attribute != 0 && Asm->TM.Options.DebugStrictDwarf &&
92 DD->getDwarfVersion() < dwarf::AttributeVersion(Attribute))
96 DIEValue(Attribute, Form, std::forward<T>(Value)));
154 void addFlag(DIE &Die, dwarf::Attribute Attribute);
157 void addUInt(DIEValueList &Die, dwarf::Attribute Attribute,
[all...]
H A DDIEHash.cpp114 LLVM_DEBUG(dbgs() << "Attribute: "
129 void DIEHash::hashShallowTypeReference(dwarf::Attribute Attribute, argument
135 addULEB128(Attribute);
155 void DIEHash::hashRepeatedTypeReference(dwarf::Attribute Attribute, argument
161 addULEB128(Attribute);
168 void DIEHash::hashDIEEntry(dwarf::Attribute Attribute, dwarf::Tag Tag, argument
183 Attribute
249 dwarf::Attribute Attribute = Value.getAttribute(); local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYELFStreamer.h35 AttributeItem *getAttributeItem(unsigned Attribute) { argument
37 if (Contents[i].Tag == Attribute)
42 void setAttributeItem(unsigned Attribute, unsigned Value, argument
45 if (AttributeItem *Item = getAttributeItem(Attribute)) {
54 Contents.push_back({AttributeType::Numeric, Attribute, Value, ""});
57 void setAttributeItem(unsigned Attribute, StringRef Value, argument
60 if (AttributeItem *Item = getAttributeItem(Attribute)) {
69 Contents.push_back({AttributeType::Text, Attribute, 0, std::string(Value)});
72 void setAttributeItems(unsigned Attribute, unsigned IntValue, argument
75 if (AttributeItem *Item = getAttributeItem(Attribute)) {
[all...]
H A DCSKYTargetStreamer.h62 virtual void emitTextAttribute(unsigned Attribute, StringRef String);
63 virtual void emitAttribute(unsigned Attribute, unsigned Value);
99 void emitAttribute(unsigned Attribute, unsigned Value) override;
100 void emitTextAttribute(unsigned Attribute, StringRef String) override;
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DForceFunctionAttrs.cpp57 return Attribute::None;
62 auto Kind = Attribute::getAttrKindFromName(AttributeText);
63 if (Kind == Attribute::None || !Attribute::canUseAsFnAttr(Kind)) {
72 if (Kind == Attribute::None || F.hasFnAttribute(Kind))
79 if (Kind == Attribute::None || !F.hasFnAttribute(Kind))
112 auto AttrKind = Attribute::getAttrKindFromName(SplitPair.second);
113 if (AttrKind != Attribute::None &&
114 Attribute::canUseAsFnAttr(AttrKind)) {
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVTargetStreamer.h54 virtual void emitAttribute(unsigned Attribute, unsigned Value);
56 virtual void emitTextAttribute(unsigned Attribute, StringRef String);
57 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
73 void emitAttribute(unsigned Attribute, unsigned Value) override;
74 void emitTextAttribute(unsigned Attribute, StringRef String) override;
75 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
H A DRISCVTargetStreamer.cpp39 void RISCVTargetStreamer::emitAttribute(unsigned Attribute, unsigned Value) {} argument
41 void RISCVTargetStreamer::emitTextAttribute(unsigned Attribute, argument
43 void RISCVTargetStreamer::emitIntTextAttribute(unsigned Attribute, argument
138 void RISCVTargetAsmStreamer::emitAttribute(unsigned Attribute, unsigned Value) { argument
139 OS << "\t.attribute\t" << Attribute << ", " << Twine(Value) << "\n";
142 void RISCVTargetAsmStreamer::emitTextAttribute(unsigned Attribute, argument
144 OS << "\t.attribute\t" << Attribute << ", \"" << String << "\"\n";
147 void RISCVTargetAsmStreamer::emitIntTextAttribute(unsigned Attribute, argument
/freebsd-current/contrib/llvm-project/llvm/lib/WindowsManifest/
H A DWindowsManifestMerger.cpp98 for (xmlAttrPtr Attribute = Node->properties; Attribute != nullptr;
99 Attribute = Attribute->next) {
100 if (xmlStringsEqual(Attribute->name, AttributeName)) {
101 return Attribute;
208 for (xmlAttrPtr Attribute = AdditionalNode->properties; Attribute;
209 Attribute = Attribute
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp910 case Attribute::AllocSize:
911 case Attribute::Builtin:
912 case Attribute::Convergent:
913 case Attribute::JumpTable:
914 case Attribute::Naked:
915 case Attribute::NoBuiltin:
916 case Attribute::NoMerge:
917 case Attribute::NoReturn:
918 case Attribute::NoSync:
919 case Attribute
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetFrameLoweringImpl.cpp33 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) &&
34 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) &&
35 !MF.getFunction().hasFnAttribute(Attribute::UWTable));
107 if (MF.getFunction().hasFnAttribute(Attribute::Naked))
117 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) &&
118 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) &&
119 !MF.getFunction().hasFnAttribute(Attribute::UWTable) &&
145 !F.hasFnAttribute(Attribute::NoRecurse))
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDIE.h51 dwarf::Attribute Attribute; member in class:llvm::DIEAbbrevData
60 DIEAbbrevData(dwarf::Attribute A, dwarf::Form F)
61 : Attribute(A), Form(F) {}
62 DIEAbbrevData(dwarf::Attribute A, int64_t V)
63 : Attribute(A), Form(dwarf::DW_FORM_implicit_const), Value(V) {}
67 dwarf::Attribute getAttribute() const { return Attribute; }
109 void AddAttribute(dwarf::Attribute Attribute, dwar argument
114 AddImplicitConstAttribute(dwarf::Attribute Attribute, int64_t Value) argument
385 dwarf::Attribute Attribute = (dwarf::Attribute)0; member in class:llvm::DIEValue
745 addValue(BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Form Form, T &&Value) argument
752 replaceValue(BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Attribute NewAttribute, dwarf::Form Form, T &&NewValue) argument
767 replaceValue(BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Form Form, T &&NewValue) argument
779 replaceValue(BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Form Form, DIEValue &NewValue) argument
791 deleteValue(dwarf::Attribute Attribute) argument
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/
H A Ddwarf.h24 typedef llvm::dwarf::Attribute dw_attr_t;
/freebsd-current/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDIEGenerator.h50 std::pair<DIEValue &, size_t> addScalarAttribute(dwarf::Attribute Attr,
57 std::pair<DIEValue &, size_t> addLocationAttribute(dwarf::Attribute Attr,
63 Allocator, static_cast<dwarf::Attribute>(0), dwarf::DW_FORM_data1,
71 std::pair<DIEValue &, size_t> addBlockAttribute(dwarf::Attribute Attr,
85 Allocator, static_cast<dwarf::Attribute>(0), dwarf::DW_FORM_data1,
93 std::pair<DIEValue &, size_t> addLocListAttribute(dwarf::Attribute Attr,
100 std::pair<DIEValue &, size_t> addIndexedStringAttribute(dwarf::Attribute Attr,
109 addStringPlaceholderAttribute(dwarf::Attribute Attr, dwarf::Form AttrForm) {
116 std::pair<DIEValue &, size_t> addInplaceString(dwarf::Attribute Attr,
121 Allocator, static_cast<dwarf::Attribute>(
[all...]

Completed in 480 milliseconds

1234567891011>>