Lines Matching refs:IRFunctionArgs
1505 ClangToLLVMArgMapping IRFunctionArgs(getContext(), FI, true); in GetFunctionType() local
1506 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs()); in GetFunctionType()
1509 if (IRFunctionArgs.hasSRetArg()) { in GetFunctionType()
1513 ArgTypes[IRFunctionArgs.getSRetArgNo()] = in GetFunctionType()
1518 if (IRFunctionArgs.hasInallocaArg()) { in GetFunctionType()
1521 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = ArgStruct->getPointerTo(); in GetFunctionType()
1532 if (IRFunctionArgs.hasPaddingArg(ArgNo)) in GetFunctionType()
1533 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in GetFunctionType()
1537 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in GetFunctionType()
1802 ClangToLLVMArgMapping IRFunctionArgs(getContext(), FI); in ConstructAttributeList() local
1853 if (IRFunctionArgs.hasSRetArg()) { in ConstructAttributeList()
1860 getLLVMContext(), IRFunctionArgs.getSRetArgNo() + 1, SRETAttrs)); in ConstructAttributeList()
1864 if (IRFunctionArgs.hasInallocaArg()) { in ConstructAttributeList()
1868 getLLVMContext(), IRFunctionArgs.getInallocaArgNo() + 1, Attrs)); in ConstructAttributeList()
1880 if (IRFunctionArgs.hasPaddingArg(ArgNo)) { in ConstructAttributeList()
1883 getLLVMContext(), IRFunctionArgs.getPaddingArgNo(ArgNo) + 1, in ConstructAttributeList()
1997 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in ConstructAttributeList()
2095 ClangToLLVMArgMapping IRFunctionArgs(CGM.getContext(), FI); in EmitFunctionProlog() local
2098 FnArgs.reserve(IRFunctionArgs.totalIRArgs()); in EmitFunctionProlog()
2102 assert(FnArgs.size() == IRFunctionArgs.totalIRArgs()); in EmitFunctionProlog()
2108 if (IRFunctionArgs.hasInallocaArg()) { in EmitFunctionProlog()
2110 ArgStruct = Address(FnArgs[IRFunctionArgs.getInallocaArgNo()], in EmitFunctionProlog()
2117 if (IRFunctionArgs.hasSRetArg()) { in EmitFunctionProlog()
2118 auto AI = cast<llvm::Argument>(FnArgs[IRFunctionArgs.getSRetArgNo()]); in EmitFunctionProlog()
2148 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in EmitFunctionProlog()
3552 ClangToLLVMArgMapping IRFunctionArgs(CGM.getContext(), CallInfo); in EmitCall() local
3553 SmallVector<llvm::Value *, 16> IRCallArgs(IRFunctionArgs.totalIRArgs()); in EmitCall()
3571 if (IRFunctionArgs.hasSRetArg()) { in EmitCall()
3572 IRCallArgs[IRFunctionArgs.getSRetArgNo()] = SRetPtr.getPointer(); in EmitCall()
3592 if (IRFunctionArgs.hasPaddingArg(ArgNo)) in EmitCall()
3593 IRCallArgs[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in EmitCall()
3597 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in EmitCall()
3859 assert(IRFunctionArgs.hasInallocaArg()); in EmitCall()
3860 IRCallArgs[IRFunctionArgs.getInallocaArgNo()] = Arg; in EmitCall()
3899 if (IRFunctionArgs.hasInallocaArg() && in EmitCall()
3900 i == IRFunctionArgs.getInallocaArgNo()) in EmitCall()