similar to: [LLVMdev] How to use 'opt' command?

Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] How to use 'opt' command?"

2012 Mar 02
0
[LLVMdev] How to use 'opt' command?
Hi Sarah, I believe opt takes the bytecode file (.bc) not the human readable form, but i am just a learner... Sam. sarath chandra-5 wrote: > > Hi all, > > How to print the analysis results using 'opt' command? > > I tried using the below command for my *module.ll* file > > *opt -analyze -memdep module.ll* > * > * > But it's printing > >
2011 Sep 22
3
[LLVMdev] Need help in converting int to double
Hi, I'm pursuing M.Tech course. As a part of the project work i'm using LLVM as back-end. My project area is "Enhancing the performance of V8 javascript engine using LLVM as a back-end". Now i'm writing code for shift left(SHL) operator. I had my own Value Structure .. it's like this Struct Value { void *val ; char type; } The "char type" holds
2011 Sep 22
2
[LLVMdev] Need help in converting int to double
On Thu, Sep 22, 2011 at 3:46 PM, sarath chandra <sarathcse19 at gmail.com>wrote: > Hi James, > > First i converted the void * to int* and then did FPToSI...then did SHL...( > because CreateShl only accepts integers... i pointer casted it to int64 type > first)... Below is the code snippet.... > > > lhs = mBuilder.CreateStructGEP(firstArg, 0); > lhs =
2012 Jan 24
4
[LLVMdev] How to enable C as a target
Hi, How to enable C as a target while configuring LLVM... Can i do ' --enable-targets = x86,c ' to make it work? ´ Sarath!!! `·.¸.·´ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120124/b782e413/attachment.html>
2011 Sep 22
1
[LLVMdev] Need help in converting int to double
Yeah, that's the fault...got the answer...... Thanks James for the help... Struggling with this for so many days....... On Thu, Sep 22, 2011 at 4:02 PM, James Molloy <James.Molloy at arm.com> wrote: > Hi Sarath,**** > > ** ** > > It would have really helped if you had removed the commented out code and > inlined the calls to your homemade helper functions before
2011 Sep 22
0
[LLVMdev] Need help in converting int to double
Hi Sarath, It would have really helped if you had removed the commented out code and inlined the calls to your homemade helper functions before sending it... You are doing this, in LLVM IR: %0 = getelementptr %Value* %firstArg, i32 0 ; i8** %1 = load i8** %0 ; i8* %2 = bitcast i8* %1 to i64* %3 = getelementptr %Value* %secondArg, i32 0 ; i8** %4 = load i8** %3; i8* %5 = bitcast i8* %4 to i64*
2011 Jul 22
2
Extracting components from a 'boot' class output in R
Dear R user, I used the following to do a bootstrap. >bootObj<-boot(data=DAT, statistic=Lp.est, R=1000,x0=3) I have the following output from the above bootstrap. How can I extract  components of the output. For example, how can I extract the std.error? > bootObj   ORDINARY NONPARAMETRIC BOOTSTRAP   Call: boot(data = DAT, statistic = Lp.est, R = 1000, x0 = 3)   Bootstrap Statistics
2012 Jan 24
1
[LLVMdev] Convert .ll file to .c file
Hi Nick, I need the module.ll file. Now how can i configure LLVM to enable "c" target? Is it that i need to build from the scratch? Is there any way to enable 'c' target also? On Tue, Jan 24, 2012 at 12:10 PM, Nick Lewycky <nicholas at mxc.ca> wrote: > Sarath Chandra wrote: > >> Hi, >> >> I wanted to convert .ll file to .c file (for the
2009 Dec 17
8
how to import data from excel to R
Hi, I am using R and I want to know how data can be transferred from Excel Spread sheet to R for analyzing. I have done like this mydata<-read.table("C:\Documents and Settings\admin\Desktop\data.txt"); but its not working how can i do it regards Sarath Sankar V
2012 Jan 24
2
[LLVMdev] Convert .ll file to .c file
Hi, I wanted to convert .ll file to .c file (for the sake of debugging the c file). I used the command "llc" with "-march=c" option. But i'm getting the below error. *llc: error: invalid target 'c'* * * My script file code for converting it is: llvm-as -f module.ll opt -o=module.bc module.bc llvm-dis module.bc llc -f -march=c module.bc #gcc
2012 Jan 18
2
Cloud Init
I want to start an instance using libvirt API. I want to provide ssh access for the user of the vm. Anyone know how to embed an ssh key into the instance. I came across cloud-init . but couldn't get a tutorial . Thanks in advance. -- Thank You Sarath P R | cell +91.999.502.4287 -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Jan 24
0
[LLVMdev] Convert .ll file to .c file
Sarath Chandra wrote: > Hi, > > I wanted to convert .ll file to .c file (for the sake of debugging > the c file). I used the command "llc" with "-march=c" option. But i'm > getting the below error. > > * llc: error: invalid target 'c' * > * > * > My script file code for converting it is: > > llvm-as -f module.ll > opt
2012 Jan 24
0
[LLVMdev] How to enable C as a target
On Tue, Jan 24, 2012 at 3:42 AM, Sarath Chandra <sarathcse19 at gmail.com> wrote: > Hi, > >     How to enable C as a target while configuring LLVM... > > Can i do ' --enable-targets = x86,c ' to make it work? use --enable-targets=x86,cbe (C BackEnd if I remember correctly) -- Eitan Adler
2011 Sep 22
2
[LLVMdev] Need help in converting int to double
On Sep 22, 2011, at 3:32 AM, James Molloy wrote: > It’s in trouble by this point because it needs to do a fptosi on a double operand, but you’ve got an i64 operand and you can’t reinterpret-cast ints to floats in LLVM IR (AFAIK) You can bitcast ints to floats and vice-versa if they're the same size — for example, i32 to float and i64 to double. John.
2011 Sep 23
0
[LLVMdev] Need help in converting int to double
Good to know, thanks. The docs are slightly hazy on that - they do mention type-to-type if same size, but the examples are only between pointers and integers, not floats. Would it be worthwhile my updating the documentation to explicitly state that or is it just me? Cheers, James -----Original Message----- From: John McCall [mailto:rjmccall at apple.com] Sent: 23 September 2011 00:06 To: James
2011 Sep 23
1
[LLVMdev] Need help in converting int to double
Hi James, > The docs are slightly hazy on that - they do mention type-to-type if same size, but the examples are only between pointers and integers, not floats. you can't use bitcast to convert a pointer to an integer or vice-versa. You must use ptrtoint/inttoptr. Ciao, Duncan. Would it be worthwhile my updating the documentation to explicitly state that or is it just me? > >
2015 Nov 12
1
(no subject)
Hi, I have implemented print server using samba 4.1 & CUPS 1.7 by following steps provided at https://wiki.samba.org/index.php/Setup_a_Samba_print_server I have granted seprinteroperator rights to my domain group. While adding printer or driver am getting "access denied" error. My configurations as follows, workgroup = MYGROUP realm = MYGROUP security = ADS encrypt passwords =
2011 Sep 22
0
[LLVMdev] FW: Need help in converting int to double
Re-cc'ing list. Please direct all responses to the mailing list, so others can see it! Cheers, James -----Original Message----- From: James Molloy Sent: 22 September 2011 11:11 To: 'sarath chandra' Subject: RE: [LLVMdev] Need help in converting int to double Hi Sarath, Your example will break. If the values are held internally as doubles casted to void* (which incidentally will
2012 Jan 21
0
Kickstart file doesn't work
I am starting an instance passing xml configuration like this. Contents inside my kickstart file is this *apt-get install vim --assume-yes* . But I think kickstart is not considered while booting instance though I am able to start instance. Please help. Thanks in advance "<domain type='xen'>" + " <name>testVM-server</name>"
2012 Feb 25
0
Not able to mount iSCSI volume to Guest VM
Hi All, I have created a 10GB logical volume in iSCSCI target machine. I am abe to mount the volume in my Dom0 . But I am not able to attach the volume to Guest VM I tried "<pool type='iscsi'>"+ "<name>virtvolume</name>"+ "<source>"+