| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GlobalVariable.h | 203 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function 204 return Attrs.hasAttribute(Kind); in hasAttribute() 208 bool hasAttribute(StringRef Kind) const { in hasAttribute() function 209 return Attrs.hasAttribute(Kind); in hasAttribute() 249 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection() 250 getAttributes().hasAttribute("data-section") || in hasImplicitSection() 251 getAttributes().hasAttribute("relro-section") || in hasImplicitSection() 252 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
|
| H A D | Argument.h | 179 bool hasAttribute(Attribute::AttrKind Kind) const;
|
| H A D | Attributes.h | 206 bool hasAttribute(AttrKind Val) const; 209 bool hasAttribute(StringRef Val) const; 393 bool hasAttribute(Attribute::AttrKind Kind) const; 396 bool hasAttribute(StringRef Kind) const;
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 417 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute() function in Attribute 418 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute() 421 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute 423 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute() 427 assert(hasAttribute(Attribute::Alignment) && in getAlignment() 433 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment() 439 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes() 446 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes() 454 assert(hasAttribute(Attribute::AllocSize) && in getAllocSizeArgs() 460 assert(hasAttribute(Attribute::VScaleRange) && in getVScaleRangeMin() [all …]
|
| H A D | AttributeImpl.h | 73 bool hasAttribute(Attribute::AttrKind A) const; 74 bool hasAttribute(StringRef Kind) const; 283 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function 326 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function 327 return AvailableAttrs.hasAttribute(Kind); in hasAttribute() 329 bool hasAttribute(StringRef Kind) const; 395 return AvailableFunctionAttrs.hasAttribute(Kind); in hasFnAttribute()
|
| H A D | Statepoint.cpp | 19 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr() 20 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
|
| H A D | Verifier.cpp | 1936 if (Attrs.hasAttribute(Attribute::ImmArg)) { in verifyParameterAttrs() 1944 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs() 1945 AttrCount += Attrs.hasAttribute(Attribute::InAlloca); in verifyParameterAttrs() 1946 AttrCount += Attrs.hasAttribute(Attribute::Preallocated); in verifyParameterAttrs() 1947 AttrCount += Attrs.hasAttribute(Attribute::StructRet) || in verifyParameterAttrs() 1948 Attrs.hasAttribute(Attribute::InReg); in verifyParameterAttrs() 1949 AttrCount += Attrs.hasAttribute(Attribute::Nest); in verifyParameterAttrs() 1950 AttrCount += Attrs.hasAttribute(Attribute::ByRef); in verifyParameterAttrs() 1956 Check(!(Attrs.hasAttribute(Attribute::InAlloca) && in verifyParameterAttrs() 1957 Attrs.hasAttribute(Attribute::ReadOnly)), in verifyParameterAttrs() [all …]
|
| H A D | Function.cpp | 143 return hasAttribute(Attribute::ByVal); in hasByValAttr() 149 return hasAttribute(Attribute::ByRef); in hasByRefAttr() 162 return hasAttribute(Attribute::InAlloca); in hasInAllocaAttr() 168 return hasAttribute(Attribute::Preallocated); in hasPreallocatedAttr() 277 return hasAttribute(Attribute::Nest); in hasNestAttr() 282 return hasAttribute(Attribute::NoAlias); in hasNoAliasAttr() 287 return hasAttribute(Attribute::NoCapture); in hasNoCaptureAttr() 292 return hasAttribute(Attribute::NoFree); in hasNoFreeAttr() 297 return hasAttribute(Attribute::StructRet); in hasStructRetAttr() 301 return hasAttribute(Attribute::InReg); in hasInRegAttr() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86CallLowering.cpp | 281 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments() 282 Arg.hasAttribute(Attribute::InReg) || in lowerFormalArguments() 283 Arg.hasAttribute(Attribute::SwiftSelf) || in lowerFormalArguments() 284 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments() 285 Arg.hasAttribute(Attribute::Nest) || VRegs[Idx].size() > 1) in lowerFormalArguments() 288 if (Arg.hasAttribute(Attribute::StructRet)) { in lowerFormalArguments()
|
| /src/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 329 if ((Attrs.hasAttribute("bss-section") && Kind.isBSS()) || in SectionForGlobal() 330 (Attrs.hasAttribute("data-section") && Kind.isData()) || in SectionForGlobal() 331 (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) || in SectionForGlobal() 332 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) { in SectionForGlobal()
|
| /src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Attributes.h | 22 int hasAttribute(AttributeCommonInfo::Syntax Syntax,
|
| /src/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMachineFunctionInfo.cpp | 100 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs() 101 HasSwiftSelfArg |= Arg.hasAttribute(Attribute::SwiftSelf); in computeSignatureVTs()
|
| /src/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVCallLowering.cpp | 311 if (Arg.hasAttribute(Attribute::Alignment)) { in lowerFormalArguments() 317 if (Arg.hasAttribute(Attribute::ReadOnly)) { in lowerFormalArguments() 323 if (Arg.hasAttribute(Attribute::ZExt)) { in lowerFormalArguments() 329 if (Arg.hasAttribute(Attribute::NoAlias)) { in lowerFormalArguments() 335 if (Arg.hasAttribute(Attribute::ByVal)) { in lowerFormalArguments()
|
| /src/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCSectionMachO.h | 61 bool hasAttribute(unsigned Value) const { in hasAttribute() function
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | AssumeBundleBuilder.cpp | 155 if (Arg->hasAttribute(RK.AttrKind) && in isKnowledgeWorthPreserving() 210 bool IsPoisonAttr = Attr.hasAttribute(Attribute::NonNull) || in addCall() 211 Attr.hasAttribute(Attribute::Alignment); in addCall() 425 bool HasSameKindAttr = Arg->hasAttribute(RK.AttrKind); in dropRedundantKnowledge()
|
| /src/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAdjustOpt.cpp | 271 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in avoidSpeculation() 272 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in avoidSpeculation()
|
| H A D | BPFMISimplifyPatchable.cpp | 351 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) in removeLD() 353 else if (!GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in removeLD()
|
| H A D | BPFCheckAndAdjustIR.cpp | 98 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in checkIR() 99 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in checkIR()
|
| H A D | BTFDebug.cpp | 1298 if (!GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr) && in processGlobalValue() 1299 !GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in processGlobalValue() 1308 GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)); in processGlobalValue() 1535 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in InstLower() 1536 GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) { in InstLower() 1561 if (GVar && GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) { in InstLower()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 796 if (Attrs.hasAttribute("bss-section") && Kind.isBSS()) { in selectExplicitSectionGlobal() 798 } else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) { in selectExplicitSectionGlobal() 800 } else if (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) { in selectExplicitSectionGlobal() 802 } else if (Attrs.hasAttribute("data-section") && Kind.isData()) { in selectExplicitSectionGlobal() 1292 if (Attrs.hasAttribute("bss-section") && Kind.isBSS()) { in getExplicitSectionGlobal() 1294 } else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) { in getExplicitSectionGlobal() 1296 } else if (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) { in getExplicitSectionGlobal() 1298 } else if (Attrs.hasAttribute("data-section") && Kind.isData()) { in getExplicitSectionGlobal() 2349 if (GVar->hasAttribute("toc-data")) in getTargetSymbol() 2378 if (GVar->hasAttribute("toc-data")) in getExplicitSectionGlobal() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MachObjectWriter.cpp | 126 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in canUseLocalRelocation() 331 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in recordRelocation()
|
| /src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Attributes.cpp | 31 int clang::hasAttribute(AttributeCommonInfo::Syntax Syntax, in hasAttribute() function in clang
|
| /src/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCSubtarget.cpp | 191 return !GVar->hasAttribute("toc-data"); in isGVIndirectSymbol()
|
| /src/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 115 } else if (FS.getContext().hasAttribute( in addRecord()
|
| /src/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSectionMachO.cpp | 173 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS); in useCodeAlign()
|