[llvm-dev] How to create a call to a MachineFunction

Grischenko, Andrei L via llvm-dev llvm-dev at lists.llvm.org
Fri Dec 1 03:54:53 PST 2017


Hello.

Having two MachineFunctions (say MachineFunction A and MachineFunction "Const Name") in code-gen I'm looking for possibility to generate a call of "Const Name" machine function from machine function A being inside machine function A.
Note that "Const Name" means that I know the exact name of called machine function.
Looking through code-gens sources I was not able to find an example. So I assume that there is not such functionality, but may be I'm wrong.
So if you know how to do that, please let me know.

Thanks in advance,
Andrei.

--------------------------------------------------------------------

Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek
przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by
others is strictly prohibited.


More information about the llvm-dev mailing list