Displaying 10 results from an estimated 10 matches for "phdwork".
Did you mean:
hpd_work
2011 Apr 26
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
...re did the "noalias" attribute and "tail call" (rather than "call") come
> from? Are you setting these yourself or running some optimization pass
> after
> your pass?
>
i have written a module pass and i have compiled it and then
opt -load /home/inspiron/PhdWork/llvm-2.8/Release/lib/Example.so -Example2
< hello.bc > /dev/null
i get the error message
Wrong type for attribute noalias
tail call void @consume(i32 noalias 3, i32* @y) nounwind
Broken module found, compilation aborted!
0 libLLVM-2.8.so.1 0x019bc628
Stack dump:
0. Program arguments: opt -...
2011 Apr 26
0
[LLVMdev] inserting a fucntion call at the end of basic bloc
...from? Are you setting these yourself or running some optimization pass after
> your pass?
>
>
> i have written a module pass and i have compiled it and then
you didn't answer my questions, you just repeated what you said before.
Ciao, Duncan.
> opt -load /home/inspiron/PhdWork/llvm-2.8/Release/lib/Example.so -Example2 <
> hello.bc > /dev/null
> i get the error message
> Wrong type for attribute noalias
> tail call void @consume(i32 noalias 3, i32* @y) nounwind
> Broken module found, compilation aborted!
> 0 libLLVM-2.8.so.1 0x019bc628
> Sta...
2011 Apr 26
1
[LLVMdev] inserting a fucntion call at the end of basic bloc
...ization pass
>> after
>> your pass?
>>
>>
>> i have written a module pass and i have compiled it and then
>>
>
> you didn't answer my questions, you just repeated what you said before.
>
> Ciao, Duncan.
>
>
> opt -load /home/inspiron/PhdWork/llvm-2.8/Release/lib/Example.so
>> -Example2 <
>> hello.bc > /dev/null
>> i get the error message
>> Wrong type for attribute noalias
>> tail call void @consume(i32 noalias 3, i32* @y) nounwind
>> Broken module found, compilation aborted!
>> 0 libL...
2011 May 20
3
[LLVMdev] convert a char * to a value
...es not match function signature!
[4 x i8] c"bb5\00"
i8* call void @branchPredict([4 x i8] c"bb5\00", [18 x i8]
c"bb3.bb3_crit_edge\00")
Broken module found, compilation aborted!
0 libLLVM-2.8.so.1 0x01421628
Stack dump:
0. Program arguments: opt -load
/home/inspiron/PhdWork/llvm-2.8/Release/lib/Example.so -Example6
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'Module Verifier' on function '@main'
Aborted
Any help
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL...
2011 May 20
0
[LLVMdev] convert a char * to a value
...x i8] c"bb5\00"
> i8* call void @branchPredict([4 x i8] c"bb5\00", [18 x i8]
> c"bb3.bb3_crit_edge\00")
> Broken module found, compilation aborted!
> 0 libLLVM-2.8.so.1 0x01421628
> Stack dump:
> 0.Program arguments: opt -load
> /home/inspiron/PhdWork/llvm-2.8/Release/lib/Example.so -Example6
> 1.Running pass 'Function Pass Manager' on module '<stdin>'.
> 2.Running pass 'Module Verifier' on function '@main'
> Aborted
>
> Any help
> thanks
>
>
> _____________________________________...
2011 Apr 26
0
[LLVMdev] inserting a fucntion call at the end of basic bloc
Hi Nabila,
> Now when i tried this pass an error says:
> Wrong type for attribute noalias
> tail call void @consume(i32 noalias 3, i32* @y) nounwind
>
>
> noalias is only for arguments of pointer type. You probably meant it to
> be on the second argument rather than the first. I suggest you correct
> your code that adds the attribute.
2011 Apr 26
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
2011/4/26 Duncan Sands <baldrick at free.fr>
> Hi Nabila,
>
>
> Now when i tried this pass an error says:
>> Wrong type for attribute noalias
>> tail call void @consume(i32 noalias 3, i32* @y) nounwind
>>
>
> noalias is only for arguments of pointer type. You probably meant it to
> be on the second argument rather than the first. I suggest you
2011 Apr 25
0
[LLVMdev] inserting a fucntion call at the end of basic bloc
Hi Nabila,
> My problem is how to call a method
> suppose this fucntion
> void A(int x)
> {
> x=x+1;
>
> }
>
> should i define this function and declare it at the beginig of the module and
> create for it a basic bloc?
you can just declare the function (i.e. no need to give it a body), and call it.
You can then link with an object file that defines it. This is
2011 Apr 26
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
...attribute noalias
tail call void @consume(i32 noalias 3, i32* @y) nounwind
Wrong type for attribute noalias
tail call void @consume(i32 noalias 3, i32* @y) nounwind
Broken module found, compilation aborted!
0 libLLVM-2.8.so.1 0x019bc628
Stack dump:
0. Program arguments: opt -load
/home/inspiron/PhdWork/llvm-2.8/Release/lib/Example.so -Example2
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'Module Verifier' on function '@main'
Aborted
Any help?
2011/4/25 Duncan Sands <baldrick at free.fr>
> Hi Nabila,
>
>
> M...
2011 Apr 25
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
2011/4/25 Duncan Sands <baldrick at free.fr>
> Hi Nabila,
>
> > i would like insert a fucntion call at the end of each basic bloc
>
> you can't, because only terminators are allowed at the end of a basic
> block.
> However you can try to insert the call before the terminator.
>
Yes, i mean before the termininator,
My problem is how to call a method
suppose