Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
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(Attribute::SanitizeAddress)) in getAsString()
[all …]
DAttributeImpl.h63 bool hasAttribute(Attribute::AttrKind A) const;
64 bool hasAttribute(StringRef Kind) const;
202 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function
205 bool hasAttribute(StringRef Kind) const;
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(Attribute::Returned)), in verifyParameterAttrs()
[all …]
DStatepoint.cpp55 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr()
56 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
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(Attribute::SExt); in hasSExtAttr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGlobalVariable.h198 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function
199 return Attrs.hasAttribute(Kind); in hasAttribute()
203 bool hasAttribute(StringRef Kind) const { in hasAttribute() function
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()
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);
565 return hasAttribute(ArgNo + FirstArgIndex, Kind);
DArgument.h130 bool hasAttribute(Attribute::AttrKind Kind) const;
DFunction.h398 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const { in hasAttribute() function
399 return getAttributes().hasAttribute(i, Kind); in hasAttribute()
619 return AttributeSets.hasAttribute(AttributeList::ReturnIndex, in returnDoesNotAlias()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
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_CODE)) { in loadTerritoryTagMetadata()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
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/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h272 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const { in hasAttribute() 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()
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;
DArgument.h141 bool hasAttribute(Attribute::AttrKind Kind) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
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-10.0/llvm/lib/CodeGen/GlobalISel/
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/
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.cpp401 if (!m_xmlParser.hasAttribute(name)) in getAttribute()
474 if (m_xmlParser.hasAttribute("CaseType")) in handleElementStart()
524 if (m_xmlParser.hasAttribute("Tag")) in handleElementStart()
621 …set->description = m_xmlParser.hasAttribute("Description") ? m_xmlParser.getAttribute("Description… in handleElementStart()
696 if (m_xmlParser.hasAttribute("Unit")) in handleElementStart()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
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/X86/
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/RISCV/
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/
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/
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/
DMCSectionMachO.h61 bool hasAttribute(unsigned Value) const { in hasAttribute() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp127 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in canUseLocalRelocation()
332 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in recordRelocation()

1234