HomeSort by: relevance | last modified time | path
    Searched refs:hasAttribute (Results 1 - 25 of 69) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/lib/IR/
Statepoint.cpp 21 return Attr.hasAttribute("statepoint-id") ||
22 Attr.hasAttribute("statepoint-num-patch-bytes");
Attributes.cpp 319 bool Attribute::hasAttribute(AttrKind Kind) const {
320 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None);
323 bool Attribute::hasAttribute(StringRef Kind) const {
325 return pImpl && pImpl->hasAttribute(Kind);
329 assert(hasAttribute(Attribute::Alignment) &&
335 assert(hasAttribute(Attribute::StackAlignment) &&
341 assert(hasAttribute(Attribute::Dereferenceable) &&
348 assert(hasAttribute(Attribute::DereferenceableOrNull) &&
355 assert(hasAttribute(Attribute::AllocSize) &&
361 assert(hasAttribute(Attribute::VScaleRange) &
    [all...]
AttributeImpl.h 62 bool hasAttribute(Attribute::AttrKind A) const;
63 bool hasAttribute(StringRef Kind) const;
199 bool hasAttribute(Attribute::AttrKind Kind) const {
242 bool hasAttribute(Attribute::AttrKind Kind) const {
243 return AvailableAttrs.hasAttribute(Kind);
245 bool hasAttribute(StringRef Kind) const;
309 return AvailableFunctionAttrs.hasAttribute(Kind);
Verifier.cpp 1771 if (Attrs.hasAttribute(Attribute::ImmArg)) {
1779 AttrCount += Attrs.hasAttribute(Attribute::ByVal);
1780 AttrCount += Attrs.hasAttribute(Attribute::InAlloca);
1781 AttrCount += Attrs.hasAttribute(Attribute::Preallocated);
1782 AttrCount += Attrs.hasAttribute(Attribute::StructRet) ||
1783 Attrs.hasAttribute(Attribute::InReg);
1784 AttrCount += Attrs.hasAttribute(Attribute::Nest);
1785 AttrCount += Attrs.hasAttribute(Attribute::ByRef);
1791 Assert(!(Attrs.hasAttribute(Attribute::InAlloca) &&
1792 Attrs.hasAttribute(Attribute::ReadOnly))
    [all...]
Function.cpp 107 return hasAttribute(Attribute::ByVal);
113 return hasAttribute(Attribute::ByRef);
126 return hasAttribute(Attribute::InAlloca);
132 return hasAttribute(Attribute::Preallocated);
170 if (ParamAttrs.hasAttribute(Attribute::InAlloca) ||
171 ParamAttrs.hasAttribute(Attribute::ByVal) ||
172 ParamAttrs.hasAttribute(Attribute::StructRet) ||
173 ParamAttrs.hasAttribute(Attribute::Preallocated))
241 return hasAttribute(Attribute::Nest);
246 return hasAttribute(Attribute::NoAlias)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
Attributes.h 36 int hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
GlobalVariable.h 198 bool hasAttribute(Attribute::AttrKind Kind) const {
199 return Attrs.hasAttribute(Kind);
203 bool hasAttribute(StringRef Kind) const {
204 return Attrs.hasAttribute(Kind);
244 return getAttributes().hasAttribute("bss-section") ||
245 getAttributes().hasAttribute("data-section") ||
246 getAttributes().hasAttribute("relro-section") ||
247 getAttributes().hasAttribute("rodata-section");
Argument.h 168 bool hasAttribute(Attribute::AttrKind Kind) const;
Attributes.h 158 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);
648 /// Equivalent to hasAttribute(AttributeList::FunctionIndex, Kind) but
652 /// Equivalent to hasAttribute(AttributeList::FunctionIndex, Kind) bu
    [all...]
Function.h 444 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const {
445 return getAttributes().hasAttribute(i, Kind);
702 return AttributeSets.hasAttribute(AttributeList::ReturnIndex,
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFCheckAndAdjustIR.cpp 86 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) ||
87 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr))
BPFAdjustOpt.cpp 222 if (GV->hasAttribute(BPFCoreSharedInfo::AmaAttr) ||
223 GV->hasAttribute(BPFCoreSharedInfo::TypeIdAttr))
BPFMISimplifyPatchable.cpp 291 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr))
293 else if (!GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr))
BTFDebug.cpp 1044 if (!GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr) &&
1045 !GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr))
1054 GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr));
1245 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr) ||
1246 GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr)) {
1272 if (GVar && GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr)) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/
MCSectionMachO.h 54 bool hasAttribute(unsigned Value) const {
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86CallLowering.cpp 257 if (Arg.hasAttribute(Attribute::ByVal) ||
258 Arg.hasAttribute(Attribute::InReg) ||
259 Arg.hasAttribute(Attribute::StructRet) ||
260 Arg.hasAttribute(Attribute::SwiftSelf) ||
261 Arg.hasAttribute(Attribute::SwiftError) ||
262 Arg.hasAttribute(Attribute::Nest) || VRegs[Idx].size() > 1)
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyMachineFunctionInfo.cpp 83 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError);
84 HasSwiftSelfArg |= Arg.hasAttribute(Attribute::SwiftSelf);
  /src/external/apache2/llvm/dist/llvm/lib/Target/
TargetLoweringObjectFile.cpp 324 if ((Attrs.hasAttribute("bss-section") && Kind.isBSS()) ||
325 (Attrs.hasAttribute("data-section") && Kind.isData()) ||
326 (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) ||
327 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) {
  /src/external/apache2/llvm/dist/clang/lib/Basic/
Attributes.cpp 8 int clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonOptimizeSZextends.cpp 75 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) {
  /src/external/apache2/llvm/dist/llvm/tools/bugpoint-passes/
TestPasses.cpp 147 if (A.hasAttribute("bugpoint-crash"))
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
CSPreInliner.cpp 105 return Candidate.CalleeSamples->getContext().hasAttribute(
172 Candidate.CalleeSamples->getContext().hasAttribute(ContextWasInlined);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
AssumeBundleBuilder.cpp 154 if (Arg->hasAttribute(RK.AttrKind) &&
210 bool IsPoisonAttr = Attr.hasAttribute(Attribute::NonNull) ||
211 Attr.hasAttribute(Attribute::Alignment);
423 bool HasSameKindAttr = Arg->hasAttribute(RK.AttrKind);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64MachObjectWriter.cpp 127 if (Section.hasAttribute(MachO::S_ATTR_DEBUG))
332 if (Section.hasAttribute(MachO::S_ATTR_DEBUG))
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCSectionMachO.cpp 163 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS);

Completed in 29 milliseconds

1 2 3