Home
last modified time | relevance | path

Searched refs:hasAttribute (Results 1 - 25 of 81) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DAttributes.cpp235 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute() function in Attribute
236 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
239 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute
241 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
245 assert(hasAttribute(Attribute::Alignment) && in getAlignment()
251 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
257 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes()
264 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes()
271 assert(hasAttribute(Attribute::AllocSize) && in getAllocSizeArgs()
279 if (hasAttribute(Attribut in getAsString()
509 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const { hasAttribute() function in AttributeImpl
514 bool AttributeImpl::hasAttribute(StringRef Kind) const { hasAttribute() function in AttributeImpl
654 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { hasAttribute() function in AttributeSet
658 bool AttributeSet::hasAttribute(StringRef Kind) const { hasAttribute() function in AttributeSet
815 bool AttributeSetNode::hasAttribute(StringRef Kind) const { hasAttribute() function in AttributeSetNode
1301 bool AttributeList::hasAttribute(unsigned Index, hasAttribute() function in AttributeList
1306 bool AttributeList::hasAttribute(unsigned Index, StringRef Kind) const { hasAttribute() function in AttributeList
[all...]
H A DStatepoint.cpp55 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr()
56 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
H A DAttributeImpl.h63 bool hasAttribute(Attribute::AttrKind A) const;
64 bool hasAttribute(StringRef Kind) const;
202 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function in llvm::final
205 bool hasAttribute(StringRef Kind) const;
H A DVerifier.cpp1593 if (Attrs.hasAttribute(Attribute::ImmArg)) { in verifyParameterAttrs()
1601 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs()
1602 AttrCount += Attrs.hasAttribute(Attribute::InAlloca); in verifyParameterAttrs()
1603 AttrCount += Attrs.hasAttribute(Attribute::StructRet) || in verifyParameterAttrs()
1604 Attrs.hasAttribute(Attribute::InReg); in verifyParameterAttrs()
1605 AttrCount += Attrs.hasAttribute(Attribute::Nest); in verifyParameterAttrs()
1610 Assert(!(Attrs.hasAttribute(Attribute::InAlloca) && in verifyParameterAttrs()
1611 Attrs.hasAttribute(Attribute::ReadOnly)), in verifyParameterAttrs()
1616 Assert(!(Attrs.hasAttribute(Attribute::StructRet) && in verifyParameterAttrs()
1617 Attrs.hasAttribute(Attribut in verifyParameterAttrs()
[all...]
H A DFunction.cpp101 return hasAttribute(Attribute::ByVal); in hasByValAttr()
114 return hasAttribute(Attribute::InAlloca); in hasInAllocaAttr()
153 return hasAttribute(Attribute::Nest); in hasNestAttr()
158 return hasAttribute(Attribute::NoAlias); in hasNoAliasAttr()
163 return hasAttribute(Attribute::NoCapture); in hasNoCaptureAttr()
168 return hasAttribute(Attribute::StructRet); in hasStructRetAttr()
172 return hasAttribute(Attribute::InReg); in hasInRegAttr()
176 return hasAttribute(Attribute::Returned); in hasReturnedAttr()
180 return hasAttribute(Attribute::ZExt); in hasZExtAttr()
184 return hasAttribute(Attribut in hasSExtAttr()
211 bool Argument::hasAttribute(Attribute::AttrKind Kind) const { hasAttribute() function in Argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DGlobalVariable.h198 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function in llvm::GlobalVariable
199 return Attrs.hasAttribute(Kind); in hasAttribute()
203 bool hasAttribute(StringRef Kind) const { in hasAttribute() function in llvm::GlobalVariable
204 return Attrs.hasAttribute(Kind); in hasAttribute()
244 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection()
245 getAttributes().hasAttribute("data-section") || in hasImplicitSection()
246 getAttributes().hasAttribute("relro-section") || in hasImplicitSection()
247 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
H A DAttributes.h127 bool hasAttribute(AttrKind Val) const;
130 bool hasAttribute(StringRef Val) const;
277 bool hasAttribute(Attribute::AttrKind Kind) const;
280 bool hasAttribute(StringRef Kind) const;
550 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
553 bool hasAttribute(unsigned Index, StringRef Kind) const;
560 return hasAttribute(ArgNo + FirstArgIndex, Kind); in hasParamAttr()
565 return hasAttribute(ArgNo + FirstArgIndex, Kind); in hasParamAttr()
573 /// Equivalent to hasAttribute(AttributeList::FunctionIndex, Kind) but
577 /// Equivalent to hasAttribute(AttributeLis
[all...]
H A DArgument.h130 bool hasAttribute(Attribute::AttrKind Kind) const;
H A DFunction.h398 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const { in hasAttribute() function in llvm::Function
399 return getAttributes().hasAttribute(i, Kind); in hasAttribute()
619 return AttributeSets.hasAttribute(AttributeList::ReturnIndex, in returnDoesNotAlias()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DELFObjectFile.cpp165 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch)) in getARMFeatures()
169 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch_profile)) { in getARMFeatures()
187 if (Attributes.hasAttribute(ARMBuildAttrs::THUMB_ISA_use)) { in getARMFeatures()
201 if (Attributes.hasAttribute(ARMBuildAttrs::FP_arch)) { in getARMFeatures()
224 if (Attributes.hasAttribute(ARMBuildAttrs::Advanced_SIMD_arch)) { in getARMFeatures()
242 if (Attributes.hasAttribute(ARMBuildAttrs::MVE_arch)) { in getARMFeatures()
260 if (Attributes.hasAttribute(ARMBuildAttrs::DIV_use)) { in getARMFeatures()
318 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch)) { in setARMSubArch()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
H A DBuildMetadataFromXml.java126 if (territoryElement.hasAttribute("id")) { in buildPhoneMetadataCollection()
193 return element.hasAttribute(NATIONAL_PREFIX) ? element.getAttribute(NATIONAL_PREFIX) : ""; in getNationalPrefix()
201 if (element.hasAttribute(COUNTRY_CODE)) { in loadTerritoryTagMetadata()
204 if (element.hasAttribute(LEADING_DIGITS)) { in loadTerritoryTagMetadata()
207 if (element.hasAttribute(INTERNATIONAL_PREFIX)) { in loadTerritoryTagMetadata()
210 if (element.hasAttribute(PREFERRED_INTERNATIONAL_PREFIX)) { in loadTerritoryTagMetadata()
214 if (element.hasAttribute(NATIONAL_PREFIX_FOR_PARSING)) { in loadTerritoryTagMetadata()
217 if (element.hasAttribute(NATIONAL_PREFIX_TRANSFORM_RULE)) { in loadTerritoryTagMetadata()
228 if (element.hasAttribute(PREFERRED_EXTN_PREFIX)) { in loadTerritoryTagMetadata()
231 if (element.hasAttribute(MAIN_COUNTRY_FOR_COD in loadTerritoryTagMetadata()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMipsTargetMachine.cpp163 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
166 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
170 !F.getFnAttribute("mips16").hasAttribute(Attribute::None); in getSubtargetImpl()
172 !F.getFnAttribute("nomips16").hasAttribute(Attribute::None); in getSubtargetImpl()
175 !F.getFnAttribute("micromips").hasAttribute(Attribute::None); in getSubtargetImpl()
177 !F.getFnAttribute("nomicromips").hasAttribute(Attribute::None); in getSubtargetImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DFunction.h272 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const { in hasAttribute() function in llvm::Function
273 return getAttributes().hasAttribute(i, Kind); in hasAttribute()
418 return AttributeSets.hasAttribute(1, Attribute::StructRet) || in hasStructRetAttr()
419 AttributeSets.hasAttribute(2, Attribute::StructRet); in hasStructRetAttr()
426 return AttributeSets.hasAttribute(n, Attribute::NoAlias); in doesNotAlias()
435 return AttributeSets.hasAttribute(n, Attribute::NoCapture); in doesNotCapture()
442 return AttributeSets.hasAttribute(n, Attribute::ReadNone); in doesNotAccessMemory()
450 AttributeSets.hasAttribute(n, Attribute::ReadOnly); in onlyReadsMemory()
H A DAttributes.h117 bool hasAttribute(AttrKind Val) const;
120 bool hasAttribute(StringRef Val) const;
324 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
327 bool hasAttribute(unsigned Index, StringRef Kind) const;
332 /// \brief Equivalent to hasAttribute(AttributeSet::FunctionIndex, Kind) but
336 /// \brief Equivalent to hasAttribute(AttributeSet::FunctionIndex, Kind) but
H A DArgument.h141 bool hasAttribute(Attribute::AttrKind Kind) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp83 if (Attrs.hasAttribute(OpIdx, Attribute::ZExt)) in setArgFlags()
85 if (Attrs.hasAttribute(OpIdx, Attribute::SExt)) in setArgFlags()
87 if (Attrs.hasAttribute(OpIdx, Attribute::InReg)) in setArgFlags()
89 if (Attrs.hasAttribute(OpIdx, Attribute::StructRet)) in setArgFlags()
91 if (Attrs.hasAttribute(OpIdx, Attribute::SwiftSelf)) in setArgFlags()
93 if (Attrs.hasAttribute(OpIdx, Attribute::SwiftError)) in setArgFlags()
95 if (Attrs.hasAttribute(OpIdx, Attribute::ByVal)) in setArgFlags()
97 if (Attrs.hasAttribute(OpIdx, Attribute::InAlloca)) in setArgFlags()
115 if (Attrs.hasAttribute(OpIdx, Attribute::Nest)) in setArgFlags()
/third_party/vk-gl-cts/executor/
H A DxeTestCaseListParser.cpp104 const char* name = m_xmlParser.hasAttribute("Name") ? m_xmlParser.getAttribute("Name") : DE_NULL; in parse()
105 const char* description = m_xmlParser.hasAttribute("Description") ? m_xmlParser.getAttribute("Description") : DE_NULL; in parse()
106 const char* caseType = m_xmlParser.hasAttribute("CaseType") ? m_xmlParser.getAttribute("CaseType") : DE_NULL; in parse()
H A DxeTestResultParser.cpp403 if (!m_xmlParser.hasAttribute(name)) in getAttribute()
476 if (m_xmlParser.hasAttribute("CaseType")) in handleElementStart()
526 if (m_xmlParser.hasAttribute("Tag")) in handleElementStart()
623 set->description = m_xmlParser.hasAttribute("Description") ? m_xmlParser.getAttribute("Description") : ""; in handleElementStart()
698 if (m_xmlParser.hasAttribute("Unit")) in handleElementStart()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86CallLowering.cpp346 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments()
347 Arg.hasAttribute(Attribute::InReg) || in lowerFormalArguments()
348 Arg.hasAttribute(Attribute::StructRet) || in lowerFormalArguments()
349 Arg.hasAttribute(Attribute::SwiftSelf) || in lowerFormalArguments()
350 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
351 Arg.hasAttribute(Attribute::Nest) || VRegs[Idx].size() > 1) in lowerFormalArguments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp254 if ((Attrs.hasAttribute("bss-section") && Kind.isBSS()) || in SectionForGlobal()
255 (Attrs.hasAttribute("data-section") && Kind.isData()) || in SectionForGlobal()
256 (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) || in SectionForGlobal()
257 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) { in SectionForGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.cpp80 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
83 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DXRayInstrumentation.cpp148 bool AlwaysInstrument = !InstrAttr.hasAttribute(Attribute::None) && in runOnMachineFunction()
154 if (Attr.hasAttribute(Attribute::None) || !Attr.isStringAttribute()) in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp113 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
116 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
H A DMCSectionMachO.h61 bool hasAttribute(unsigned Value) const { in hasAttribute() function in llvm::final
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp127 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in canUseLocalRelocation()
332 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in recordRelocation()

Completed in 24 milliseconds

1234