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

References

gen/lib/IR/AttributesCompatFunc.inc
   77     .Case("byval", Attribute::ByVal)
  198     return llvm::Attribute::ByVal;
include/llvm/IR/CallSite.h
  608     return paramHasAttr(ArgNo, Attribute::ByVal);
  618     return paramHasAttr(ArgNo, Attribute::ByVal) ||
include/llvm/IR/InstrTypes.h
 1534     return paramHasAttr(ArgNo, Attribute::ByVal);
 1544     return paramHasAttr(ArgNo, Attribute::ByVal) ||
 1726     return Attrs.hasAttrSomewhere(Attribute::ByVal);
lib/Analysis/BasicAliasAnalysis.cpp
  885           !CI->getAttributes().hasAttrSomewhere(Attribute::ByVal))
lib/Analysis/Lint.cpp
  274             if (PAL.hasParamAttribute(ArgNo, Attribute::ByVal))
  307         if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal))
lib/Bitcode/Reader/BitcodeReader.cpp
 1228   case Attribute::ByVal:           return 1 << 7;
 1424     return Attribute::ByVal;
 1615           if (Kind == Attribute::ByVal)
 1658           if (Kind == Attribute::ByVal)
 3237     if (!Func->hasParamAttribute(i, Attribute::ByVal))
 3241     Func->removeParamAttr(i, Attribute::ByVal);
 3683     if (!CB->paramHasAttr(i, Attribute::ByVal))
 3686     CB->removeParamAttr(i, Attribute::ByVal);
lib/Bitcode/Writer/BitcodeWriter.cpp
  610   case Attribute::ByVal:
lib/Bitcode/Writer/ValueEnumerator.cpp
  954     if (I.hasAttribute(Attribute::ByVal))
lib/CodeGen/GlobalISel/CallLowering.cpp
   91   if (Attrs.hasAttribute(OpIdx, Attribute::ByVal))
   99     auto Ty = Attrs.getAttribute(OpIdx, Attribute::ByVal).getValueAsType();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 9618     if (Arg.hasAttribute(Attribute::ByVal))
 9662       if (Arg.hasAttribute(Attribute::ByVal))
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  108   IsByVal = Call->paramHasAttr(ArgIdx, Attribute::ByVal);
  115   if (Call->paramHasAttr(ArgIdx, Attribute::ByVal))
lib/IR/Attributes.cpp
  168   return get(Context, ByVal, Ty);
  396   if (hasAttribute(Attribute::ByVal)) {
  778     case Attribute::ByVal:
  854     if (I.hasAttribute(Attribute::ByVal))
 1468   else if (Kind == Attribute::ByVal)
 1492   else if (Val == Attribute::ByVal)
 1577   Attrs[Attribute::ByVal] = true;
 1707     Incompatible.addAttribute(Attribute::ByVal)
lib/IR/Core.cpp
  146   if (AttrKind == Attribute::AttrKind::ByVal) {
lib/IR/Function.cpp
   88   return hasAttribute(Attribute::ByVal);
  107   return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) ||
lib/IR/Verifier.cpp
 1600   AttrCount += Attrs.hasAttribute(Attribute::ByVal);
 1651   if (Attrs.hasAttribute(Attribute::ByVal) && Attrs.getByValType()) {
 1665       Assert(!Attrs.hasAttribute(Attribute::ByVal) &&
 1676     Assert(!Attrs.hasAttribute(Attribute::ByVal),
 1701   Assert((!RetAttrs.hasAttribute(Attribute::ByVal) &&
 3036       Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca,
lib/Linker/IRMover.cpp
  639     if (Attrs.hasAttribute(i, Attribute::ByVal)) {
  640       Type *Ty = Attrs.getAttribute(i, Attribute::ByVal).getValueAsType();
  644       Attrs = Attrs.removeAttribute(C, i, Attribute::ByVal);
lib/Target/AArch64/AArch64FastISel.cpp
 2970     if (Arg.hasAttribute(Attribute::ByVal) ||
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  538            F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal);
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
 1235            F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal);
lib/Target/ARM/ARMFastISel.cpp
 2362         CS.paramHasAttr(ArgIdx, Attribute::ByVal))
 3032         Arg.hasAttribute(Attribute::ByVal))
lib/Target/Hexagon/HexagonBitTracker.cpp
   74     if (Arg.hasAttribute(Attribute::ByVal))
lib/Target/Mips/MipsFastISel.cpp
 1355         FormalArg.hasAttribute(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) ||
  840     if (Attrs.hasParamAttribute(I, Attribute::ByVal) ||
lib/Target/X86/X86CallLowering.cpp
  346     if (Arg.hasAttribute(Attribute::ByVal) ||
lib/Target/X86/X86FastISel.cpp
 3082     if (Arg.hasAttribute(Attribute::ByVal) ||
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4373           Call.removeParamAttr(ix, Attribute::ByVal);
 4487       Callee->getAttributes().hasAttrSomewhere(Attribute::ByVal))
 4507     if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) {
 4577     if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) {
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 3313       if (CS.paramHasAttr(i, Attribute::ByVal)) {
 3798       bool IsByVal = CS.paramHasAttr(ArgNo, Attribute::ByVal);
 4417       bool IsByVal = CS.paramHasAttr(ArgNo, Attribute::ByVal);
lib/Transforms/Utils/CodeExtractor.cpp
  854       case Attribute::ByVal:
lib/Transforms/Utils/ValueMapper.cpp
  903       if (Attrs.hasAttribute(i, Attribute::ByVal)) {
  904         Type *Ty = Attrs.getAttribute(i, Attribute::ByVal).getValueAsType();
  908         Attrs = Attrs.removeAttribute(C, i, Attribute::ByVal);
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
  243       if (call_attribs.hasAttribute(I, llvm::Attribute::ByVal)) {
  245         call_inst->removeAttribute(I, llvm::Attribute::ByVal);
  256         arg.removeAttr(llvm::Attribute::ByVal);
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
   31       AttributeSet::get(Context, AttrBuilder().addAttribute(Attribute::ByVal)),
   45   EXPECT_TRUE(Call->paramHasAttr(1U, Attribute::ByVal))
unittests/IR/AttributesTest.cpp
   44   Attribute ByVal = Attribute::get(C, Attribute::ByVal, Type::getInt32Ty(C));