Displaying 10 results from an estimated 10 matches for "sarathcse19".
2011 Sep 22
1
[LLVMdev] Need help in converting int to double
...tored as a *double* inside
> the Value structure, then why are you bitcasting to *i64**? Why not
> bitcast to *double** then load and perform a proper fptosi?****
>
> ** **
>
> Cheers,****
>
> ** **
>
> James****
>
> ** **
>
> *From:* sarath chandra [mailto:sarathcse19 at gmail.com]
> *Sent:* 22 September 2011 11:18
> *To:* James Molloy; llvmdev at cs.uiuc.edu
>
> *Subject:* Re: [LLVMdev] Need help in converting int to double****
>
> ** **
>
> ** **
>
> On Thu, Sep 22, 2011 at 3:46 PM, sarath chandra <sarathcse19 at gmail.com>...
2011 Sep 22
0
[LLVMdev] Need help in converting int to double
...s to helper functions that you haven't included.
The main point I'd raise is: if your value is stored as a double inside the Value structure, then why are you bitcasting to i64*? Why not bitcast to double* then load and perform a proper fptosi?
Cheers,
James
From: sarath chandra [mailto:sarathcse19 at gmail.com]
Sent: 22 September 2011 11:18
To: James Molloy; llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Need help in converting int to double
On Thu, Sep 22, 2011 at 3:46 PM, sarath chandra <sarathcse19 at gmail.com<mailto:sarathcse19 at gmail.com>> wrote:
Hi James,
First i conve...
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(f...
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
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>
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
0
[LLVMdev] FW: Need help in converting int to double
...citly back to integer representation.
%7 = store bitcast i8* %dest to double*, double %6 ; Store back, reinterpreting your void* (which is i8* in LLVM) as a double*.
Hopefully this makes sense, especially if you know how you would have to do it in C.
Cheers,
James
From: sarath chandra [mailto:sarathcse19 at gmail.com]
Sent: 22 September 2011 10:49
To: James Molloy
Subject: Re: [LLVMdev] Need help in converting int to double
Hi James,
CreateShl() accepts only integers or vectors as arguments. At the starting my arguments , let us suppose LHS,RHS, are double values. To pass them as arguments to...
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
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 Mar 02
4
[LLVMdev] How to use 'opt' command?
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
Printing analysis 'Memory Dependence Analysis' for function 'main':
Pass::print not implemented for pass: 'Memory Dependence Analysis'!
Printing analysis 'Memory Dependence