Home
last modified time | relevance | path

Searched refs:hasAttribute (Results 1 – 25 of 95) sorted by relevance

1234

/external/llvm/lib/IR/
DAttributes.cpp185 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute() function in Attribute
186 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
189 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute
191 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
195 assert(hasAttribute(Attribute::Alignment) && in getAlignment()
201 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
207 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes()
214 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes()
221 assert(hasAttribute(Attribute::AllocSize) && in getAllocSizeArgs()
229 if (hasAttribute(Attribute::SanitizeAddress)) in getAsString()
[all …]
DVerifier.cpp1337 Assert(!Attrs.hasAttribute(Idx, Attribute::ByVal) && in verifyParameterAttrs()
1338 !Attrs.hasAttribute(Idx, Attribute::Nest) && in verifyParameterAttrs()
1339 !Attrs.hasAttribute(Idx, Attribute::StructRet) && in verifyParameterAttrs()
1340 !Attrs.hasAttribute(Idx, Attribute::NoCapture) && in verifyParameterAttrs()
1341 !Attrs.hasAttribute(Idx, Attribute::Returned) && in verifyParameterAttrs()
1342 !Attrs.hasAttribute(Idx, Attribute::InAlloca) && in verifyParameterAttrs()
1343 !Attrs.hasAttribute(Idx, Attribute::SwiftSelf) && in verifyParameterAttrs()
1344 !Attrs.hasAttribute(Idx, Attribute::SwiftError), in verifyParameterAttrs()
1353 AttrCount += Attrs.hasAttribute(Idx, Attribute::ByVal); in verifyParameterAttrs()
1354 AttrCount += Attrs.hasAttribute(Idx, Attribute::InAlloca); in verifyParameterAttrs()
[all …]
DFunction.cpp79 hasAttribute(getArgNo()+1, Attribute::NonNull)) in hasNonNullAttr()
91 return hasAttribute(Attribute::ByVal); in hasByValAttr()
96 hasAttribute(getArgNo()+1, Attribute::SwiftSelf); in hasSwiftSelfAttr()
101 hasAttribute(getArgNo()+1, Attribute::SwiftError); in hasSwiftErrorAttr()
108 return hasAttribute(Attribute::InAlloca); in hasInAllocaAttr()
114 return Attrs.hasAttribute(getArgNo() + 1, Attribute::ByVal) || in hasByValOrInAllocaAttr()
115 Attrs.hasAttribute(getArgNo() + 1, Attribute::InAlloca); in hasByValOrInAllocaAttr()
140 return hasAttribute(Attribute::Nest); in hasNestAttr()
147 return hasAttribute(Attribute::NoAlias); in hasNoAliasAttr()
154 return hasAttribute(Attribute::NoCapture); in hasNoCaptureAttr()
[all …]
DStatepoint.cpp52 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr()
53 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
DAttributeImpl.h59 bool hasAttribute(Attribute::AttrKind A) const;
60 bool hasAttribute(StringRef Kind) const;
183 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function
186 bool hasAttribute(StringRef Kind) const;
/external/llvm/include/llvm/IR/
DFunction.h203 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
249 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const {
250 return getAttributes().hasAttribute(i, Kind);
395 return AttributeSets.hasAttribute(1, Attribute::StructRet) ||
396 AttributeSets.hasAttribute(2, Attribute::StructRet);
403 return AttributeSets.hasAttribute(n, Attribute::NoAlias);
412 return AttributeSets.hasAttribute(n, Attribute::NoCapture);
419 return AttributeSets.hasAttribute(n, Attribute::ReadNone);
427 AttributeSets.hasAttribute(n, Attribute::ReadOnly);
DAttributes.h118 bool hasAttribute(AttrKind Val) const;
121 bool hasAttribute(StringRef Val) const;
328 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
331 bool hasAttribute(unsigned Index, StringRef Kind) const;
DArgument.h141 bool hasAttribute(Attribute::AttrKind Kind) const;
/external/deqp/executor/
DxeTestCaseListParser.cpp104 …const char* name = m_xmlParser.hasAttribute("Name") ? m_xmlParser.getAttribute("Name") : DE_… in parse()
105 …const char* description = m_xmlParser.hasAttribute("Description") ? m_xmlParser.getAttribute("Des… in parse()
106 …const char* caseType = m_xmlParser.hasAttribute("CaseType") ? m_xmlParser.getAttribute("CaseType… in parse()
DxeTestResultParser.cpp386 if (!m_xmlParser.hasAttribute(name)) in getAttribute()
458 if (m_xmlParser.hasAttribute("CaseType")) in handleElementStart()
508 if (m_xmlParser.hasAttribute("Tag")) in handleElementStart()
605 …set->description = m_xmlParser.hasAttribute("Description") ? m_xmlParser.getAttribute("Description… in handleElementStart()
680 if (m_xmlParser.hasAttribute("Unit")) in handleElementStart()
/external/eyes-free/AccessCheck/src/com/android/accessibility/
DAccessibilityValidationContentHandler.java134 boolean hasAttribute = false; in startElement()
139 hasAttribute = true; in startElement()
148 if (!hasAttribute) { in startElement()
/external/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp140 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
143 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
147 !F.getFnAttribute("mips16").hasAttribute(Attribute::None); in getSubtargetImpl()
149 !F.getFnAttribute("nomips16").hasAttribute(Attribute::None); in getSubtargetImpl()
/external/llvm/lib/CodeGen/
DXRayInstrumentation.cpp43 bool AlwaysInstrument = !InstrAttr.hasAttribute(Attribute::None) && in runOnMachineFunction()
49 if (Attr.hasAttribute(Attribute::None) || !Attr.isStringAttribute()) in runOnMachineFunction()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp570 if (Attrs.hasAttribute(i+1, Attribute::ByVal) || in fastLowerArguments()
571 Attrs.hasAttribute(i+1, Attribute::SwiftSelf) || in fastLowerArguments()
572 Attrs.hasAttribute(i+1, Attribute::SwiftError) || in fastLowerArguments()
573 Attrs.hasAttribute(i+1, Attribute::InAlloca) || in fastLowerArguments()
574 Attrs.hasAttribute(i+1, Attribute::Nest)) in fastLowerArguments()
676 if (Attrs.hasAttribute(i+1, Attribute::ByVal) || in selectCall()
677 Attrs.hasAttribute(i+1, Attribute::SwiftSelf) || in selectCall()
678 Attrs.hasAttribute(i+1, Attribute::SwiftError) || in selectCall()
679 Attrs.hasAttribute(i+1, Attribute::InAlloca) || in selectCall()
680 Attrs.hasAttribute(i+1, Attribute::Nest)) in selectCall()
[all …]
DWebAssemblyTargetMachine.cpp80 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
83 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
/external/autotest/client/site_tests/security_DbusOwners/
Dsecurity_DbusOwners.py46 if (policy.hasAttribute('user') and
51 if allow.hasAttribute('own'):
/external/parameter-framework/upstream/xmlserializer/
DXmlElement.cpp59 if (hasAttribute("Name")) { in getPath()
74 bool CXmlElement::hasAttribute(const string &strAttributeName) const in hasAttribute() function in CXmlElement
82 if (!hasAttribute(name)) { in getAttribute()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DAttributeContainer.java71 public boolean hasAttribute(final String name) { in hasAttribute() method in AttributeContainer
144 if (!other.hasAttribute(thisAttrib.getName())) { in attributesAreEqual()
/external/clang/include/clang/Basic/
DAttributes.h33 int hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
/external/clang/lib/Basic/
DAttributes.cpp6 int clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, in hasAttribute() function in clang
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp84 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
87 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DDelegatedData.java102 public boolean hasAttribute(String key) { in hasAttribute() method in DelegatedData
103 return getDelegate().hasAttribute(key); in hasAttribute()
/external/llvm/include/llvm/MC/
DMCSectionMachO.h62 bool hasAttribute(unsigned Value) const { in hasAttribute() function
/external/llvm/lib/Target/X86/
DX86TargetMachine.cpp185 StringRef CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
188 StringRef FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
/external/parameter-framework/upstream/parameter/
DComponentType.cpp87 if (xmlElement.hasAttribute("Extends")) { in fromXml()

1234