| /openbsd/src/gnu/llvm/llvm/include/llvm/IR/ |
| D | GlobalVariable.h | 197 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function 198 return Attrs.hasAttribute(Kind); in hasAttribute() 202 bool hasAttribute(StringRef Kind) const { in hasAttribute() function 203 return Attrs.hasAttribute(Kind); in hasAttribute() 243 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection() 244 getAttributes().hasAttribute("data-section") || in hasImplicitSection() 245 getAttributes().hasAttribute("relro-section") || in hasImplicitSection() 246 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
|
| D | Argument.h | 168 bool hasAttribute(Attribute::AttrKind Kind) const;
|
| D | Attributes.h | 188 bool hasAttribute(AttrKind Val) const; 191 bool hasAttribute(StringRef Val) const; 358 bool hasAttribute(Attribute::AttrKind Kind) const; 361 bool hasAttribute(StringRef Kind) const;
|
| /openbsd/src/gnu/llvm/llvm/lib/IR/ |
| D | Attributes.cpp | 327 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute() function in Attribute 328 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute() 331 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute 333 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute() 337 assert(hasAttribute(Attribute::Alignment) && in getAlignment() 343 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment() 349 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes() 356 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes() 364 assert(hasAttribute(Attribute::AllocSize) && in getAllocSizeArgs() 370 assert(hasAttribute(Attribute::VScaleRange) && in getVScaleRangeMin() [all …]
|
| 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; 317 return AvailableFunctionAttrs.hasAttribute(Kind); in hasFnAttribute()
|
| D | Statepoint.cpp | 19 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr() 20 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
|
| D | Verifier.cpp | 1800 if (Attrs.hasAttribute(Attribute::ImmArg)) { in verifyParameterAttrs() 1808 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs() 1809 AttrCount += Attrs.hasAttribute(Attribute::InAlloca); in verifyParameterAttrs() 1810 AttrCount += Attrs.hasAttribute(Attribute::Preallocated); in verifyParameterAttrs() 1811 AttrCount += Attrs.hasAttribute(Attribute::StructRet) || in verifyParameterAttrs() 1812 Attrs.hasAttribute(Attribute::InReg); in verifyParameterAttrs() 1813 AttrCount += Attrs.hasAttribute(Attribute::Nest); in verifyParameterAttrs() 1814 AttrCount += Attrs.hasAttribute(Attribute::ByRef); in verifyParameterAttrs() 1820 Check(!(Attrs.hasAttribute(Attribute::InAlloca) && in verifyParameterAttrs() 1821 Attrs.hasAttribute(Attribute::ReadOnly)), in verifyParameterAttrs() [all …]
|
| D | Function.cpp | 111 return hasAttribute(Attribute::ByVal); in hasByValAttr() 117 return hasAttribute(Attribute::ByRef); in hasByRefAttr() 130 return hasAttribute(Attribute::InAlloca); in hasInAllocaAttr() 136 return hasAttribute(Attribute::Preallocated); in hasPreallocatedAttr() 234 return hasAttribute(Attribute::Nest); in hasNestAttr() 239 return hasAttribute(Attribute::NoAlias); in hasNoAliasAttr() 244 return hasAttribute(Attribute::NoCapture); in hasNoCaptureAttr() 249 return hasAttribute(Attribute::NoFree); in hasNoFreeAttr() 254 return hasAttribute(Attribute::StructRet); in hasStructRetAttr() 258 return hasAttribute(Attribute::InReg); in hasInRegAttr() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/X86/ |
| D | X86CallLowering.cpp | 272 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments() 273 Arg.hasAttribute(Attribute::InReg) || in lowerFormalArguments() 274 Arg.hasAttribute(Attribute::StructRet) || in lowerFormalArguments() 275 Arg.hasAttribute(Attribute::SwiftSelf) || in lowerFormalArguments() 276 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments() 277 Arg.hasAttribute(Attribute::Nest) || VRegs[Idx].size() > 1) in lowerFormalArguments()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/ |
| 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/BPF/ |
| D | BPFCheckAndAdjustIR.cpp | 87 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in checkIR() 88 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in checkIR()
|
| D | BPFAdjustOpt.cpp | 288 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in avoidSpeculation() 289 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in avoidSpeculation()
|
| D | BPFMISimplifyPatchable.cpp | 305 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) in removeLD() 307 else if (!GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in removeLD()
|
| D | BTFDebug.cpp | 1297 if (!GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr) && in processGlobalValue() 1298 !GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in processGlobalValue() 1307 GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)); in processGlobalValue() 1505 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in InstLower() 1506 GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) { in InstLower() 1532 if (GVar && GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) { in InstLower()
|
| /openbsd/src/gnu/llvm/clang/include/clang/Basic/ |
| D | Attributes.h | 22 int hasAttribute(AttributeCommonInfo::Syntax Syntax,
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyMachineFunctionInfo.cpp | 98 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs() 99 HasSwiftSelfArg |= Arg.hasAttribute(Attribute::SwiftSelf); in computeSignatureVTs()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/MC/ |
| D | MCSectionMachO.h | 54 bool hasAttribute(unsigned Value) const { in hasAttribute() function
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | AssumeBundleBuilder.cpp | 156 if (Arg->hasAttribute(RK.AttrKind) && in isKnowledgeWorthPreserving() 211 bool IsPoisonAttr = Attr.hasAttribute(Attribute::NonNull) || in addCall() 212 Attr.hasAttribute(Attribute::Alignment); in addCall() 423 bool HasSameKindAttr = Arg->hasAttribute(RK.AttrKind); in dropRedundantKnowledge()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/ |
| D | RISCVSExtWRemoval.cpp | 178 if ((BitWidth <= 32 && Attrs.hasAttribute(Attribute::SExt)) || in isSignExtendedW() 179 (BitWidth < 32 && Attrs.hasAttribute(Attribute::ZExt))) in isSignExtendedW()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/ |
| D | AArch64MachObjectWriter.cpp | 127 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in canUseLocalRelocation() 332 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in recordRelocation()
|
| /openbsd/src/gnu/llvm/llvm/tools/bugpoint-passes/ |
| D | TestPasses.cpp | 147 if (A.hasAttribute("bugpoint-crash")) in runOnFunction()
|
| /openbsd/src/gnu/llvm/clang/lib/Basic/ |
| D | Attributes.cpp | 7 int clang::hasAttribute(AttributeCommonInfo::Syntax Syntax, in hasAttribute() function in clang
|
| /openbsd/src/gnu/llvm/llvm/lib/ProfileData/ |
| D | ProfileSummaryBuilder.cpp | 115 } else if (FS.getContext().hasAttribute( in addRecord()
|
| /openbsd/src/gnu/llvm/llvm/lib/MC/ |
| D | MCSectionMachO.cpp | 172 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS); in useCodeAlign()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | TargetLoweringObjectFileImpl.cpp | 790 if (Attrs.hasAttribute("bss-section") && Kind.isBSS()) { in selectExplicitSectionGlobal() 792 } else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) { in selectExplicitSectionGlobal() 794 } else if (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) { in selectExplicitSectionGlobal() 796 } else if (Attrs.hasAttribute("data-section") && Kind.isData()) { in selectExplicitSectionGlobal() 2300 if (GVar->hasAttribute("toc-data")) in getTargetSymbol() 2329 if (GVar->hasAttribute("toc-data")) in getExplicitSectionGlobal() 2364 if (GVar->hasAttribute("toc-data")) in getSectionForExternalReference() 2377 if (GVar->hasAttribute("toc-data")) { in SelectSectionForGlobal()
|