| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A 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()
|
| H A D | Argument.h | 168 bool hasAttribute(Attribute::AttrKind Kind) const;
|
| H A 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/ |
| H A 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 …]
|
| 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; 317 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 | 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 …]
|
| H A 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/ |
| H A 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/ |
| 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/BPF/ |
| H A D | BPFCheckAndAdjustIR.cpp | 87 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in checkIR() 88 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in checkIR()
|
| H A D | BPFAdjustOpt.cpp | 288 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in avoidSpeculation() 289 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in avoidSpeculation()
|
| H A D | BPFMISimplifyPatchable.cpp | 305 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) in removeLD() 307 else if (!GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in removeLD()
|
| H A 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/ |
| H A D | Attributes.h | 22 int hasAttribute(AttributeCommonInfo::Syntax Syntax,
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVCallLowering.cpp | 247 if (Arg.hasAttribute(Attribute::Alignment)) { in lowerFormalArguments() 253 if (Arg.hasAttribute(Attribute::ReadOnly)) { in lowerFormalArguments() 259 if (Arg.hasAttribute(Attribute::ZExt)) { in lowerFormalArguments() 265 if (Arg.hasAttribute(Attribute::NoAlias)) { in lowerFormalArguments()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCSectionMachO.h | 54 bool hasAttribute(unsigned Value) const { in hasAttribute() function
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/ |
| H A D | CSPreInliner.cpp | 152 return Candidate.CalleeSamples->getContext().hasAttribute( in shouldInline() 248 Candidate.CalleeSamples->getContext().hasAttribute(ContextWasInlined); in processFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A 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/ |
| H A 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/ |
| H A 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/ |
| H A D | TestPasses.cpp | 147 if (A.hasAttribute("bugpoint-crash")) in runOnFunction()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | Attributes.cpp | 7 int clang::hasAttribute(AttributeCommonInfo::Syntax Syntax, in hasAttribute() function in clang
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCSectionMachO.cpp | 172 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS); in useCodeAlign()
|