Displaying 20 results from an estimated 8000 matches similar to: "[LLVMdev] Implementing Java bindings to LLVM"
2008 Nov 28
2
[LLVMdev] Disable optimization
Hi Eli,
I want to disable optimizations because, i'm going to implement a framework in JAVA for educational purposes.
I have planned to do followings:
1) Create LLVM-IR and export it as Assembly (without optimizing the source-code)
2) Transform the LLVM-Assembly to a data-structure, similar to LLVM
data structure (Module, Function, BB ...) but implemented in Java
3) Optimizing
2009 Mar 13
2
[LLVMdev] store the LLVM-bitcode from a pass
Hi Duncan,
thanks for the answer. But "opt -load ..../Decorator.so -dec <prog.bc> new_prog.bc"
creates an invalid file. When i use "lli", i get "lli: error loading program 'new_prog.bc': Invalid bitcode signature"
I have done the followings:
1) used "opt -p -load ..../Decorator.so -dec <prog.bc> new_prog.bc"
2) copied the output
2008 Nov 27
0
[LLVMdev] Disable optimization
On Thu, Nov 27, 2008 at 6:14 AM, RAAD B <raad_7007 at yahoo.com> wrote:
> Hello together,
>
> although i use the "-O0" flag as follow, the llvm perform dead code
> elimination.
> How can i disable optimizing completely?
Sorry, it's not possible; the gcc front-end does some optimizations
which the LLVM backend can't do anything about, and dead code
2008 Nov 28
0
[LLVMdev] Disable optimization
On Fri, Nov 28, 2008 at 12:36 AM, RAAD B <raad_7007 at yahoo.com> wrote:
> Hi Eli,
>
> I want to disable optimizations because, i'm going to implement a framework
> in JAVA for educational purposes.
>
> I have planned to do followings:
>
> 1) Create LLVM-IR and export it as Assembly (without optimizing the
> source-code)
> 2) Transform the
2009 Feb 17
1
[LLVMdev] information-transfer between analysis-pases
Ok, but what about a pass like alias-analysis.
How are the results stored, so that other passes can use them.
-Raad
________________________________
From: Eli Friedman <eli.friedman at gmail.com>
To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
Sent: Tuesday, February 17, 2009 9:52:58 AM
Subject: Re: [LLVMdev] information-transfer between analysis-pases
On Tue, Feb 17,
2009 Mar 06
0
[LLVMdev] Inserting annotations
Hi,
As far as I know, Instruction class does not inherit "Annotable" Class. Only
Function inherits annotable according to the documentation of annotable
class.
What you are asking would require adding annotations at instruction level,
which does not seem to be possible. You can maintain external maps between
instructions and your annotations,
--Kapil
On Thu, Mar 5, 2009 at 7:17 PM,
2009 Feb 17
0
[LLVMdev] information-transfer between analysis-pases
On Tue, Feb 17, 2009 at 12:46 AM, RAAD B <raad_7007 at yahoo.com> wrote:
> Hello together,
>
> I have seen that the analysis-results are stored in llvm-IR as annotations.
> For example <; preds = %entry> in basicBlock level and <; <i32*> [#uses=2]>
> for a variable.
>
> Is there any documentation about annotations?
That isn't really analysis;
2009 Mar 13
2
[LLVMdev] store the LLVM-bitcode from a pass
These are the contents of the generated file.
Start >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
; ModuleID = '<stdin>'
target datalayout =
2008 Nov 27
2
[LLVMdev] Disable optimization
Hello together,
although i use the "-O0" flag as follow, the llvm perform dead code elimination.
How can i disable optimizing completely?
KR
Raad
llvm-gcc -O0 -emit-llvm main.cpp -S -o main.s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081127/c4ef8aac/attachment.html>
2009 Mar 06
3
[LLVMdev] Inserting annotations
Hello together,
how can i insert annotations in IR ?
I want actually write something like:
CallInst *call = CallInst::Create( ??? , aBasicBlock);
in my pass.
Regards
Raad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090305/cd1db761/attachment.html>
2009 Feb 17
3
[LLVMdev] information-transfer between analysis-pases
Hello together,
I have seen that the analysis-results are stored in llvm-IR as annotations.
For example <; preds = %entry> in basicBlock level and <; <i32*> [#uses=2]> for a variable.
Is there any documentation about annotations?
Regards
Raad
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Apr 15
1
[LLVMdev] IR from multiple source-files
Hi,
how can I create the IR-representation from multiple source-files?
Regards
Raad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090415/9040f657/attachment.html>
2009 Mar 19
1
[LLVMdev] sample-code for alias-analysis
Hi,
i need a sample-code, for which the llvm alias-analysis finds a *must-aliases*.
I have tried codes like followings. In all cases, i see just *may-aliases* when i use "opt -aa-eval -print-all-alias-modref-info foo.bc":
Regards
Raad
1 ==========================================
void foo() {
int i = 2;
int& r = i;
}
2 ===========================================
void
2009 Mar 15
1
[LLVMdev] using alias-analysis
Hi together,
i want to create a map containing a set of aliases for each value.
For example, for a code like:
int main() {
int i;
int *p1 = &i;
int *p2 = &i;
return 0;
}
the map should contain something like:
{i --> (p1, p2),
.....
}
For that, i do followings in my pass:
AliasAnalysis &AA = getAnalysis<AliasAnalysis>();
AliasSetTracker *tracker =
2011 Feb 06
1
Psych can't load LaTeX entities file
Hi there,
I wanted to use RedCloth with my RubyOnRails 3 application, but it seems
that RoR uses 1.9.2''s Psych by default as the YAML parser if available,
and Psych fails to load the LaTeX entities file:
====================================================================
#ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]
irb(main):001:0> Dir.pwd
=>
2008 Jun 27
1
use of quotation marks
Dear R Users. I just discovered today a problem in the use of
quotation marks when I'm doing some programs in R. I'm using windows
vista environment.
The programs that I wrote in the University, made in Windows XP
machines run perfectly, but when I run those in my laptop with VISTA,
there are many errors. Those errors are due to the type of quotation
marks.
In the university the quotation
2003 Dec 01
0
No subject
8.
You have join to this mail a text file with the few characters that don't =
match.
On Swat, it's easier. =
I use Swat from my win98 box. When I write a share comment with some chara=
cters, there are not translated properly inside smb.conf file. =
When I read my smb.conf file, I noticed that for example a cp1252 characte=
r like (0xC1) has been changed onto an ISO8859-15 character
2009 Mar 13
1
[LLVMdev] store the LLVM-bitcode from a pass
Hello together,
I use the "opt" as following, to run my pass, which modifies the LLVM-IR by inserting instructions in basic-blocks.
opt -load ..../Decorator.so -dec <prog.bc> /dev/null
how can i store the modified bitcode on the disc (as bitcode or as human-readable assembly)?
Regards
Raad
-------------- next part --------------
An HTML attachment was scrubbed...
2019 Mar 21
1
imap ---- LIST "" * The returned mailbox does not display quotes
dovecot version
v2.2.29
v2.2.36
v2.3.5
LIST "" * The returned mailbox does not display quotes
dovecot version
v2.1.17
LIST "" * The returned mailbox shows quotation marks
Why is the quotation mark removed in the new version?
Is there any configuration option in the new version to add quotes?
Because I see a lot of big public mailboxes with quotation marks.
2005 Apr 30
3
How to extract function arguments literally
Dear all,
One of my friends asked me if it is possible to extract actual R
function arguments literally (precisely, as strings). The reason is
simple. He feels sometimes awkward to attach quotation marks :-). What
he actually wants is to pass R command arguments to XLisp subroutines
(He has been an enthusiastic XLisp user for a long time and still tends
to use R as a wrapper to XLisp). Is it