Displaying 20 results from an estimated 20000 matches similar to: "Parsing llvm IR"
2016 Jun 27
2
How to traverse llvm DAG for analysis
Hello All,
I would like your help to learn how to traverse an LLVM DAG and perform some analysis. I know that llc can be used to view a DAG, but I would like to manipulate them. In particular I'm interested in the instruction selection and the scheduling DAGs.
I have read the documentation about writing an analysis pass and I know how to traverse a basic block on a LLVM IR assembly file, but
2015 Oct 07
2
LLVM IR from static/dynamic libraries
Hi All,
Is this possible to generate LLVM IR from any static/dynamic link library?
I have some static and dynamic link library and I want to generate LLVM IR
as I want to obfuscate these libraries.
Is there any way to do the same.
Please give me some pointers on this.
Thanks,
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Jun 27
0
How to traverse llvm DAG for analysis
Dear Raul,
Instruction selection and instruction scheduling is, to the best of my
knowledge, done at the MachineInstr (MI) IR level. The documentation
you've read is on the target independent LLVM IR.
You will probably need to read the documentation on LLVM's code
generator. The documents on Writing an LLVM Backend, the LLVM Target
Independent Code Generator, and Machine IR Format
2015 Nov 01
2
Google Summer of Code 2016 | LLVM
Hi,
I am a graduate student in computer science.I have taken a programming
languages course this semester and I am having great fun building
interpreters.I am planning to build toy compilers in the winter.I would
love to participate in GSOC 2016 contributing to LLVM.Could anyone let me
know desirable skills should be developed to contribute to LLVM ? Also I
would like to know the open projects
2014 Oct 05
2
[LLVMdev] extending LLVM - basic block reordering
Hi.
I want to change order of code basic blocks in memory. I visited "
http://llvm.org/docs/ExtendingLLVM.html" page and it advised me to ask it
before any effort.
What parts of LLVM help me and how? I am a newbie on LLVM.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Jun 05
0
[LLVMdev] llvm-tv
On 6/1/12 7:33 PM, AbhishekR wrote:
> I am trying to compile llvm-tv as per the instructions from the link -
> http://llvm.org/svn/llvm-project/television/trunk/README.txt
>
> The poolalloc doesn't seem to be in synch with the llvm svn version
> mentioned (78786). It is giving lot of errors during compilation. I
> fixed a few of them by bringing in functions/header files
2012 Jun 02
3
[LLVMdev] llvm-tv
I am trying to compile llvm-tv as per the instructions from the link -
http://llvm.org/svn/llvm-project/television/trunk/README.txt
The poolalloc doesn't seem to be in synch with the llvm svn version
mentioned (78786). It is giving lot of errors during compilation. I fixed a
few of them by bringing in functions/header files etc. wherever required
from the mainline llvm. But this exercise
2012 Jun 06
3
[LLVMdev] llvm-tv
Thanks John. I verified that and poolalloc builds with LLVM 3.0. I used
clang for compiling wxWidgets, LLVM 3.0 and poolalloc.
But llvm-tv build still gives build error. I take it that llvm-tv is still
incompatible with these versions of poolalloc and LLVM 3.0. I think the
code is manageable - couple of files in lib,include and some 30 odd small
files in tools directory. I'll have a look at
2015 Apr 24
2
[LLVMdev] convert LLVM IR to another IR without SSA
Hi, Diego,
Thanks for your quick reply. Inserting a copy instruction may not work here
because I have a limitation of virtual register number. I need to assign
registers with ssa form to registers without ssa form. I will look the
source code you point out.
Thanks
Xiangyang
On Fri, Apr 24, 2015 at 4:19 PM, Diego Novillo <dnovillo at google.com> wrote:
>
>
> On Fri, Apr 24, 2015
2014 Mar 30
2
[LLVMdev] Running an IR pass after all IR passes
Thank you very much John.
With an environment variable I need to take some special care, but it looks
like the only way to go.
On Sun, Mar 30, 2014 at 11:07 AM, John Criswell <criswell at illinois.edu>wrote:
> Dear Rahman,
>
> I think your best option is to modify the code in libLTO so that it runs
> your pass when you want it to run. I believe the file you want to modify
2012 Jun 06
0
[LLVMdev] llvm-tv
I fixed all the other build errors. This is the only one pending.
On Tue, Jun 5, 2012 at 8:33 PM, AbhishekR <abhishekr1982 at gmail.com> wrote:
> I fixed most of the errors.
>
> There is a weird error I am seeing and seems to be some incompatibility in
> expanding macros between FileSystem.h in LLVM and intl.h in wxWidgets. Any
> idea how to fix this?
>
> In file
2015 May 19
3
[LLVMdev] Processing functions in call graph SCC "order" with function-level analyses
Thanks John.
Does this solve the problem of analysis availability though? If I still have to run the function analyses manually, I might as well keep rolling with the CallGraphSCCPass. (I probably should have mentioned that this is what I’m using right now.)
Félix
> Le 2015-05-19 à 10:12:32, John Criswell <jtcriswel at gmail.com> a écrit :
>
> On 5/18/15 10:45 PM, Félix Cloutier
2015 Feb 17
3
[LLVMdev] Google Summer of Code
John,
Yes, I'm taking care about application as usual.
On Tue, Feb 17, 2015 at 4:48 AM, Eric Christopher <echristo at gmail.com> wrote:
> I believe Anton was going to do so.
>
>
> On Mon, Feb 16, 2015, 5:14 PM John Criswell <jtcriswel at gmail.com> wrote:
>>
>> Dear All,
>>
>> Has someone registered LLVM as an organization for Google Summer of
2016 Mar 22
2
GSOC inquiry.
Sir,
I am interested in adding a new analysis or optimization pass and building
the getting started guide as a project for gsoc.
On Mon, Mar 21, 2016 at 1:29 AM, John Criswell <jtcriswel at gmail.com> wrote:
> On 3/17/16 10:58 AM, Om Shivom Nagpal wrote:
>
> No i have not worked previously on llvm. I have looked through the
> projects but because of no prior experience i am
2015 Jul 18
4
[LLVMdev] How can i differentiate pointer type int 32* from int 32** ?
John, thanks for your helpful advice.
My ultimate goal is to construct a full instruction-level program
dependence graph for a given IR file. The hard point is how to establish
the correct data dependence edges when some function arguments are
multi-level pointers. To solve this problem I hope to check the point-to
level for each pointer variable. I think the data dependence through
pointers can
2015 Feb 27
2
[LLVMdev] Walking thru CallGraph bottom up
Hi Simon,
> From: Simone Atzeni <simone.at at gmail.com>
> To: John Criswell <jtcriswel at gmail.com>
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Walking thru CallGraph bottom up
> Message-ID: <318EBA41-2040-4EFE-B330-5813C817C2A2 at gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> I think I got it and the example is
2016 Mar 23
1
GSOC inquiry.
Sir,
I am interested in add a new pass. I have read about analysis,
transformation passes. Can you help me with some example ideas?
On Wed, Mar 23, 2016 at 1:39 AM, John Criswell <jtcriswel at gmail.com> wrote:
> On 3/22/16 11:15 AM, Om Shivom Nagpal wrote:
>
> Sir,
> I am interested in adding a new analysis or optimization pass and building
> the getting started guide as a
2016 Apr 27
3
ArrayBoundChecks in SafeCode-llvm37
Hi,
I am wondering if anyone could run ArrayBoundChecks located in
SafeCode-llvm37 (https://github.com/jtcriswell/safecode-llvm37) on
llvm-3.8?
Thanks.
Syed
--
Rafi
2015 Feb 25
2
[LLVMdev] Walking thru CallGraph bottom up
Thanks John.
I guess I will use a ModulePass, so when I am implementing the “runOnModule” function,
do I have to loop through all the functions, for each functions all the BasicBlocks and for each BasicBlock all the instructions
or given the Module I have to call the CallGraph directly?
Is there an example out there? I can’t find anything.
Thanks.
Simone
> On Feb 24, 2015, at 13:29, John
2015 Jan 31
4
[LLVMdev] How to install poolalloc?
Hi, John Criswell
Thank you very much.
I am installing LLVM-3.2, but I encounter the next error when carrying out
"make":
llvm[3]: Compiling ClangASTNodesEmitter.cpp for Release+Asserts build
ClangASTNodesEmitter.cpp: In member function ‘std::pair<llvm::Record*,
llvm::Record*><unnamed>::ClangASTNodesEmitter::EmitNode(const
std::multimap<llvm::Record*, llvm::Record*,