Displaying 6 results from an estimated 6 matches for "irwanto".
Did you mean:
irwan
2008 Apr 22
2
[LLVMdev] The source code Makefile (newbie with pass registering Problem)
Hi!!
It's me again. I guess that there is a problem in the Makefile of my source code. But I don't know where. Could you please verify it?
The Makefile is written like this:
# Makefile for Genetic Algorithm Pass
CXXFLAGS = -Wall -I/iss/fpga3/nicole/galib247/
LDFLAGS= -L/iss/fpga3/nicole/galib247/ga/ -lga -Wl,-E
# Path to top level of LLVM heirarchy
LEVEL=../../../
# Name of the
2008 Apr 22
1
[LLVMdev] newbie with pass registering Problem
Hi!!
This is my first time with llvm. I'm still learning and really need help.
I wrote only one Function Pass, which uses another Function Pass (blockNrs), and registered this:
RegisterPass<FunctionAnalysis> X("gasched", "Genom Scheduling Pass");
When I compile my sourcecode, everything was okay. But when I tried to test it, i got this error Message:
nicole at
2008 Apr 21
1
[LLVMdev] newbie with pass registering Problem
Hi!!
This is my first time with llvm. I'm still learning and really need help.
I wrote only one Function Pass, which uses another Function Pass (blockNrs), and registered this:
RegisterPass<FunctionAnalysis> X("gasched", "Genom Scheduling Pass");
When I compile my sourcecode, everything was okay. But when I tried to test it, i got this error Message:
nicole at
2008 Apr 23
0
[LLVMdev] newbie with pass registering Problem
Hi Devang,
> Did you use static ID ? For example ...
>
> class VISIBILITY_HIDDEN GVN : public FunctionPass {
> bool runOnFunction(Function &F);
> public:
> static char ID; // Pass identification, replacement for typeid
> GVN() : FunctionPass((intptr_t)&ID) { }
> ...
>
Yes, I did. And actually everything was doing fine until I added galib (
2008 Apr 23
0
[LLVMdev] newbie with pass registering Problem
Hi John!!
>1) Have you ensured that your passes have different arguments to the =
>RegisterPass constructor (i.e., they have different names)?
Yes, I only write one Pass (Function Pass) and gave it that one name.
>2) Are you sure that variable X is only being defined once? There are =
>some ways in which you could have unintentionally defined it twice. For =
>example, if you
2008 Apr 26
0
[LLVMdev] The source code Makefile (newbie with pass registering Problem)
Hi Dominic!!
Oh thanks for your advice. I'll try it.
-nic-
> This doesn't directly answer your question, however I'm hoping it might
> set someone on the right path to help. I've had problems passing
> CPPFLAGS through from my Makefiles to the llvm compile command line. It
> seems that anything I set in CPPFLAGS is set in the llvm Makefiles
> themselves (seen