Patent ID: 11972281
Assignee: NVIDIA CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method comprising:
receiving, using a processing device, a first intermediate representation of a first portion of a source code implementing an application;
receiving a second intermediate representation of a second portion of the source code;
merging, at run-time, the first intermediate representation and the second intermediate representation into a merged intermediate representation, wherein the first intermediate representation includes a reference to a function in the second intermediate representation;
identifying, based on a run-time value of a parameter of the application, a flow transfer instruction within the merged intermediate representation, wherein the flow transfer instruction references the function;
identifying, within the merged intermediate representation, a set of executable instructions implementing the function; and
replacing the flow transfer instruction with a copy of the set of executable instructions implementing the function.