Lines Matching defs:IRFunctionArgs
1669 ClangToLLVMArgMapping IRFunctionArgs(getContext(), FI, true);
1670 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs());
1673 if (IRFunctionArgs.hasSRetArg()) {
1676 ArgTypes[IRFunctionArgs.getSRetArgNo()] =
1681 if (IRFunctionArgs.hasInallocaArg())
1682 ArgTypes[IRFunctionArgs.getInallocaArgNo()] =
1693 if (IRFunctionArgs.hasPaddingArg(ArgNo))
1694 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] =
1698 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo);
2578 ClangToLLVMArgMapping IRFunctionArgs(getContext(), FI);
2646 SmallVector<llvm::AttributeSet, 4> ArgAttrs(IRFunctionArgs.totalIRArgs());
2649 if (IRFunctionArgs.hasSRetArg()) {
2658 ArgAttrs[IRFunctionArgs.getSRetArgNo()] =
2663 if (IRFunctionArgs.hasInallocaArg()) {
2666 ArgAttrs[IRFunctionArgs.getInallocaArgNo()] =
2673 if (FI.isInstanceMethod() && !IRFunctionArgs.hasInallocaArg() &&
2675 auto IRArgs = IRFunctionArgs.getIRArgs(0);
2717 if (IRFunctionArgs.hasPaddingArg(ArgNo)) {
2719 ArgAttrs[IRFunctionArgs.getPaddingArgNo(ArgNo)] =
2888 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo);
2984 ClangToLLVMArgMapping IRFunctionArgs(CGM.getContext(), FI);
2985 assert(Fn->arg_size() == IRFunctionArgs.totalIRArgs());
2990 if (IRFunctionArgs.hasInallocaArg())
2991 ArgStruct = Address(Fn->getArg(IRFunctionArgs.getInallocaArgNo()),
2995 if (IRFunctionArgs.hasSRetArg()) {
2996 auto AI = Fn->getArg(IRFunctionArgs.getSRetArgNo());
3030 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo);
5141 ClangToLLVMArgMapping IRFunctionArgs(CGM.getContext(), CallInfo);
5142 SmallVector<llvm::Value *, 16> IRCallArgs(IRFunctionArgs.totalIRArgs());
5156 IRFunctionArgs.getSRetArgNo(),
5168 if (IRFunctionArgs.hasSRetArg()) {
5169 IRCallArgs[IRFunctionArgs.getSRetArgNo()] =
5196 if (IRFunctionArgs.hasPaddingArg(ArgNo))
5197 IRCallArgs[IRFunctionArgs.getPaddingArgNo(ArgNo)] =
5201 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo);
5573 assert(IRFunctionArgs.hasInallocaArg());
5574 IRCallArgs[IRFunctionArgs.getInallocaArgNo()] = Arg;
5636 if (IRFunctionArgs.hasInallocaArg() &&
5637 i == IRFunctionArgs.getInallocaArgNo())