| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 85 InAlloca, enumerator 87 KindLast = InAlloca 229 auto AI = ABIArgInfo(InAlloca); 297 bool isInAlloca() const { return TheKind == InAlloca; } in isInAlloca()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | Reference.rst | 30 InAlloca 119 :doc:`InAlloca`
|
| H A D | InAlloca.rst | 2 Design and Usage of the InAlloca Attribute
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 436 if (Callee->hasParamAttribute(I, Attribute::InAlloca) != in isLegalToPromote() 437 CB.getAttributes().hasParamAttr(I, Attribute::InAlloca)) { in isLegalToPromote()
|
| H A D | CodeExtractor.cpp | 975 case Attribute::InAlloca: in constructFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 38 Attribute::InAlloca, in isValidForDXIL()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Attributes.cpp | 203 return get(Context, InAlloca, Ty); in getWithInAllocaType() 739 return SetNode ? SetNode->getAttributeType(Attribute::InAlloca) : nullptr; in getInAllocaType() 1755 return addTypeAttr(Attribute::InAlloca, Ty); in addInAllocaAttr() 1837 .addAttribute(Attribute::InAlloca) in typeIncompatible()
|
| H A D | Function.cpp | 130 return hasAttribute(Attribute::InAlloca); in hasInAllocaAttr() 143 Attrs.hasParamAttr(getArgNo(), Attribute::InAlloca) || in hasPassPointeeByValueCopyAttr() 153 Attrs.hasParamAttr(getArgNo(), Attribute::InAlloca) || in hasPointeeInMemoryValueAttr()
|
| H A D | Verifier.cpp | 1775 AttrCount += Attrs.hasAttribute(Attribute::InAlloca); in verifyParameterAttrs() 1786 Check(!(Attrs.hasAttribute(Attribute::InAlloca) && in verifyParameterAttrs() 1855 if (Attrs.hasAttribute(Attribute::InAlloca)) { in verifyParameterAttrs() 1887 if (Attrs.hasAttribute(Attribute::InAlloca)) { in verifyParameterAttrs() 2001 if (ArgAttrs.hasAttribute(Attribute::InAlloca)) { in verifyFunctionAttrs() 2512 Check(!Attrs.hasParamAttr(i, Attribute::InAlloca), in visitFunction() 3318 if (ArgAttrs.hasAttribute(Attribute::InAlloca)) in visitCallBase() 3433 Check(!Attrs.contains(Attribute::InAlloca), in verifyTailCCMustTailAttrs() 3459 Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca, in getParameterABIAttributes()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 1684 return paramHasAttr(ArgNo, Attribute::InAlloca); 1691 paramHasAttr(ArgNo, Attribute::InAlloca) || 1709 return !arg_empty() && paramHasAttr(arg_size() - 1, Attribute::InAlloca);
|
| H A D | Attributes.td | 118 def InAlloca : TypeAttr<"inalloca", [ParamAttr]>;
|
| H A D | Attributes.h | 1140 Type *getInAllocaType() const { return getTypeAttr(Attribute::InAlloca); }
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 1536 case ABIArgInfo::InAlloca: in construct() 1631 case ABIArgInfo::InAlloca: in GetFunctionType() 1689 case ABIArgInfo::InAlloca: in GetFunctionType() 2330 case ABIArgInfo::InAlloca: in ConstructAttributeList() 2520 case ABIArgInfo::InAlloca: in ConstructAttributeList() 2747 case ABIArgInfo::InAlloca: { in EmitFunctionProlog() 3511 case ABIArgInfo::InAlloca: in EmitFunctionEpilog() 4825 case ABIArgInfo::InAlloca: { in EmitCall() 5512 case ABIArgInfo::InAlloca: in EmitCall()
|
| H A D | TargetInfo.cpp | 265 case InAlloca: in dump() 2009 UsedInAlloca |= (Args[I].info.getKind() == ABIArgInfo::InAlloca); in computeInfo() 2053 case ABIArgInfo::InAlloca: in isArgInAlloca() 9838 case ABIArgInfo::InAlloca: in EmitVAArg() 10221 case ABIArgInfo::InAlloca: in EmitVAArg()
|
| H A D | CodeGenFunction.cpp | 1097 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 652 Attrs.hasParamAttr(I, Attribute::InAlloca) || in fastLowerArguments() 836 Attrs.hasParamAttr(I, Attribute::InAlloca) || in selectCall()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 727 if (F->getAttributes().hasAttrSomewhere(Attribute::InAlloca)) in promoteArguments()
|
| H A D | DeadArgumentElimination.cpp | 491 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in surveyFunction()
|
| H A D | GlobalOpt.cpp | 2005 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) && in OptimizeFunctions() 2007 RemoveAttribute(&F, Attribute::InAlloca); in OptimizeFunctions()
|
| H A D | Attributor.cpp | 2452 FnAttributeList.hasAttrSomewhere(Attribute::InAlloca) || in isValidFunctionSignatureRewrite()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 1703 case Attribute::InAlloca: return 1ULL << 43; in getRawAttributeMask() 1849 return Attribute::InAlloca; in getAttrFromCode() 2082 else if (Kind == Attribute::InAlloca) in parseAttributeGroupBlock() 3849 Attribute::InAlloca}) { in parseFunctionRecord() 3871 case Attribute::InAlloca: in parseFunctionRecord() 4365 Attribute::InAlloca}) { in propagateAttributeTypes() 4382 case Attribute::InAlloca: in propagateAttributeTypes() 5734 const bool InAlloca = Bitfield::get<APV::UsedWithInAlloca>(Rec); in parseFunctionBody() local 5767 AI->setUsedWithInAlloca(InAlloca); in parseFunctionBody()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 52 if (AttrFn(Attribute::InAlloca)) in addFlagsUsingAttrFn()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 1349 Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca, in shouldBeMustTail()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 656 case Attribute::InAlloca: in getAttrKindEncoding()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 3267 if (Callee->getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in transformConstExprCastCall()
|