Home
last modified time | relevance | path

Searched refs:InAlloca (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h85 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 DReference.rst30 InAlloca
119 :doc:`InAlloca`
H A DInAlloca.rst2 Design and Usage of the InAlloca Attribute
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp436 if (Callee->hasParamAttribute(I, Attribute::InAlloca) != in isLegalToPromote()
437 CB.getAttributes().hasParamAttr(I, Attribute::InAlloca)) { in isLegalToPromote()
H A DCodeExtractor.cpp975 case Attribute::InAlloca: in constructFunction()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp38 Attribute::InAlloca, in isValidForDXIL()
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp203 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 DFunction.cpp130 return hasAttribute(Attribute::InAlloca); in hasInAllocaAttr()
143 Attrs.hasParamAttr(getArgNo(), Attribute::InAlloca) || in hasPassPointeeByValueCopyAttr()
153 Attrs.hasParamAttr(getArgNo(), Attribute::InAlloca) || in hasPointeeInMemoryValueAttr()
H A DVerifier.cpp1775 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 DInstrTypes.h1684 return paramHasAttr(ArgNo, Attribute::InAlloca);
1691 paramHasAttr(ArgNo, Attribute::InAlloca) ||
1709 return !arg_empty() && paramHasAttr(arg_size() - 1, Attribute::InAlloca);
H A DAttributes.td118 def InAlloca : TypeAttr<"inalloca", [ParamAttr]>;
H A DAttributes.h1140 Type *getInAllocaType() const { return getTypeAttr(Attribute::InAlloca); }
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp1536 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 DTargetInfo.cpp265 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 DCodeGenFunction.cpp1097 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp652 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 DArgumentPromotion.cpp727 if (F->getAttributes().hasAttrSomewhere(Attribute::InAlloca)) in promoteArguments()
H A DDeadArgumentElimination.cpp491 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in surveyFunction()
H A DGlobalOpt.cpp2005 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) && in OptimizeFunctions()
2007 RemoveAttribute(&F, Attribute::InAlloca); in OptimizeFunctions()
H A DAttributor.cpp2452 FnAttributeList.hasAttrSomewhere(Attribute::InAlloca) || in isValidFunctionSignatureRewrite()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1703 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 DCallLowering.cpp52 if (AttrFn(Attribute::InAlloca)) in addFlagsUsingAttrFn()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1349 Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca, in shouldBeMustTail()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp656 case Attribute::InAlloca: in getAttrKindEncoding()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3267 if (Callee->getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in transformConstExprCastCall()

12