Home
last modified time | relevance | path

Searched refs:hasAttribute (Results 1 – 25 of 71) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAttributes.cpp319 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute() function in Attribute
320 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
323 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute
325 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
329 assert(hasAttribute(Attribute::Alignment) && in getAlignment()
335 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
341 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes()
348 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes()
355 assert(hasAttribute(Attribute::AllocSize) && in getAllocSizeArgs()
361 assert(hasAttribute(Attribute::VScaleRange) && in getVScaleRangeArgs()
[all …]
H A DAttributeImpl.h62 bool hasAttribute(Attribute::AttrKind A) const;
63 bool hasAttribute(StringRef Kind) const;
199 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function
242 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function
243 return AvailableAttrs.hasAttribute(Kind); in hasAttribute()
245 bool hasAttribute(StringRef Kind) const;
309 return AvailableFunctionAttrs.hasAttribute(Kind); in hasFnAttribute()
H A DStatepoint.cpp21 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr()
22 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
H A DVerifier.cpp1771 if (Attrs.hasAttribute(Attribute::ImmArg)) { in verifyParameterAttrs()
1779 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs()
1780 AttrCount += Attrs.hasAttribute(Attribute::InAlloca); in verifyParameterAttrs()
1781 AttrCount += Attrs.hasAttribute(Attribute::Preallocated); in verifyParameterAttrs()
1782 AttrCount += Attrs.hasAttribute(Attribute::StructRet) || in verifyParameterAttrs()
1783 Attrs.hasAttribute(Attribute::InReg); in verifyParameterAttrs()
1784 AttrCount += Attrs.hasAttribute(Attribute::Nest); in verifyParameterAttrs()
1785 AttrCount += Attrs.hasAttribute(Attribute::ByRef); in verifyParameterAttrs()
1791 Assert(!(Attrs.hasAttribute(Attribute::InAlloca) && in verifyParameterAttrs()
1792 Attrs.hasAttribute(Attribute::ReadOnly)), in verifyParameterAttrs()
[all …]
H A DFunction.cpp107 return hasAttribute(Attribute::ByVal); in hasByValAttr()
113 return hasAttribute(Attribute::ByRef); in hasByRefAttr()
126 return hasAttribute(Attribute::InAlloca); in hasInAllocaAttr()
132 return hasAttribute(Attribute::Preallocated); in hasPreallocatedAttr()
170 if (ParamAttrs.hasAttribute(Attribute::InAlloca) || in getMemoryParamAllocType()
171 ParamAttrs.hasAttribute(Attribute::ByVal) || in getMemoryParamAllocType()
172 ParamAttrs.hasAttribute(Attribute::StructRet) || in getMemoryParamAllocType()
173 ParamAttrs.hasAttribute(Attribute::Preallocated)) in getMemoryParamAllocType()
241 return hasAttribute(Attribute::Nest); in hasNestAttr()
246 return hasAttribute(Attribute::NoAlias); in hasNoAliasAttr()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DGlobalVariable.h198 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()
H A DAttributes.h158 bool hasAttribute(AttrKind Val) const;
161 bool hasAttribute(StringRef Val) const;
317 bool hasAttribute(Attribute::AttrKind Kind) const;
320 bool hasAttribute(StringRef Kind) const;
625 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
628 bool hasAttribute(unsigned Index, StringRef Kind) const;
635 return hasAttribute(ArgNo + FirstArgIndex, Kind);
640 return hasAttribute(ArgNo + FirstArgIndex, Kind);
H A DArgument.h168 bool hasAttribute(Attribute::AttrKind Kind) const;
H A DFunction.h444 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const { in hasAttribute() function
445 return getAttributes().hasAttribute(i, Kind); in hasAttribute()
702 return AttributeSets.hasAttribute(AttributeList::ReturnIndex, in returnDoesNotAlias()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86CallLowering.cpp257 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments()
258 Arg.hasAttribute(Attribute::InReg) || in lowerFormalArguments()
259 Arg.hasAttribute(Attribute::StructRet) || in lowerFormalArguments()
260 Arg.hasAttribute(Attribute::SwiftSelf) || in lowerFormalArguments()
261 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
262 Arg.hasAttribute(Attribute::Nest) || VRegs[Idx].size() > 1) in lowerFormalArguments()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp86 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in checkIR()
87 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in checkIR()
H A DBPFAdjustOpt.cpp222 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in avoidSpeculation()
223 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in avoidSpeculation()
H A DBPFMISimplifyPatchable.cpp291 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) in removeLD()
293 else if (!GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in removeLD()
H A DBTFDebug.cpp1044 if (!GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr) && in processGlobalValue()
1045 !GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) in processGlobalValue()
1054 GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)); in processGlobalValue()
1245 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr) || in InstLower()
1246 GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) { in InstLower()
1272 if (GVar && GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) { in InstLower()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp324 if ((Attrs.hasAttribute("bss-section") && Kind.isBSS()) || in SectionForGlobal()
325 (Attrs.hasAttribute("data-section") && Kind.isData()) || in SectionForGlobal()
326 (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) || in SectionForGlobal()
327 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) { in SectionForGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.cpp83 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs()
84 HasSwiftSelfArg |= Arg.hasAttribute(Attribute::SwiftSelf); in computeSignatureVTs()
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Djs_calls_example.txt135 textbox.xml func hasAttribute 1
138 webdeveloper.js func hasAttribute 1
218 tabbrowser.xml func hasAttribute 3
261 browser.js func hasAttribute 8
279 button.xml func hasAttribute 16
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Djs_calls_example.txt135 textbox.xml func hasAttribute 1
138 webdeveloper.js func hasAttribute 1
218 tabbrowser.xml func hasAttribute 3
261 browser.js func hasAttribute 8
279 button.xml func hasAttribute 16
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DCSPreInliner.cpp105 return Candidate.CalleeSamples->getContext().hasAttribute( in shouldInline()
172 Candidate.CalleeSamples->getContext().hasAttribute(ContextWasInlined); in processFunction()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttributes.h36 int hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp154 if (Arg->hasAttribute(RK.AttrKind) && in isKnowledgeWorthPreserving()
210 bool IsPoisonAttr = Attr.hasAttribute(Attribute::NonNull) || in addCall()
211 Attr.hasAttribute(Attribute::Alignment); in addCall()
423 bool HasSameKindAttr = Arg->hasAttribute(RK.AttrKind); in dropRedundantKnowledge()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCSectionMachO.h54 bool hasAttribute(unsigned Value) const { in hasAttribute() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp127 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in canUseLocalRelocation()
332 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in recordRelocation()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint-passes/
H A DTestPasses.cpp147 if (A.hasAttribute("bugpoint-crash")) in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DAttributes.cpp8 int clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, in hasAttribute() function in clang

123