Displaying 3 results from an estimated 3 matches for "yugesh".
Did you mean:
yogesh
2020 Jul 20
2
Getting LLVM Instructions
...standalone
> llvm::Module and serialized from there. If it's only select
> instructions, then maybe text is fine? Or maybe you can summarize the
> information you want from the call more succinctly than LLVM's textual
> representation.
>
> On Mon, Jul 20, 2020 at 12:00 PM Yugesh Kothari <kothariyugesh at gmail.com>
> wrote:
> >
> > Replicating what clang -emit-llvm does sound like the better way to do
> it.
> >
> > I was looking under IRPrintingPasses but couldn't find anything specific
> that would allow me to print out say a std...
2020 Jul 20
2
Getting LLVM Instructions
...o use th binary searialization rather than the
> textual. If I were doing this I'd try building something using clang
> with -emit-llvm (that'll produce LLVM IR bitcode in the .o file) and
> debug that to see which APIs are used to do that.
>
> On Mon, Jul 20, 2020 at 3:19 AM Yugesh Kothari via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> >
> > Hi,
> >
> > I am working on a project where I need to get a list of llvm Functions
> that were called during an execution (for futher analysis).
> > To do this I have maintained a vector<...
2020 Jul 20
2
Getting LLVM Instructions
Hi,
I am working on a project where I need to get a list of llvm Functions that
were called during an execution (for futher analysis).
To do this I have maintained a vector<llvm:: Function*> which I print out
to a .ll file at the end. However this takes a lot of time since the number
of call Instructions is HUGE.
I feel that the bottleneck is the conversion from llvm:: Function to