[LLVMdev] [PATCH] & Question: Preserving ProfileInfo for backend.

Andreas Neustifter astifter-llvm at gmx.at
Tue Sep 8 01:27:02 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

the second part of my work is to preserve the profiling information
through all the transformation passes and make it available to the
backend machinery.

Attached is an example patch on how I plan to preserve the information
for a given transformation pass.

And now comes the question into place: whats the best way to attach the
profile info also the MachineBlocks and MachineFunctions? I was thinking
of converting the ProfileInfo into a template and using it for both
BasicBlocks and MachineBasicBlocks.

And where is the best point to transfer this information from the
bytecode CFG to the machinecode CFG?

Thanks, Andi

- --
==========================================================================
This email is signed, for more information see
http://web.student.tuwien.ac.at/~e0325716/gpg.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqmFVYACgkQPiYq0rq7s/AxcgCggdPJqtjo8aujpZ6NxtQTQVBY
TrEAnRrwHSHToDA6t8p4zqVVWdahj585
=8kyz
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-r81204.preserve.profiling.info.patch
Type: text/x-patch
Size: 2157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090908/ab02c8b2/attachment.bin>


More information about the llvm-dev mailing list