Home
last modified time | relevance | path

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

123

/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DAttributes.cpp395 if (hasAttribute(Attribute::InReg)) in getAsString()
401 if (hasAttribute(Attribute::Naked)) in getAsString()
403 if (hasAttribute(Attribute::Nest)) in getAsString()
415 if (hasAttribute(Attribute::NoFree)) in getAsString()
431 if (hasAttribute(Attribute::NoSync)) in getAsString()
461 if (hasAttribute(Attribute::SExt)) in getAsString()
485 if (hasAttribute(Attribute::ZExt)) in getAsString()
487 if (hasAttribute(Attribute::Cold)) in getAsString()
489 if (hasAttribute(Attribute::Hot)) in getAsString()
491 if (hasAttribute(Attribute::ImmArg)) in getAsString()
[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()
1784 AttrCount += Attrs.hasAttribute(Attribute::Nest); in verifyParameterAttrs()
1803 Assert(!(Attrs.hasAttribute(Attribute::ZExt) && in verifyParameterAttrs()
1804 Attrs.hasAttribute(Attribute::SExt)), in verifyParameterAttrs()
1856 if (Attrs.hasAttribute(Attribute::ByRef)) { in verifyParameterAttrs()
1871 if (Attrs.hasAttribute(Attribute::InAlloca)) { in verifyParameterAttrs()
1876 Assert(!Attrs.hasAttribute(Attribute::ByVal), in verifyParameterAttrs()
1879 Assert(!Attrs.hasAttribute(Attribute::ByRef), in verifyParameterAttrs()
1955 if (ArgAttrs.hasAttribute(Attribute::Nest)) { in verifyFunctionAttrs()
[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()
241 return hasAttribute(Attribute::Nest); in hasNestAttr()
246 return hasAttribute(Attribute::NoAlias); in hasNoAliasAttr()
251 return hasAttribute(Attribute::NoCapture); in hasNoCaptureAttr()
256 return hasAttribute(Attribute::NoFree); in hasNoFreeAttr()
265 return hasAttribute(Attribute::InReg); in hasInRegAttr()
269 return hasAttribute(Attribute::Returned); in hasReturnedAttr()
273 return hasAttribute(Attribute::ZExt); in hasZExtAttr()
[all …]
/netbsd/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/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/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/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/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/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/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/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/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttributes.h36 int hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
/netbsd/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/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCSectionMachO.h54 bool hasAttribute(unsigned Value) const { in hasAttribute() function
/netbsd/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/external/apache2/llvm/dist/llvm/tools/bugpoint-passes/
H A DTestPasses.cpp147 if (A.hasAttribute("bugpoint-crash")) in runOnFunction()
/netbsd/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