Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAttributes.cpp202 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute() function in Attribute
203 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
206 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute
208 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
212 assert(hasAttribute(Attribute::Alignment) && in getAlignment()
218 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
224 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes()
231 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes()
238 assert(hasAttribute(Attribute::AllocSize) && in getAllocSizeArgs()
246 if (hasAttribute(Attribute::SanitizeAddress)) in getAsString()
[all …]
DAttributeImpl.h61 bool hasAttribute(Attribute::AttrKind A) const;
62 bool hasAttribute(StringRef Kind) const;
178 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function
181 bool hasAttribute(StringRef Kind) const;
DStatepoint.cpp64 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr()
65 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
DVerifier.cpp1529 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs()
1530 AttrCount += Attrs.hasAttribute(Attribute::InAlloca); in verifyParameterAttrs()
1531 AttrCount += Attrs.hasAttribute(Attribute::StructRet) || in verifyParameterAttrs()
1532 Attrs.hasAttribute(Attribute::InReg); in verifyParameterAttrs()
1533 AttrCount += Attrs.hasAttribute(Attribute::Nest); in verifyParameterAttrs()
1538 Assert(!(Attrs.hasAttribute(Attribute::InAlloca) && in verifyParameterAttrs()
1539 Attrs.hasAttribute(Attribute::ReadOnly)), in verifyParameterAttrs()
1544 Assert(!(Attrs.hasAttribute(Attribute::StructRet) && in verifyParameterAttrs()
1545 Attrs.hasAttribute(Attribute::Returned)), in verifyParameterAttrs()
1550 Assert(!(Attrs.hasAttribute(Attribute::ZExt) && in verifyParameterAttrs()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DAttributesTest.cpp62 EXPECT_TRUE(AL.hasAttribute(AttributeList::ReturnIndex, Attribute::SExt)); in TEST()
84 EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly)); in TEST()
86 EXPECT_FALSE(AS.hasAttribute(Attribute::Alignment)); in TEST()
87 EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly)); in TEST()
91 EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly)); in TEST()
97 EXPECT_TRUE(AL.hasAttribute(0, Attribute::StackAlignment)); in TEST()
98 EXPECT_TRUE(AL.hasAttribute(0, Attribute::OptimizeNone)); in TEST()
108 EXPECT_TRUE(AL.hasAttribute(0, Attribute::StackAlignment)); in TEST()
109 EXPECT_TRUE(AL.hasAttribute(0, Attribute::OptimizeNone)); in TEST()
115 EXPECT_FALSE(AL.hasAttribute(0, Attribute::StackAlignment)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DGlobalVariable.h199 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function
200 return Attrs.hasAttribute(Kind); in hasAttribute()
204 bool hasAttribute(StringRef Kind) const { in hasAttribute() function
205 return Attrs.hasAttribute(Kind); in hasAttribute()
245 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection()
246 getAttributes().hasAttribute("data-section") || in hasImplicitSection()
247 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
DAttributes.h122 bool hasAttribute(AttrKind Val) const;
125 bool hasAttribute(StringRef Val) const;
264 bool hasAttribute(Attribute::AttrKind Kind) const;
267 bool hasAttribute(StringRef Kind) const;
529 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
532 bool hasAttribute(unsigned Index, StringRef Kind) const;
539 return hasAttribute(ArgNo + FirstArgIndex, Kind);
544 return hasAttribute(ArgNo + FirstArgIndex, Kind);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp66 if (Attrs.hasAttribute(OpIdx, Attribute::ZExt)) in setArgFlags()
68 if (Attrs.hasAttribute(OpIdx, Attribute::SExt)) in setArgFlags()
70 if (Attrs.hasAttribute(OpIdx, Attribute::InReg)) in setArgFlags()
72 if (Attrs.hasAttribute(OpIdx, Attribute::StructRet)) in setArgFlags()
74 if (Attrs.hasAttribute(OpIdx, Attribute::SwiftSelf)) in setArgFlags()
76 if (Attrs.hasAttribute(OpIdx, Attribute::SwiftError)) in setArgFlags()
78 if (Attrs.hasAttribute(OpIdx, Attribute::ByVal)) in setArgFlags()
80 if (Attrs.hasAttribute(OpIdx, Attribute::InAlloca)) in setArgFlags()
95 if (Attrs.hasAttribute(OpIdx, Attribute::Nest)) in setArgFlags()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DELFObjectFile.cpp146 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch)) in getARMFeatures()
150 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch_profile)) { in getARMFeatures()
168 if (Attributes.hasAttribute(ARMBuildAttrs::THUMB_ISA_use)) { in getARMFeatures()
182 if (Attributes.hasAttribute(ARMBuildAttrs::FP_arch)) { in getARMFeatures()
205 if (Attributes.hasAttribute(ARMBuildAttrs::Advanced_SIMD_arch)) { in getARMFeatures()
223 if (Attributes.hasAttribute(ARMBuildAttrs::DIV_use)) { in getARMFeatures()
282 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch)) { in setARMSubArch()
/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);
/external/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp164 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
167 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
171 !F.getFnAttribute("mips16").hasAttribute(Attribute::None); in getSubtargetImpl()
173 !F.getFnAttribute("nomips16").hasAttribute(Attribute::None); in getSubtargetImpl()
176 !F.getFnAttribute("micromips").hasAttribute(Attribute::None); in getSubtargetImpl()
178 !F.getFnAttribute("nomicromips").hasAttribute(Attribute::None); in getSubtargetImpl()
/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()
/external/cldr/tools/python/src/cldr/
Drefmirror.py81 if not ref.hasAttribute('type'):
86 if ref.hasAttribute('alt'):
92 if not ref.hasAttribute('uri'):
/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/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86CallLowering.cpp335 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments()
336 Arg.hasAttribute(Attribute::InReg) || in lowerFormalArguments()
337 Arg.hasAttribute(Attribute::StructRet) || in lowerFormalArguments()
338 Arg.hasAttribute(Attribute::SwiftSelf) || in lowerFormalArguments()
339 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
340 Arg.hasAttribute(Attribute::Nest)) in lowerFormalArguments()
/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/mesa3d/src/amd/common/
Dac_llvm_helper.cpp63 return AS.hasAttribute(ArgNo + 1, llvm::Attribute::ByVal) || in ac_is_sgpr_param()
64 AS.hasAttribute(ArgNo + 1, llvm::Attribute::InReg); in ac_is_sgpr_param()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DAttributeContainer.java98 public boolean hasAttribute(final String name) { in hasAttribute() method in AttributeContainer
109 public boolean hasAttribute(final String namespace,final String name) { in hasAttribute() method in AttributeContainer
223 if (!other.hasAttribute(thisAttrib.getName())) { in attributesAreEqual()

123456