Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt inlining so-far unspecialized callees
Sometimes we know the callee, but there wasn't yet a specialization (or an applicable specialization) performed. If the bytecode is small enough, then we can produce a specialization on demand and try to do an inlining of that. This doesn't yet convey the types of the incoming arguments to the specialization of the callee, so various possible optimizations are still not performed yet.
- Loading branch information
Showing
5 changed files
with
85 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
void MVM_spesh_args(MVMThreadContext *tc, MVMSpeshGraph *g, MVMCallsite *cs, | ||
MVMSpeshStatsType *type_tuple); | ||
void MVM_spesh_args_from_callinfo(MVMThreadContext *tc, MVMSpeshGraph *g, | ||
MVMSpeshCallInfo *call_info); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters