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

References

gen/lib/IR/AttributesCompatFunc.inc
  129     .Case("sret", Attribute::StructRet)
  458     return llvm::Attribute::StructRet;
include/llvm/IR/Function.h
  606     return AttributeSets.hasParamAttribute(0, Attribute::StructRet) ||
  607            AttributeSets.hasParamAttribute(1, Attribute::StructRet);
include/llvm/IR/InstrTypes.h
 1721     return paramHasAttr(0, Attribute::StructRet);
lib/AsmParser/LLParser.cpp
 1644     case lltok::kw_sret:            B.addAttribute(Attribute::StructRet); break;
 5432   if (PAL.hasAttribute(1, Attribute::StructRet) && !RetType->isVoidTy())
lib/Bitcode/Reader/BitcodeReader.cpp
 1225   case Attribute::StructRet:       return 1 << 4;
 1516     return Attribute::StructRet;
lib/Bitcode/Writer/BitcodeWriter.cpp
  700   case Attribute::StructRet:
lib/CodeGen/GlobalISel/CallLowering.cpp
   85   if (Attrs.hasAttribute(OpIdx, Attribute::StructRet))
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 9656       if (Arg.hasAttribute(Attribute::StructRet))
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  106   IsSRet = Call->paramHasAttr(ArgIdx, Attribute::StructRet);
lib/IR/Attributes.cpp
  381   if (hasAttribute(Attribute::StructRet))
 1716       .addAttribute(Attribute::StructRet)
lib/IR/Function.cpp
  150   return hasAttribute(Attribute::StructRet);
lib/IR/Verifier.cpp
 1602   AttrCount += Attrs.hasAttribute(Attribute::StructRet) ||
 1615   Assert(!(Attrs.hasAttribute(Attribute::StructRet) &&
 1703           !RetAttrs.hasAttribute(Attribute::StructRet) &&
 1747     if (ArgAttrs.hasAttribute(Attribute::StructRet)) {
 2000       Assert(!ArgAttrs.hasAttribute(Attribute::StructRet),
 2949         Assert(!ArgAttrs.hasAttribute(Attribute::StructRet),
 3036       Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca,
lib/Target/AArch64/AArch64FastISel.cpp
 2972         Arg.hasAttribute(Attribute::StructRet) ||
lib/Target/ARM/ARMFastISel.cpp
 2358         CS.paramHasAttr(ArgIdx, Attribute::StructRet) ||
 3029         Arg.hasAttribute(Attribute::StructRet) ||
lib/Target/Mips/MipsFastISel.cpp
 1354         FormalArg.hasAttribute(Attribute::StructRet) ||
lib/Target/X86/X86CallLowering.cpp
  348         Arg.hasAttribute(Attribute::StructRet) ||
lib/Target/X86/X86FastISel.cpp
 3084         Arg.hasAttribute(Attribute::StructRet) ||
 3166     if (CS->arg_empty() || !CS->paramHasAttr(0, Attribute::StructRet) ||
lib/Transforms/IPO/ArgumentPromotion.cpp
  941       F->removeParamAttr(ArgNo, Attribute::StructRet);
  945         CS.removeParamAttr(ArgNo, Attribute::StructRet);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4547     if (CallerPAL.hasAttrSomewhere(Attribute::StructRet, &SRetIdx) &&
lib/Transforms/Utils/CodeExtractor.cpp
  879       case Attribute::StructRet:
tools/clang/lib/CodeGen/CGCall.cpp
 2005     SRETAttrs.addAttribute(llvm::Attribute::StructRet);
 2117         Attrs.addAttribute(llvm::Attribute::StructRet);
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
   30                         AttrBuilder().addAttribute(Attribute::StructRet)),