reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Attributes.h
  582   bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;

References

include/llvm/IR/Function.h
  404     return getAttributes().hasParamAttribute(ArgNo, Kind);
  606     return AttributeSets.hasParamAttribute(0, Attribute::StructRet) ||
  607            AttributeSets.hasParamAttribute(1, Attribute::StructRet);
lib/Analysis/Lint.cpp
  274             if (PAL.hasParamAttribute(ArgNo, Attribute::ByVal))
  307         if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal))
lib/IR/Function.cpp
  107   return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) ||
  108          Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca);
  171   return Attrs.hasParamAttribute(getArgNo(), Attribute::ReadOnly) ||
  172          Attrs.hasParamAttribute(getArgNo(), Attribute::ReadNone);
lib/IR/Instructions.cpp
  336   if (Attrs.hasParamAttribute(ArgNo, Kind))
  339     return F->getAttributes().hasParamAttribute(ArgNo, Kind);
lib/IR/Verifier.cpp
 2219     if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) {
 2896     if (Attrs.hasParamAttribute(i, Attribute::ImmArg)) {
 2917       if (Attrs.hasParamAttribute(Idx, Attribute::Nest))
 2919       if (Attrs.hasParamAttribute(Idx, Attribute::Returned))
 3041     if (Attrs.hasParamAttribute(I, AK))
 3044   if (Attrs.hasParamAttribute(I, Attribute::Alignment))
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  537     return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) ||
  538            F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal);
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
 1234     return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) ||
 1235            F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1471     if (!PAL.hasParamAttribute(paramIndex, Attribute::ByVal)) {
lib/Target/NVPTX/NVPTXISelLowering.cpp
 2551     if (!PAL.hasParamAttribute(i, Attribute::ByVal)) {
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  646     if (Attrs.hasParamAttribute(I, Attribute::ByVal) ||
  647         Attrs.hasParamAttribute(I, Attribute::SwiftSelf) ||
  648         Attrs.hasParamAttribute(I, Attribute::SwiftError) ||
  649         Attrs.hasParamAttribute(I, Attribute::InAlloca) ||
  650         Attrs.hasParamAttribute(I, Attribute::Nest))
  840     if (Attrs.hasParamAttribute(I, Attribute::ByVal) ||
  841         Attrs.hasParamAttribute(I, Attribute::SwiftSelf) ||
  842         Attrs.hasParamAttribute(I, Attribute::SwiftError) ||
  843         Attrs.hasParamAttribute(I, Attribute::InAlloca) ||
  844         Attrs.hasParamAttribute(I, Attribute::Nest))
  849     if (Attrs.hasParamAttribute(I, Attribute::SExt))
  851     else if (Attrs.hasParamAttribute(I, Attribute::ZExt))
lib/Transforms/IPO/DeadArgumentElimination.cpp
  759       HasLiveReturnedArg |= PAL.hasParamAttribute(i, Attribute::Returned);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4507     if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) {
 4577     if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) {
unittests/IR/AttributesTest.cpp
  156   EXPECT_TRUE(AL.hasParamAttribute(0, Attribute::NonNull));