| /freebsd-14.2/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 | 172 bool hasAttribute(Attribute::AttrKind Kind) const;
|
| H A D | Attributes.h | 187 bool hasAttribute(AttrKind Val) const; 190 bool hasAttribute(StringRef Val) const; 360 bool hasAttribute(Attribute::AttrKind Kind) const; 363 bool hasAttribute(StringRef Kind) const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 400 assert(hasAttribute(Attribute::Memory) && in getMemoryEffects() 446 if (hasAttribute(Attribute::Alignment)) in getAsString() 466 if (hasAttribute(Attribute::AllocSize)) { in getAsString() 485 if (hasAttribute(Attribute::UWTable)) { in getAsString() 496 if (hasAttribute(Attribute::AllocKind)) { in getAsString() 516 if (hasAttribute(Attribute::Memory)) { in getAsString() 722 if (hasAttribute(Kind)) return *this; in addAttribute() 750 if (!hasAttribute(Kind)) return *this; in removeAttribute() 758 if (!hasAttribute(Kind)) return *this; in removeAttribute() 959 if (!hasAttribute(Kind)) in findEnumAttribute() [all …]
|
| H A D | AttributeImpl.h | 63 bool hasAttribute(Attribute::AttrKind A) const; 64 bool hasAttribute(StringRef Kind) const; 206 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function 249 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function 250 return AvailableAttrs.hasAttribute(Kind); in hasAttribute() 252 bool hasAttribute(StringRef Kind) const; 318 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 | 1872 if (Attrs.hasAttribute(Attribute::ImmArg)) { in verifyParameterAttrs() 1885 AttrCount += Attrs.hasAttribute(Attribute::Nest); in verifyParameterAttrs() 1893 Attrs.hasAttribute(Attribute::ReadOnly)), in verifyParameterAttrs() 1899 Attrs.hasAttribute(Attribute::Returned)), in verifyParameterAttrs() 1904 Check(!(Attrs.hasAttribute(Attribute::ZExt) && in verifyParameterAttrs() 1905 Attrs.hasAttribute(Attribute::SExt)), in verifyParameterAttrs() 1953 if (Attrs.hasAttribute(Attribute::ByVal)) { in verifyParameterAttrs() 1964 if (Attrs.hasAttribute(Attribute::ByRef)) { in verifyParameterAttrs() 1969 if (Attrs.hasAttribute(Attribute::InAlloca)) { in verifyParameterAttrs() 1981 if (Attrs.hasAttribute(Attribute::NoFPClass)) { in verifyParameterAttrs() [all …]
|
| H A D | Function.cpp | 133 return hasAttribute(Attribute::ByVal); in hasByValAttr() 139 return hasAttribute(Attribute::ByRef); in hasByRefAttr() 152 return hasAttribute(Attribute::InAlloca); in hasInAllocaAttr() 260 return hasAttribute(Attribute::Nest); in hasNestAttr() 265 return hasAttribute(Attribute::NoAlias); in hasNoAliasAttr() 270 return hasAttribute(Attribute::NoCapture); in hasNoCaptureAttr() 275 return hasAttribute(Attribute::NoFree); in hasNoFreeAttr() 284 return hasAttribute(Attribute::InReg); in hasInRegAttr() 288 return hasAttribute(Attribute::Returned); in hasReturnedAttr() 292 return hasAttribute(Attribute::ZExt); in hasZExtAttr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86CallLowering.cpp | 274 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments() 275 Arg.hasAttribute(Attribute::InReg) || in lowerFormalArguments() 276 Arg.hasAttribute(Attribute::StructRet) || in lowerFormalArguments() 277 Arg.hasAttribute(Attribute::SwiftSelf) || in lowerFormalArguments() 278 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments() 279 Arg.hasAttribute(Attribute::Nest) || VRegs[Idx].size() > 1) in lowerFormalArguments()
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Attributes.h | 22 int hasAttribute(AttributeCommonInfo::Syntax Syntax,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMachineFunctionInfo.cpp | 98 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs() 99 HasSwiftSelfArg |= Arg.hasAttribute(Attribute::SwiftSelf); in computeSignatureVTs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCSectionMachO.h | 54 bool hasAttribute(unsigned Value) const { in hasAttribute() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVCallLowering.cpp | 292 if (Arg.hasAttribute(Attribute::Alignment)) { in lowerFormalArguments() 298 if (Arg.hasAttribute(Attribute::ReadOnly)) { in lowerFormalArguments() 304 if (Arg.hasAttribute(Attribute::ZExt)) { in lowerFormalArguments() 310 if (Arg.hasAttribute(Attribute::NoAlias)) { in lowerFormalArguments()
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/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 | 350 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) in removeLD() 352 else if (!GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in removeLD()
|
| H A D | BPFCheckAndAdjustIR.cpp | 95 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in checkIR() 96 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() 1513 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in InstLower() 1514 GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) { in InstLower() 1539 if (GVar && GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) { in InstLower()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 789 if (Attrs.hasAttribute("bss-section") && Kind.isBSS()) { in selectExplicitSectionGlobal() 791 } else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) { in selectExplicitSectionGlobal() 793 } else if (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) { in selectExplicitSectionGlobal() 795 } else if (Attrs.hasAttribute("data-section") && Kind.isData()) { in selectExplicitSectionGlobal() 1289 if (Attrs.hasAttribute("bss-section") && Kind.isBSS()) { in getExplicitSectionGlobal() 1291 } else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) { in getExplicitSectionGlobal() 1295 } else if (Attrs.hasAttribute("data-section") && Kind.isData()) { in getExplicitSectionGlobal() 2344 if (GVar->hasAttribute("toc-data")) in getTargetSymbol() 2373 if (GVar->hasAttribute("toc-data")) in getExplicitSectionGlobal() 2411 if (GVar->hasAttribute("toc-data")) in getSectionForExternalReference() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MachObjectWriter.cpp | 127 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in canUseLocalRelocation() 330 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in recordRelocation()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Attributes.cpp | 31 int clang::hasAttribute(AttributeCommonInfo::Syntax Syntax, in hasAttribute() function in clang
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSectionMachO.cpp | 172 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS); in useCodeAlign()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 115 } else if (FS.getContext().hasAttribute( in addRecord()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVOptWInstrs.cpp | 470 if ((BitWidth <= 32 && Attrs.hasAttribute(Attribute::SExt)) || in isSignExtendedW() 471 (BitWidth < 32 && Attrs.hasAttribute(Attribute::ZExt))) in isSignExtendedW()
|