Home
last modified time | relevance | path

Searched refs:AttrKind (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm/include/llvm/IR/
DAttributes.h64 enum AttrKind { enum
84 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
112 bool hasAttribute(AttrKind Val) const;
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 Kind) const;
296 bool hasAttrSomewhere(Attribute::AttrKind Attr) const;
299 Attribute getAttribute(unsigned Index, Attribute::AttrKind Kind) const;
[all …]
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);
DCallSite.h258 bool hasFnAttr(Attribute::AttrKind A) const { in hasFnAttr()
263 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr()
274 bool dataOperandHasImpliedAttr(unsigned i, Attribute::AttrKind A) const { in dataOperandHasImpliedAttr()
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 A) const;
3737 bool hasFnAttrImpl(Attribute::AttrKind A) const;
DStatepoint.h180 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr()
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/llvm/lib/IR/
DAttributeImpl.h56 bool hasAttribute(Attribute::AttrKind A) const;
59 Attribute::AttrKind getKindAsEnum() const;
76 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind, in Profile()
87 static uint64_t getAttrMask(Attribute::AttrKind Val);
99 Attribute::AttrKind Kind;
102 EnumAttributeImpl(AttrEntryKind ID, Attribute::AttrKind Kind) in EnumAttributeImpl()
106 EnumAttributeImpl(Attribute::AttrKind Kind) in EnumAttributeImpl()
109 Attribute::AttrKind getEnumKind() const { return Kind; } in getEnumKind()
117 IntAttributeImpl(Attribute::AttrKind Kind, uint64_t Val) in IntAttributeImpl()
163 bool hasAttribute(Attribute::AttrKind Kind) const;
[all …]
DAttributes.cpp34 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get()
119 Attribute::AttrKind Attribute::getKindAsEnum() const { in getKindAsEnum()
147 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute()
350 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const { in hasAttribute()
360 Attribute::AttrKind AttributeImpl::getKindAsEnum() const { in getKindAsEnum()
402 uint64_t AttributeImpl::getAttrMask(Attribute::AttrKind Val) { in getAttrMask()
504 bool AttributeSetNode::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
518 Attribute AttributeSetNode::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
587 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in Raw()
688 for (Attribute::AttrKind Kind = Attribute::None; in get()
[all …]
DInstructions.cpp315 void CallInst::addAttribute(unsigned i, Attribute::AttrKind attr) { in addAttribute()
348 bool CallInst::paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr()
359 Attribute::AttrKind A) const { in dataOperandHasImpliedAttr()
612 bool InvokeInst::hasFnAttrImpl(Attribute::AttrKind A) const { in hasFnAttrImpl()
626 bool InvokeInst::paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr()
637 Attribute::AttrKind A) const { in dataOperandHasImpliedAttr()
654 void InvokeInst::addAttribute(unsigned i, Attribute::AttrKind attr) { in addAttribute()
DFunction.cpp339 void Function::addAttribute(unsigned i, Attribute::AttrKind attr) { in addAttribute()
/external/clang/include/clang/AST/
DAttr.h47 unsigned AttrKind : 16; variable
80 : Range(R), AttrKind(AK), SpellingListIndex(SpellingListIndex), in Attr()
87 return static_cast<attr::Kind>(AttrKind); in getKind()
/external/clang/include/clang/Sema/
DAttributeList.h125 unsigned AttrKind : 8; variable
225 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
248 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
268 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
287 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
300 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
314 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
370 Kind getKind() const { return Kind(AttrKind); } in getKind()
/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp122 ObjCPropertyDecl::PropertyAttributeKind AttrKind = in TraverseObjCMethodDecl() local
124 if (AttrKind & in TraverseObjCMethodDecl()
DTransforms.h88 enum AttrKind { Weak, Strong } Kind; enum
DTransGCAttrs.cpp103 MigrationContext::GCAttrOccurrence::AttrKind Kind; in handleAttr()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp44 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrLen()
67 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrChr()
94 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrNCmp()
193 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitMemChr()
217 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitMemCmp()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp404 static Attribute::AttrKind
598 Attribute::AttrKind R = determinePointerReadAttrs(&*A, Self); in addArgumentAttrs()
687 Attribute::AttrKind ReadAttr = Attribute::ReadNone; in addArgumentAttrs()
690 Attribute::AttrKind K = determinePointerReadAttrs(A, ArgumentSCCNodes); in addArgumentAttrs()
1854 static Attribute::AttrKind parseAttrKind(StringRef Kind) { in parseAttrKind()
1855 return StringSwitch<Attribute::AttrKind>(Kind) in parseAttrKind()
/external/llvm/lib/Analysis/
DInlineCost.cpp119 bool paramHasAttr(Argument *A, Attribute::AttrKind Attr);
517 bool CallAnalyzer::paramHasAttr(Argument *A, Attribute::AttrKind Attr) { in paramHasAttr()
1354 template<typename AttrKind>
1355 static bool attributeMatches(Function *F1, Function *F2, AttrKind Attr) { in attributeMatches()
/external/llvm/docs/
DHowToUseAttributes.rst23 ``Attribute::AttrKind`` enum), a string representing a target-dependent
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h81 static attr::Kind getAttrKind(llvm::StringRef AttrKind) {
82 return llvm::StringSwitch<attr::Kind>(AttrKind)
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp166 Attribute::AttrKind AK[] = { Attribute::NoCapture }; in TEST_F()
/external/llvm/lib/AsmParser/
DLLParser.h240 bool ParseOptionalDerefAttrBytes(lltok::Kind AttrKind, uint64_t &Bytes);
/external/clang/lib/Parse/
DParseDecl.cpp281 AttributeList::Kind AttrKind = in ParseAttributeArgsCommon() local
286 if (AttrKind == AttributeList::UnknownAttribute || in ParseAttributeArgsCommon()
287 AttrKind == AttributeList::IgnoredAttribute) { in ParseAttributeArgsCommon()
345 AttributeList::Kind AttrKind = in ParseGNUAttributeArgs() local
348 if (AttrKind == AttributeList::AT_Availability) { in ParseGNUAttributeArgs()
352 } else if (AttrKind == AttributeList::AT_ObjCBridgeRelated) { in ParseGNUAttributeArgs()
356 } else if (AttrKind == AttributeList::AT_TypeTagForDatatype) { in ParseGNUAttributeArgs()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4638 AST_MATCHER_P(Decl, hasAttr, attr::Kind, AttrKind) { in AST_MATCHER_P() argument
4640 if (Attr->getKind() == AttrKind) in AST_MATCHER_P()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp379 std::error_code parseAttrKind(uint64_t Code, Attribute::AttrKind *Kind);
1216 static Attribute::AttrKind getAttrFromCode(uint64_t Code) { in getAttrFromCode()
1330 Attribute::AttrKind *Kind) { in parseAttrKind()
1377 Attribute::AttrKind Kind; in parseAttributeGroupBlock()
1383 Attribute::AttrKind Kind; in parseAttributeGroupBlock()

12