Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/lib/IR/
HDAttributes.cpp147 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute() function in Attribute
148 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
151 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute
153 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
158 assert(hasAttribute(Attribute::Alignment) && in getAlignment()
166 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
173 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes()
180 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes()
189 if (hasAttribute(Attribute::SanitizeAddress)) in getAsString()
191 if (hasAttribute(Attribute::AlwaysInline)) in getAsString()
[all …]
HDFunction.cpp80 hasAttribute(getArgNo()+1, Attribute::NonNull)) in hasNonNullAttr()
93 hasAttribute(getArgNo()+1, Attribute::ByVal); in hasByValAttr()
101 hasAttribute(getArgNo()+1, Attribute::InAlloca); in hasInAllocaAttr()
107 return Attrs.hasAttribute(getArgNo() + 1, Attribute::ByVal) || in hasByValOrInAllocaAttr()
108 Attrs.hasAttribute(getArgNo() + 1, Attribute::InAlloca); in hasByValOrInAllocaAttr()
134 hasAttribute(getArgNo()+1, Attribute::Nest); in hasNestAttr()
142 hasAttribute(getArgNo()+1, Attribute::NoAlias); in hasNoAliasAttr()
150 hasAttribute(getArgNo()+1, Attribute::NoCapture); in hasNoCaptureAttr()
158 hasAttribute(getArgNo()+1, Attribute::StructRet); in hasStructRetAttr()
165 hasAttribute(getArgNo()+1, Attribute::Returned); in hasReturnedAttr()
[all …]
HDVerifier.cpp1308 Assert(!Attrs.hasAttribute(Idx, Attribute::ByVal) && in VerifyParameterAttrs()
1309 !Attrs.hasAttribute(Idx, Attribute::Nest) && in VerifyParameterAttrs()
1310 !Attrs.hasAttribute(Idx, Attribute::StructRet) && in VerifyParameterAttrs()
1311 !Attrs.hasAttribute(Idx, Attribute::NoCapture) && in VerifyParameterAttrs()
1312 !Attrs.hasAttribute(Idx, Attribute::Returned) && in VerifyParameterAttrs()
1313 !Attrs.hasAttribute(Idx, Attribute::InAlloca), in VerifyParameterAttrs()
1321 AttrCount += Attrs.hasAttribute(Idx, Attribute::ByVal); in VerifyParameterAttrs()
1322 AttrCount += Attrs.hasAttribute(Idx, Attribute::InAlloca); in VerifyParameterAttrs()
1323 AttrCount += Attrs.hasAttribute(Idx, Attribute::StructRet) || in VerifyParameterAttrs()
1324 Attrs.hasAttribute(Idx, Attribute::InReg); in VerifyParameterAttrs()
[all …]
HDAttributeImpl.h55 bool hasAttribute(Attribute::AttrKind A) const;
56 bool hasAttribute(StringRef Kind) const;
159 bool hasAttribute(Attribute::AttrKind Kind) const;
160 bool hasAttribute(StringRef Kind) const;
/NextBSD/contrib/llvm/include/llvm/IR/
HDFunction.h218 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
221 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
279 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
289 AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
299 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
308 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
317 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
326 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
335 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
346 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
[all …]
HDAttributes.h162 bool hasAttribute(AttrKind Val) const;
165 bool hasAttribute(StringRef Val) const;
330 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
333 bool hasAttribute(unsigned Index, StringRef Kind) const;
HDStatepoint.h183 (F ? F->getAttributes().hasAttribute(i, A) : false); in paramHasAttr()
/NextBSD/contrib/llvm/lib/Target/Mips/
HDMipsTargetMachine.cpp128 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
131 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
135 !F.getFnAttribute("mips16").hasAttribute(Attribute::None); in getSubtargetImpl()
137 !F.getFnAttribute("nomips16").hasAttribute(Attribute::None); in getSubtargetImpl()
/NextBSD/contrib/llvm/lib/Target/WebAssembly/
HDWebAssemblyTargetMachine.cpp67 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
70 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
HDWebAssemblyRegisterInfo.cpp83 F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in needsStackRealignment()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDAttributes.h33 int hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDAttributes.cpp6 int clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, in hasAttribute() function in clang
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86TargetMachine.cpp133 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
136 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
/NextBSD/cddl/contrib/dtracetoolkit/Examples/
HDjs_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
/NextBSD/contrib/llvm/include/llvm/MC/
HDMCSectionMachO.h63 bool hasAttribute(unsigned Value) const { in hasAttribute() function
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64TargetMachine.cpp145 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
148 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
HDAArch64RegisterInfo.cpp206 F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in needsStackRealignment()
/NextBSD/contrib/llvm/lib/Target/Hexagon/
HDHexagonRemoveSZExtArgs.cpp62 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) { in runOnFunction()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCTargetMachine.cpp223 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
226 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
/NextBSD/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
HDAArch64MachObjectWriter.cpp118 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in canUseLocalRelocation()
325 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in recordRelocation()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMTargetMachine.cpp196 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
199 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
/NextBSD/contrib/llvm/lib/Target/
HDTargetMachine.cpp165 if (SMO.hasAttribute(MachO::S_ATTR_NO_DEAD_STRIP)) in canUsePrivateLabel()
/NextBSD/contrib/llvm/lib/MC/
HDMCSectionMachO.cpp157 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS); in UseCodeAlign()
/NextBSD/contrib/llvm/lib/CodeGen/
HDTargetLoweringBase.cpp1489 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in GetReturnInfo()
1491 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
1509 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::InReg)) in GetReturnInfo()
1513 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in GetReturnInfo()
1515 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDPPMacroExpansion.cpp1634 Value = hasAttribute(AttrSyntax::GNU, nullptr, FeatureII, in ExpandBuiltinMacro()
1637 Value = hasAttribute(AttrSyntax::CXX, ScopeII, FeatureII, in ExpandBuiltinMacro()
1640 Value = hasAttribute(AttrSyntax::Declspec, nullptr, FeatureII, in ExpandBuiltinMacro()

12