Lines Matching refs:IRFunctionArgs

1603   ClangToLLVMArgMapping IRFunctionArgs(getContext(), FI, true);  in GetFunctionType()  local
1604 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs()); in GetFunctionType()
1607 if (IRFunctionArgs.hasSRetArg()) { in GetFunctionType()
1611 ArgTypes[IRFunctionArgs.getSRetArgNo()] = in GetFunctionType()
1616 if (IRFunctionArgs.hasInallocaArg()) { in GetFunctionType()
1619 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = ArgStruct->getPointerTo(); in GetFunctionType()
1630 if (IRFunctionArgs.hasPaddingArg(ArgNo)) in GetFunctionType()
1631 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in GetFunctionType()
1635 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in GetFunctionType()
2087 ClangToLLVMArgMapping IRFunctionArgs(getContext(), FI); in ConstructAttributeList() local
2137 SmallVector<llvm::AttributeSet, 4> ArgAttrs(IRFunctionArgs.totalIRArgs()); in ConstructAttributeList()
2140 if (IRFunctionArgs.hasSRetArg()) { in ConstructAttributeList()
2147 ArgAttrs[IRFunctionArgs.getSRetArgNo()] = in ConstructAttributeList()
2152 if (IRFunctionArgs.hasInallocaArg()) { in ConstructAttributeList()
2155 ArgAttrs[IRFunctionArgs.getInallocaArgNo()] = in ConstructAttributeList()
2160 if (FI.isInstanceMethod() && !IRFunctionArgs.hasInallocaArg() && in ConstructAttributeList()
2162 auto IRArgs = IRFunctionArgs.getIRArgs(0); in ConstructAttributeList()
2198 if (IRFunctionArgs.hasPaddingArg(ArgNo)) { in ConstructAttributeList()
2200 ArgAttrs[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in ConstructAttributeList()
2338 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in ConstructAttributeList()
2434 ClangToLLVMArgMapping IRFunctionArgs(CGM.getContext(), FI); in EmitFunctionProlog() local
2435 assert(Fn->arg_size() == IRFunctionArgs.totalIRArgs()); in EmitFunctionProlog()
2440 if (IRFunctionArgs.hasInallocaArg()) { in EmitFunctionProlog()
2441 ArgStruct = Address(Fn->getArg(IRFunctionArgs.getInallocaArgNo()), in EmitFunctionProlog()
2448 if (IRFunctionArgs.hasSRetArg()) { in EmitFunctionProlog()
2449 auto AI = Fn->getArg(IRFunctionArgs.getSRetArgNo()); in EmitFunctionProlog()
2483 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in EmitFunctionProlog()
4378 ClangToLLVMArgMapping IRFunctionArgs(CGM.getContext(), CallInfo); in EmitCall() local
4379 SmallVector<llvm::Value *, 16> IRCallArgs(IRFunctionArgs.totalIRArgs()); in EmitCall()
4397 if (IRFunctionArgs.hasSRetArg()) { in EmitCall()
4398 IRCallArgs[IRFunctionArgs.getSRetArgNo()] = SRetPtr.getPointer(); in EmitCall()
4424 if (IRFunctionArgs.hasPaddingArg(ArgNo)) in EmitCall()
4425 IRCallArgs[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in EmitCall()
4429 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in EmitCall()
4783 assert(IRFunctionArgs.hasInallocaArg()); in EmitCall()
4784 IRCallArgs[IRFunctionArgs.getInallocaArgNo()] = Arg; in EmitCall()
4846 if (IRFunctionArgs.hasInallocaArg() && in EmitCall()
4847 i == IRFunctionArgs.getInallocaArgNo()) in EmitCall()