From: "Li, Yicheng" <yli137@vols.utk.edu>
To: "jit@gcc.gnu.org" <jit@gcc.gnu.org>
Subject: JIT function compile to file
Date: Thu, 3 Aug 2023 15:07:36 +0000 [thread overview]
Message-ID: <1A45981A-5FCC-4B7A-9586-85F3315169C2@vols.utk.edu> (raw)
Hi,
I’m looking for examples that can let me build a jit function on one run, save it to a file, and grab from file again on the second run without rebuilding and recompilation.
I’ve seen the function, gcc_jit_context_compile_to_file, and I’m wondering how to use it.
Throughout the documentation, I see the gcc_jit_location type variable, I’m unsure how to use it, and if it is related to calling a saved-to-file jit function.
It would be great if there’s any example that can be provided.
Thank you
Yicheng Li
next reply other threads:[~2023-08-03 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-03 15:07 Li, Yicheng [this message]
2023-08-03 15:47 ` David Malcolm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1A45981A-5FCC-4B7A-9586-85F3315169C2@vols.utk.edu \
--to=yli137@vols.utk.edu \
--cc=jit@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).