Searched refs:hasAttribute (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DStatepoint.cpp21 return Attr.hasAttribute("statepoint-id") ||
22 Attr.hasAttribute("statepoint-num-patch-bytes");
H A DAttributes.cpp282 bool Attribute::hasAttribute(AttrKind Kind) const { function in class:Attribute
283 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None);
286 bool Attribute::hasAttribute(StringRef Kind) const { function in class:Attribute
288 return pImpl && pImpl->hasAttribute(Kind);
292 assert(hasAttribute(Attribute::Alignment) &&
298 assert(hasAttribute(Attribute::StackAlignment) &&
304 assert(hasAttribute(Attribute::Dereferenceable) &&
311 assert(hasAttribute(Attribute::DereferenceableOrNull) &&
318 assert(hasAttribute(Attribute::AllocSize) &&
326 if (hasAttribute(Attribut
566 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const { function in class:AttributeImpl
571 bool AttributeImpl::hasAttribute(StringRef Kind) const { function in class:AttributeImpl
713 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { function in class:AttributeSet
717 bool AttributeSet::hasAttribute(StringRef Kind) const { function in class:AttributeSet
882 bool AttributeSetNode::hasAttribute(StringRef Kind) const { function in class:AttributeSetNode
1403 bool AttributeList::hasAttribute(unsigned Index, function in class:AttributeList
1408 bool AttributeList::hasAttribute(unsigned Index, StringRef Kind) const { function in class:AttributeList
[all...]
H A DAttributeImpl.h62 bool hasAttribute(Attribute::AttrKind A) const;
63 bool hasAttribute(StringRef Kind) const;
195 bool hasAttribute(Attribute::AttrKind Kind) const { function in class:llvm::AttributeBitSet
238 bool hasAttribute(Attribute::AttrKind Kind) const { function in class:llvm::final
239 return AvailableAttrs.hasAttribute(Kind);
241 bool hasAttribute(StringRef Kind) const;
301 return AvailableFunctionAttrs.hasAttribute(Kind);
H A DFunction.cpp102 return hasAttribute(Attribute::ByVal);
115 return hasAttribute(Attribute::InAlloca);
121 return hasAttribute(Attribute::Preallocated);
145 if (ParamAttrs.hasAttribute(Attribute::InAlloca) ||
146 ParamAttrs.hasAttribute(Attribute::ByVal) ||
147 ParamAttrs.hasAttribute(Attribute::Preallocated))
182 return hasAttribute(Attribute::Nest);
187 return hasAttribute(Attribute::NoAlias);
192 return hasAttribute(Attribute::NoCapture);
197 return hasAttribute(Attribut
240 bool Argument::hasAttribute(Attribute::AttrKind Kind) const { function in class:Argument
[all...]
H A DVerifier.cpp1641 if (Attrs.hasAttribute(Attribute::ImmArg)) {
1649 AttrCount += Attrs.hasAttribute(Attribute::ByVal);
1650 AttrCount += Attrs.hasAttribute(Attribute::InAlloca);
1651 AttrCount += Attrs.hasAttribute(Attribute::Preallocated);
1652 AttrCount += Attrs.hasAttribute(Attribute::StructRet) ||
1653 Attrs.hasAttribute(Attribute::InReg);
1654 AttrCount += Attrs.hasAttribute(Attribute::Nest);
1660 Assert(!(Attrs.hasAttribute(Attribute::InAlloca) &&
1661 Attrs.hasAttribute(Attribute::ReadOnly)),
1666 Assert(!(Attrs.hasAttribute(Attribut
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DAttributes.h36 int hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalVariable.h197 bool hasAttribute(Attribute::AttrKind Kind) const { function in class:llvm::GlobalVariable
198 return Attrs.hasAttribute(Kind);
202 bool hasAttribute(StringRef Kind) const { function in class:llvm::GlobalVariable
203 return Attrs.hasAttribute(Kind);
243 return getAttributes().hasAttribute("bss-section") ||
244 getAttributes().hasAttribute("data-section") ||
245 getAttributes().hasAttribute("relro-section") ||
246 getAttributes().hasAttribute("rodata-section");
H A DArgument.h137 bool hasAttribute(Attribute::AttrKind Kind) const;
H A DAttributes.h142 bool hasAttribute(AttrKind Val) const;
145 bool hasAttribute(StringRef Val) const;
290 bool hasAttribute(Attribute::AttrKind Kind) const;
293 bool hasAttribute(StringRef Kind) const;
564 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
567 bool hasAttribute(unsigned Index, StringRef Kind) const;
574 return hasAttribute(ArgNo + FirstArgIndex, Kind);
579 return hasAttribute(ArgNo + FirstArgIndex, Kind);
587 /// Equivalent to hasAttribute(AttributeList::FunctionIndex, Kind) but
591 /// Equivalent to hasAttribute(AttributeLis
[all...]
H A DFunction.h412 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const { function in class:llvm::Function
413 return getAttributes().hasAttribute(i, Kind);
633 return AttributeSets.hasAttribute(AttributeList::ReturnIndex,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetMachine.cpp166 std::string CPU = !CPUAttr.hasAttribute(Attribute::None)
169 std::string FS = !FSAttr.hasAttribute(Attribute::None)
173 !F.getFnAttribute("mips16").hasAttribute(Attribute::None);
175 !F.getFnAttribute("nomips16").hasAttribute(Attribute::None);
178 !F.getFnAttribute("micromips").hasAttribute(Attribute::None);
180 !F.getFnAttribute("nomicromips").hasAttribute(Attribute::None);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionMachO.h54 bool hasAttribute(unsigned Value) const { function in class:llvm::final
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp259 if ((Attrs.hasAttribute("bss-section") && Kind.isBSS()) ||
260 (Attrs.hasAttribute("data-section") && Kind.isData()) ||
261 (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) ||
262 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp86 if (Attrs.hasAttribute(OpIdx, Attribute::ZExt))
88 if (Attrs.hasAttribute(OpIdx, Attribute::SExt))
90 if (Attrs.hasAttribute(OpIdx, Attribute::InReg))
92 if (Attrs.hasAttribute(OpIdx, Attribute::StructRet))
94 if (Attrs.hasAttribute(OpIdx, Attribute::SwiftSelf))
96 if (Attrs.hasAttribute(OpIdx, Attribute::SwiftError))
98 if (Attrs.hasAttribute(OpIdx, Attribute::ByVal))
100 if (Attrs.hasAttribute(OpIdx, Attribute::Preallocated))
102 if (Attrs.hasAttribute(OpIdx, Attribute::InAlloca))
120 if (Attrs.hasAttribute(OpId
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.cpp80 std::string CPU = !CPUAttr.hasAttribute(Attribute::None)
83 std::string FS = !FSAttr.hasAttribute(Attribute::None)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.cpp80 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError);
81 HasSwiftSelfArg |= Arg.hasAttribute(Attribute::SwiftSelf);
H A DWebAssemblyTargetMachine.cpp163 std::string CPU = !CPUAttr.hasAttribute(Attribute::None)
166 std::string FS = !FSAttr.hasAttribute(Attribute::None)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DXRayInstrumentation.cpp148 bool AlwaysInstrument = !InstrAttr.hasAttribute(Attribute::None) &&
155 if (ThresholdAttr.hasAttribute(Attribute::None) ||
161 bool IgnoreLoops = !IgnoreLoopsAttr.hasAttribute(Attribute::None);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallLowering.cpp346 if (Arg.hasAttribute(Attribute::ByVal) ||
347 Arg.hasAttribute(Attribute::InReg) ||
348 Arg.hasAttribute(Attribute::StructRet) ||
349 Arg.hasAttribute(Attribute::SwiftSelf) ||
350 Arg.hasAttribute(Attribute::SwiftError) ||
351 Arg.hasAttribute(Attribute::Nest) || VRegs[Idx].size() > 1)
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp8 int clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, function in class:clang
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp114 std::string CPU = !CPUAttr.hasAttribute(Attribute::None)
117 std::string FS = !FSAttr.hasAttribute(Attribute::None)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetMachine.cpp174 std::string CPU = !CPUAttr.hasAttribute(Attribute::None)
177 std::string FS = !FSAttr.hasAttribute(Attribute::None)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMISimplifyPatchable.cpp291 if (GVar->hasAttribute(BPFCoreSharedInfo::AmaAttr))
293 else if (!GVar->hasAttribute(BPFCoreSharedInfo::TypeIdAttr))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp127 if (Section.hasAttribute(MachO::S_ATTR_DEBUG))
332 if (Section.hasAttribute(MachO::S_ATTR_DEBUG))

Completed in 138 milliseconds

1234