search for: kothariyugesh

Displaying 2 results from an estimated 2 matches for "kothariyugesh".

2020 Jul 20
2
Getting LLVM Instructions
...vm::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::vector<llvm:: Instruc...
2020 Jul 20
2
Getting LLVM Instructions
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::vector<llvm:: Instruction*>. What do you think would be the easiest way to do this? Can I do some hack where I can get away without writing my own llvm pass? I'm not even sure what the right