Displaying 4 results from an estimated 4 matches for "rafiul1906".
2016 Mar 22
2
Passing llvm option -mem2reg to clang
...S.so -c ../../tests/test1.c
For mem2reg, I tried the following:
clang -mllvm -mem2reg -Xclang -load -Xclang MYPASS.so -c ../../tests/test1.c
On Mon, Mar 21, 2016 at 9:26 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>> On Mar 21, 2016, at 6:23 PM, Syed Rafiul Hussain <rafiul1906 at gmail.com> wrote:
>>
>> I have my own llvm pass which requires mem2reg. It worked fine with
>> opt. However, I was trying to make it work with clang as I needed it
>> to run some spec cpu benchmarks.
>>
>> Is there any way that I can mention mem2reg (Promo...
2016 Mar 22
2
Passing llvm option -mem2reg to clang
I have my own llvm pass which requires mem2reg. It worked fine with
opt. However, I was trying to make it work with clang as I needed it
to run some spec cpu benchmarks.
Is there any way that I can mention mem2reg (PromotePass) pass as a
pre-requisite in my own pass's implementation?
On Mon, Mar 21, 2016 at 9:01 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
> Hi,
>
> You
2016 Jan 22
3
LLVM - getAnalysisUsage()
I have added -debug-pass=Structure, and found the following:
ModulePass Manager
X Analysis
Unnamed pass: implement Pass::getPassName()
FunctionPass Manager
Module Verifier
Bitcode Writer
Pass Arguments: -x -y -z
FunctionPass Manager
X Analysis
Y Construction
Z Construction
Even for getAnalysis<Y>(*F) and getAnalysis<Z>(&F), all the passes X,
2016 Mar 22
1
Passing llvm option -mem2reg to clang
...em2reg -Xclang -load -Xclang MYPASS.so -c
> ../../tests/test1.c
> >
> >
> >
> >
> > On Mon, Mar 21, 2016 at 9:26 PM, Mehdi Amini <mehdi.amini at apple.com>
> wrote:
> > >
> > >> On Mar 21, 2016, at 6:23 PM, Syed Rafiul Hussain <
> rafiul1906 at gmail.com> wrote:
> > >>
> > >> I have my own llvm pass which requires mem2reg. It worked fine with
> > >> opt. However, I was trying to make it work with clang as I needed it
> > >> to run some spec cpu benchmarks.
> > >>
> >...