Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] instrument a byte code with llvm"
2011 Apr 05
0
[LLVMdev] instrument a byte code with llvm
On 4/5/11 11:36 AM, Nabila ABDESSAIED wrote:
>
>
> 2011/4/5 John Criswell <criswell at illinois.edu
> <mailto:criswell at illinois.edu>>
>
> On 4/5/11 11:22 AM, Nabila ABDESSAIED wrote:
>> hi,
>> I'm newer in llvm
>> i would like to instrument a byte code with a pass and as a
>> result i would like to get an
2011 May 20
0
[LLVMdev] convert a char * to a value
On 5/20/11 5:46 PM, Nabila ABDESSAIED wrote:
> Hi all,
>
> Please i need help, I have a method that takes 2 arguments with type
> char *:
> void branchPredict(char *b1, char *b2){
> ---
> --
> }
> i'm supposed to add this method, in an IR basic bloc:
> to add it into a basic bloc i do:
The problem is that you are passing arrays to the function instead of
2011 May 20
3
[LLVMdev] convert a char * to a value
Hi all,
Please i need help, I have a method that takes 2 arguments with type char *:
void branchPredict(char *b1, char *b2){
---
--
}
i'm supposed to add this method, in an IR basic bloc:
to add it into a basic bloc i do:
//i: is the basic bloc
std::vector<Value*> void_43_params;
Constant* tbname = ConstantArray::get(M.getContext(),i->getNameStr() ,
true);
Constant* pbname =
2011 Apr 22
0
[LLVMdev] llvm-gcc
>> i would like to add the value of the size od a basic bloc to this
>>> global variable
>>> how to convert the size of a basic bloc to integer?
>>
>> Size = number of LLVM IR instructions there? If yes, just grab the
>> number, convert it to ConstantIn and use as an initializer / store to
>> variable.
>>
>
> There's a typo in the
2011 Apr 19
2
[LLVMdev] llvm-gcc
On 4/19/11 4:37 PM, Anton Korobeynikov wrote:
>> llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc
>> it shows to me i should install llvm-gcc4.5
>> when i have installed llvm-gcc 4.5 i get all the times a wrong bc file
>> as output, because when i try to execute it with lli it says to me
>> invalid signature.
> There is no llvm-gcc 4.5. Report this bug to Ubuntu,
2010 Mar 30
2
Trouble in using rJava
Hello,
I'm using rJava and JRI to call R scripts from my Java code, but my
scripts are sometimes executed, and very often they don't run throwing a
Java exception.
I'm using a 2.7 version of R, with rJava 0.8.4 and Java Sun 1.6.
Somebody can help me please ??
Thank you very much,
Nabila
2011 Jun 22
3
Help Needed on Merging Columns by Summation
Dear Sirs/Madam,
I am a beginner to R, and I am currently working on a data matrix which looks like this:
> head(oligo)
ko:K00001 ko:K00003 ko:K00005 ko:K00008 ko:K00009 ko:K00010 ko:K00012
AAA 370 631 365 67 164 455 491
KAA 603 1208 170 157 68
2011 Apr 26
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
I have defined the fucntion in another object file and linked it to the
in fact the fucntion is :
void consume(int , int * );
std::vector<Value*> int32_16_params;
int32_16_params.push_back(inValue);//inValue is ConstantInt* inValue
int32_16_params.push_back(gvar_int32_y);
CallInst* int32_16 = CallInst::Create(func_consume, int32_16_params.begin(),
int32_16_params.end(), "",
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
2012 Sep 04
11
I wanna make a new rails community :)
Hi everyone! I''m a newbie engineer.
I started rails programming, but I''m learning alone and can''t understand
other rails cord so much.
So I wanna have friend with other newbie rails engineers and share a
process of making apps.
It is not for sharing the "result" of programming like Github, but for
recording the almost all of process of making one app.
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
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
2011 Apr 25
0
[LLVMdev] llvm-gcc
Hi Nabila,
> 1- I have installed llvm-gcc 4.2 and llvm 2.8 with the synaptic
> package manager(ubuntu 10.10)
> every time i do this commande:
> llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc
> it shows to me i should install llvm-gcc4.5
> when i have installed llvm-gcc 4.5 i get all the times a wrong bc file
> as output, because when i try to execute it with lli it says to me
2011 Apr 25
0
[LLVMdev] inserting a fucntion call at the end of basic bloc
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.
...
> i tried to see an example with the demo, i saw that it instead of calling the
> function, it repeats all the instruction that are existing in the function
>
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.
Ciao, Duncan.
2013 Apr 30
1
functional data object
Dear Mr/ms
My name is dwi nabila. I am a postgraduate student of Statistics Department from University of Padjadjaran, Indonesia. Now I am at fourth semester, and I will write a thesis to complete my study. My adviser give me advice to write about FPCR. I have gcm data(x) , where there are 64 variables. the data is time series data. my goal is to reduce gcm data. but im still confused to change
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 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
0
[LLVMdev] inserting a fucntion call at the end of basic bloc
Hi Nabila,
> where 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
you didn't answer my questions, you just repeated what you said before.
Ciao,
2011 Apr 26
1
[LLVMdev] inserting a fucntion call at the end of basic bloc
2011/4/26 Duncan Sands <baldrick at free.fr>
> Hi Nabila,
>
>
> where 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