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

Declarations

include/llvm/IR/InstrTypes.h
 1466   bool paramHasAttr(unsigned ArgNo, Attribute::AttrKind Kind) const;

References

include/llvm/IR/CallSite.h
  386     CALLSITE_DELEGATE_GETTER(paramHasAttr(ArgNo, Kind));
include/llvm/IR/InstrTypes.h
 1518       return paramHasAttr(i - 1, Kind);
 1534     return paramHasAttr(ArgNo, Attribute::ByVal);
 1539     return paramHasAttr(ArgNo, Attribute::InAlloca);
 1544     return paramHasAttr(ArgNo, Attribute::ByVal) ||
 1545            paramHasAttr(ArgNo, Attribute::InAlloca);
 1551     return !arg_empty() && paramHasAttr(arg_size() - 1, Attribute::InAlloca);
 1721     return paramHasAttr(0, Attribute::StructRet);
lib/Analysis/BasicAliasAnalysis.cpp
  773   if (Call->paramHasAttr(ArgIdx, Attribute::WriteOnly))
  802   if (Call->paramHasAttr(ArgIdx, Attribute::ReadOnly))
  805   if (Call->paramHasAttr(ArgIdx, Attribute::ReadNone))
lib/Analysis/InlineCost.cpp
  758   return CandidateCall.paramHasAttr(A->getArgNo(), Attr);
lib/Bitcode/Reader/BitcodeReader.cpp
 3683     if (!CB->paramHasAttr(i, Attribute::ByVal))
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1633     if (CI.paramHasAttr(Arg.index(), Attribute::ImmArg)) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 4796     if (!I.paramHasAttr(i, Attribute::ImmArg)) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  103   IsSExt = Call->paramHasAttr(ArgIdx, Attribute::SExt);
  104   IsZExt = Call->paramHasAttr(ArgIdx, Attribute::ZExt);
  105   IsInReg = Call->paramHasAttr(ArgIdx, Attribute::InReg);
  106   IsSRet = Call->paramHasAttr(ArgIdx, Attribute::StructRet);
  107   IsNest = Call->paramHasAttr(ArgIdx, Attribute::Nest);
  108   IsByVal = Call->paramHasAttr(ArgIdx, Attribute::ByVal);
  109   IsInAlloca = Call->paramHasAttr(ArgIdx, Attribute::InAlloca);
  110   IsReturned = Call->paramHasAttr(ArgIdx, Attribute::Returned);
  111   IsSwiftSelf = Call->paramHasAttr(ArgIdx, Attribute::SwiftSelf);
  112   IsSwiftError = Call->paramHasAttr(ArgIdx, Attribute::SwiftError);
  115   if (Call->paramHasAttr(ArgIdx, Attribute::ByVal))
lib/IR/Verifier.cpp
 2880     if (Call.paramHasAttr(i, Attribute::SwiftError)) {
 2904     if (Call.paramHasAttr(i, Attribute::ImmArg)) {
 3435       Assert(Call.paramHasAttr(Idx, Attribute::SwiftError),
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4280         !Call.paramHasAttr(ArgNo, Attribute::NonNull) &&
lib/Transforms/Utils/SimplifyLibCalls.cpp
  200         CI->paramHasAttr(ArgNo, Attribute::NonNull))
  209           CI->paramHasAttr(ArgNo, Attribute::NonNull))
  224     if (CI->paramHasAttr(ArgNo, Attribute::NonNull))
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
   45   EXPECT_TRUE(Call->paramHasAttr(1U, Attribute::ByVal))