Searched refs:AttrKind (Results 1 - 25 of 32) sorted by relevance

12

/external/llvm/lib/IR/
H A DAttributeImpl.h56 bool hasAttribute(Attribute::AttrKind A) const;
59 Attribute::AttrKind getKindAsEnum() const;
76 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind,
87 static uint64_t getAttrMask(Attribute::AttrKind Val);
94 /// represented by Attribute::AttrKind; alignment attribute entries; and string
99 Attribute::AttrKind Kind;
102 EnumAttributeImpl(AttrEntryKind ID, Attribute::AttrKind Kind)
106 EnumAttributeImpl(Attribute::AttrKind Kind)
109 Attribute::AttrKind getEnumKind() const { return Kind; }
117 IntAttributeImpl(Attribute::AttrKind Kin
[all...]
H A DAttributes.cpp34 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind,
119 Attribute::AttrKind Attribute::getKindAsEnum() const {
147 bool Attribute::hasAttribute(AttrKind Kind) const {
350 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const {
360 Attribute::AttrKind AttributeImpl::getKindAsEnum() const {
402 uint64_t AttributeImpl::getAttrMask(Attribute::AttrKind Val) {
504 bool AttributeSetNode::hasAttribute(Attribute::AttrKind Kind) const {
518 Attribute AttributeSetNode::getAttribute(Attribute::AttrKind Kind) const {
587 Attribute::AttrKind Kind = Attr.getKindAsEnum();
688 for (Attribute::AttrKind Kin
[all...]
H A DInstructions.cpp315 void CallInst::addAttribute(unsigned i, Attribute::AttrKind attr) {
348 bool CallInst::paramHasAttr(unsigned i, Attribute::AttrKind A) const {
359 Attribute::AttrKind A) const {
612 bool InvokeInst::hasFnAttrImpl(Attribute::AttrKind A) const {
626 bool InvokeInst::paramHasAttr(unsigned i, Attribute::AttrKind A) const {
637 Attribute::AttrKind A) const {
654 void InvokeInst::addAttribute(unsigned i, Attribute::AttrKind attr) {
H A DFunction.cpp339 void Function::addAttribute(unsigned i, Attribute::AttrKind attr) {
/external/llvm/include/llvm/IR/
H A DAttributes.h64 enum AttrKind { enum in class:llvm::Attribute
84 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
101 /// \brief Return true if the attribute is an Attribute::AttrKind type.
112 bool hasAttribute(AttrKind Val) const;
117 /// \brief Return the attribute's kind as an enum (Attribute::AttrKind). This
119 Attribute::AttrKind getKindAsEnum() const;
215 ArrayRef<Attribute::AttrKind> Kind);
221 Attribute::AttrKind Attr) const;
244 Attribute::AttrKind Attr) const;
286 bool hasAttribute(unsigned Index, Attribute::AttrKind Kin
[all...]
H A DFunction.h171 void addFnAttr(Attribute::AttrKind N) {
177 void removeFnAttr(Attribute::AttrKind N) {
201 bool hasFnAttribute(Attribute::AttrKind Kind) const {
209 Attribute getFnAttribute(Attribute::AttrKind Kind) const {
229 void addAttribute(unsigned i, Attribute::AttrKind attr);
H A DCallSite.h258 bool hasFnAttr(Attribute::AttrKind A) const {
263 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const {
274 bool dataOperandHasImpliedAttr(unsigned i, Attribute::AttrKind A) const {
H A DStatepoint.h180 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const {
H A DInstructions.h1610 void addAttribute(unsigned i, Attribute::AttrKind attr);
1626 bool hasFnAttr(Attribute::AttrKind A) const {
1638 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const;
1653 bool dataOperandHasImpliedAttr(unsigned i, Attribute::AttrKind A) const;
1803 template <typename AttrKind> bool hasFnAttrImpl(AttrKind A) const {
3534 void addAttribute(unsigned i, Attribute::AttrKind attr);
3547 bool hasFnAttr(Attribute::AttrKind A) const {
3554 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const;
3570 bool dataOperandHasImpliedAttr(unsigned i, Attribute::AttrKind
[all...]
H A DInstrTypes.h1194 bool operandHasAttr(unsigned Idx, Attribute::AttrKind A) const {
1454 bool bundleOperandHasAttr(unsigned OpIdx, Attribute::AttrKind A) const {
1483 bool isFnAttrDisallowedByOpBundle(Attribute::AttrKind A) const {
/external/clang/include/clang/AST/
H A DAttr.h47 unsigned AttrKind : 16;
80 : Range(R), AttrKind(AK), SpellingListIndex(SpellingListIndex),
87 return static_cast<attr::Kind>(AttrKind);
H A DType.h1433 unsigned AttrKind : 32 - NumTypeBits;
3656 AttributedTypeBits.AttrKind = attrKind;
3661 return static_cast<Kind>(AttributedTypeBits.AttrKind);
/external/clang/include/clang/Sema/
H A DAttributeList.h125 unsigned AttrKind : 8;
225 AttrKind = getKind(getName(), getScopeName(), syntaxUsed);
248 AttrKind = getKind(getName(), getScopeName(), syntaxUsed);
268 AttrKind = getKind(getName(), getScopeName(), syntaxUsed);
287 AttrKind = getKind(getName(), getScopeName(), syntaxUsed);
300 AttrKind = getKind(getName(), getScopeName(), syntaxUsed);
314 AttrKind = getKind(getName(), getScopeName(), syntaxUsed);
370 Kind getKind() const { return Kind(AttrKind); }
/external/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp122 ObjCPropertyDecl::PropertyAttributeKind AttrKind = local
124 if (AttrKind &
H A DTransforms.h88 enum AttrKind { Weak, Strong } Kind; enum in struct:clang::arcmt::trans::MigrationContext::GCAttrOccurrence
H A DTransGCAttrs.cpp103 MigrationContext::GCAttrOccurrence::AttrKind Kind;
/external/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp44 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind };
67 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind };
94 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind };
193 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind };
217 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind };
/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp404 static Attribute::AttrKind
598 Attribute::AttrKind R = determinePointerReadAttrs(&*A, Self);
687 Attribute::AttrKind ReadAttr = Attribute::ReadNone;
690 Attribute::AttrKind K = determinePointerReadAttrs(A, ArgumentSCCNodes);
1854 static Attribute::AttrKind parseAttrKind(StringRef Kind) {
1855 return StringSwitch<Attribute::AttrKind>(Kind)
/external/llvm/lib/Analysis/
H A DInlineCost.cpp119 bool paramHasAttr(Argument *A, Attribute::AttrKind Attr);
517 bool CallAnalyzer::paramHasAttr(Argument *A, Attribute::AttrKind Attr) {
1354 template<typename AttrKind>
1355 static bool attributeMatches(Function *F1, Function *F2, AttrKind Attr) {
/external/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h81 static attr::Kind getAttrKind(llvm::StringRef AttrKind) { argument
82 return llvm::StringSwitch<attr::Kind>(AttrKind)
/external/llvm/lib/AsmParser/
H A DLLParser.h240 bool ParseOptionalDerefAttrBytes(lltok::Kind AttrKind, uint64_t &Bytes);
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp166 Attribute::AttrKind AK[] = { Attribute::NoCapture };
/external/clang/lib/Parse/
H A DParseDecl.cpp281 AttributeList::Kind AttrKind = local
286 if (AttrKind == AttributeList::UnknownAttribute ||
287 AttrKind == AttributeList::IgnoredAttribute) {
345 AttributeList::Kind AttrKind = local
348 if (AttrKind == AttributeList::AT_Availability) {
352 } else if (AttrKind == AttributeList::AT_ObjCBridgeRelated) {
356 } else if (AttrKind == AttributeList::AT_TypeTagForDatatype) {
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4638 AST_MATCHER_P(Decl, hasAttr, attr::Kind, AttrKind) {
4640 if (Attr->getKind() == AttrKind)
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp379 std::error_code parseAttrKind(uint64_t Code, Attribute::AttrKind *Kind);
1216 static Attribute::AttrKind getAttrFromCode(uint64_t Code) {
1330 Attribute::AttrKind *Kind) {
1377 Attribute::AttrKind Kind;
1383 Attribute::AttrKind Kind;

Completed in 239 milliseconds

12