/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Attributes.cpp | 235 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 …]
|
D | AttributeImpl.h | 63 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;
|
D | Statepoint.cpp | 55 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr() 56 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 185 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 …]
|
D | Function.cpp | 79 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 …]
|
D | Verifier.cpp | 1337 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 …]
|
D | Statepoint.cpp | 52 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr() 53 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
|
/external/llvm-project/llvm/lib/IR/ |
D | Attributes.cpp | 290 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute() function in Attribute 291 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute() 294 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute 296 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute() 300 assert(hasAttribute(Attribute::Alignment) && in getAlignment() 306 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment() 312 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes() 319 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes() 326 assert(hasAttribute(Attribute::AllocSize) && in getAllocSizeArgs() 334 if (hasAttribute(Attribute::SanitizeAddress)) in getAsString() [all …]
|
D | AttributeImpl.h | 62 bool hasAttribute(Attribute::AttrKind A) const; 63 bool hasAttribute(StringRef Kind) const; 198 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function 241 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function 242 return AvailableAttrs.hasAttribute(Kind); in hasAttribute() 244 bool hasAttribute(StringRef Kind) const; 306 return AvailableFunctionAttrs.hasAttribute(Kind); in hasFnAttribute()
|
D | Statepoint.cpp | 21 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr() 22 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
|
/external/llvm-project/llvm/unittests/IR/ |
D | AttributesTest.cpp | 67 EXPECT_TRUE(AL.hasAttribute(AttributeList::ReturnIndex, Attribute::SExt)); in TEST() 89 EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly)); in TEST() 91 EXPECT_FALSE(AS.hasAttribute(Attribute::Alignment)); in TEST() 92 EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly)); in TEST() 96 EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly)); in TEST() 102 EXPECT_TRUE(AL.hasAttribute(0, Attribute::StackAlignment)); in TEST() 103 EXPECT_TRUE(AL.hasAttribute(0, Attribute::OptimizeNone)); in TEST() 113 EXPECT_TRUE(AL.hasAttribute(0, Attribute::StackAlignment)); in TEST() 114 EXPECT_TRUE(AL.hasAttribute(0, Attribute::OptimizeNone)); in TEST() 120 EXPECT_FALSE(AL.hasAttribute(0, Attribute::StackAlignment)); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 198 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()
|
D | Attributes.h | 127 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);
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 198 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()
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 203 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-10.0/llvm/lib/Object/ |
D | ELFObjectFile.cpp | 165 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()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Function.h | 272 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-10.0/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.cpp | 163 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()
|
/external/deqp/executor/ |
D | xeTestCaseListParser.cpp | 104 …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/ |
D | refmirror.py | 81 if not ref.hasAttribute('type'): 86 if ref.hasAttribute('alt'): 92 if not ref.hasAttribute('uri'):
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CallLowering.cpp | 83 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()
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.cpp | 140 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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 254 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()
|
/external/llvm/lib/CodeGen/ |
D | XRayInstrumentation.cpp | 43 bool AlwaysInstrument = !InstrAttr.hasAttribute(Attribute::None) && in runOnMachineFunction() 49 if (Attr.hasAttribute(Attribute::None) || !Attr.isStringAttribute()) in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 269 if ((Attrs.hasAttribute("bss-section") && Kind.isBSS()) || in SectionForGlobal() 270 (Attrs.hasAttribute("data-section") && Kind.isData()) || in SectionForGlobal() 271 (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) || in SectionForGlobal() 272 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) { in SectionForGlobal()
|