Lines Matching defs:IRFunctionArgs

1645   ClangToLLVMArgMapping IRFunctionArgs(getContext(), FI, true);
1646 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs());
1649 if (IRFunctionArgs.hasSRetArg()) {
1652 ArgTypes[IRFunctionArgs.getSRetArgNo()] =
1657 if (IRFunctionArgs.hasInallocaArg())
1658 ArgTypes[IRFunctionArgs.getInallocaArgNo()] =
1669 if (IRFunctionArgs.hasPaddingArg(ArgNo))
1670 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] =
1674 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo);
2544 ClangToLLVMArgMapping IRFunctionArgs(getContext(), FI);
2610 SmallVector<llvm::AttributeSet, 4> ArgAttrs(IRFunctionArgs.totalIRArgs());
2613 if (IRFunctionArgs.hasSRetArg()) {
2622 ArgAttrs[IRFunctionArgs.getSRetArgNo()] =
2627 if (IRFunctionArgs.hasInallocaArg()) {
2630 ArgAttrs[IRFunctionArgs.getInallocaArgNo()] =
2637 if (FI.isInstanceMethod() && !IRFunctionArgs.hasInallocaArg() &&
2639 auto IRArgs = IRFunctionArgs.getIRArgs(0);
2681 if (IRFunctionArgs.hasPaddingArg(ArgNo)) {
2683 ArgAttrs[IRFunctionArgs.getPaddingArgNo(ArgNo)] =
2846 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo);
2942 ClangToLLVMArgMapping IRFunctionArgs(CGM.getContext(), FI);
2943 assert(Fn->arg_size() == IRFunctionArgs.totalIRArgs());
2948 if (IRFunctionArgs.hasInallocaArg())
2949 ArgStruct = Address(Fn->getArg(IRFunctionArgs.getInallocaArgNo()),
2953 if (IRFunctionArgs.hasSRetArg()) {
2954 auto AI = Fn->getArg(IRFunctionArgs.getSRetArgNo());
2988 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo);
5072 ClangToLLVMArgMapping IRFunctionArgs(CGM.getContext(), CallInfo);
5073 SmallVector<llvm::Value *, 16> IRCallArgs(IRFunctionArgs.totalIRArgs());
5083 IRFunctionArgs.getSRetArgNo(),
5095 if (IRFunctionArgs.hasSRetArg()) {
5096 IRCallArgs[IRFunctionArgs.getSRetArgNo()] =
5123 if (IRFunctionArgs.hasPaddingArg(ArgNo))
5124 IRCallArgs[IRFunctionArgs.getPaddingArgNo(ArgNo)] =
5128 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo);
5500 assert(IRFunctionArgs.hasInallocaArg());
5501 IRCallArgs[IRFunctionArgs.getInallocaArgNo()] = Arg;
5563 if (IRFunctionArgs.hasInallocaArg() &&
5564 i == IRFunctionArgs.getInallocaArgNo())