Displaying 2 results from an estimated 2 matches for "removeunreachableblocksfromfn".
2009 Jun 30
2
[LLVMdev] Irreducibility and the -simplifycfg flag
Hi everyone,
I'm currently trying to run a study on irreducibility of C programs, and
I've implemented structural analysis (original paper by Sharir, algorithm in
Muchnick's book) as an LLVM pass. When my implementation becomes a bit less
buggy I'll certainly look into including it in the LLVM project.
As a test for the algorithm I've been producing LLVM bitcode for C files
2009 Nov 14
4
[LLVMdev] CFG using LLVM
Hi,
I am a new user of LLVM. I am using it as the IR for a compiler for a subset
of LUA.
I have the .ll file ready and it executes fine when passed to the llvm
interpreter.
Now, I wish to perform a few optimizations to the code starting with dead
code elimination.
For this I would need the CFG. I am very new to all of this stuff. Please
help me out guys.
The way I want to proceed is to start at