search for: unoptimised

Displaying 20 results from an estimated 37 matches for "unoptimised".

2005 Aug 28
0
[LLVMdev] unoptimised LLVM, not in SSA form
On Sat, Aug 27, 2005 at 01:18:56PM +0100, Umar Janjua wrote: > I am interested in obtaining LLVM IR without any optimization > performed on it.( IR obtained from cfrontend's AST). Is this LLVM IR > in SSA form? This question has become a FAQ: http://llvm.cs.uiuc.edu/docs/FAQ.html#cfe -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
2005 Aug 27
4
[LLVMdev] unoptimised LLVM, not in SSA form
Hi, I am interested in obtaining LLVM IR without any optimization performed on it.( IR obtained from cfrontend's AST). Is this LLVM IR in SSA form? Secondly, I want to make a transformation on this unoptimized IR, and convert it back to C. I believe llc -c does that. Thirdly, is it possible to use LLVM tool suite on LLVM IR that's not in SSA form, if we have such LLVM so.
2019 Feb 21
3
index problems after update
...st email to this thread it says: > Feb 8 08:45:37 hostname dovecot[14882]: imap(myuser): Fatal: master: service(imap): child 14135 killed with signal 6 (core dumped) So imap is crashing and even dumping a core. Also I must disagree with your mbox+procmail statement. mbox has always been very unoptimised mailbox format and everyone should be emphasised not to use it. Also that combination has always had problems with indexing and file locking. I would not use it on high volume mailservers. Or even medium volume mailservers. Sami
2018 Dec 05
4
Where's the optimiser gone? (part 5.a): missed tail calls, and more...
On Tue, Dec 4, 2018 at 3:58 PM Daniel Sanders via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On Dec 4, 2018, at 15:11, Stefan Kanthak <stefan.kanthak at nexgo.de> wrote: > No, I understand his intent. I just doesn't align with my intent, > including the hoops he/LLVM wants me to jump through. > > He's not saying they're your bugs, he's just saying
2018 Oct 09
2
immediate delete of mails
When I press DEL on a mail, the file /home/tselmeci/mail/Trash increases and the deleted mail is appended to it. But it doesn't disappear from /var/spool/mail/tselmeci. Once I expunge, /home/tselmeci/mail/Trash becomes empty but the original mail is still present in /var/spool/mail/tselmeci. Maybe the SMTP server holds a write lock on the spool file thus preventing Dovecot from erasing the
2013 Jun 25
0
[LLVMdev] vmkit variables internal representation
...ing store i32 10691, i32* .... (into balance). Do you know how I can > compile the code for preserving Q? You've probably got to convince the compiler not to optimise since eliminating those variables is probably one of the simpler things that goes on during optimisation. I'd expect the unoptimised code to have "alloca" instructions inside the function which represent those variables. I'm afraid I don't know the javac command-line option to do that though. Your questions may be better answered on a Java list dealing with that compiler. > Ok, in the bytecode there is no...
2013 Jun 25
2
[LLVMdev] vmkit variables internal representation
Hello everyone ! I am quite new to java under LLVM. I have the following code in Java: class MYGL { public static int P; public static int balance; }         int Q;         MYGL.P=5984;         Q=4597;         MYGL.balance=Q+6094; For the local variable Q, it seems that the compiler is optimizing and considering store i32 10691, i32* .... (into balance). Do you know how I can compile the code
2009 Nov 04
0
[LLVMdev] Determine branch coverage information
...nto a single bytecode file, I do this by translating each C file to bytecode $> llvm-gcc -emit-llvm -c <sourcefile> -o <sourcefile>.bc and then link them all together $> llvm-ld -stats -time-passes -link-as-library -disable-opt *.bc -o <executable>.1.bc This gives you an unoptimised bytecode file which is preferable in this case since it retains a somewhat 1:1 relation to your code so you can figure out the results afterwards. Now its time to instrument the code, I do this by running $> opt -stats -time-passes -insert-optimal-edge-profiling <executable>.1.bc -o &l...
2018 Oct 09
4
immediate delete of mails
On Tue, 9 Oct 2018 12:08:00 +0200 Sami Ketola <sami.ketola at dovecot.fi> wrote: > How do you deliver then mails to the server? > > also mbox is very unoptimised mailbox format for this. Each time mail is deleted from mbox mailbox the whole mbox while needs to be rewritten to remove the mail. OpenSMTPD and Dovecot run on the same machine. OpenSMTPD receives incoming mails and stores them in a mailbox (/var/spool/mail/user). Dovecot then fetches mails from...
2009 Oct 31
2
[LLVMdev] Determine branch coverage information
Hello everybody, I am a beginner in LLVM and need to know how to use LLVM to instrument a C program and execute this instrumented program with different test cases to determine the branch coverage information for each test case. Any suggestion or help is more than welcomed. Thanks in advance. Ahmed Raafat. -- View this message in context:
2013 Jun 25
2
[LLVMdev] vmkit variables internal representation
...ing store i32 10691, i32* .... (into balance). Do you know how I can > compile the code for preserving Q? You've probably got to convince the compiler not to optimise since eliminating those variables is probably one of the simpler things that goes on during optimisation. I'd expect the unoptimised code to have "alloca" instructions inside the function which represent those variables. I'm afraid I don't know the javac command-line option to do that though. Your questions may be better answered on a Java list dealing with that compiler. > Ok, in the bytecode there is no...
2014 Sep 24
3
[LLVMdev] Loops Prevent Function Pointer Inlining?
...1; hp.its[1] = 2; for (int i = 0; i < 1; i++) { int cmp = hp.cmp(&hp.its[i], &hp.its[i + 1]); if(cmp < 0) { return 1; } } return 0; } I've compiled it (as test2.c) with the following commands, and have attached the unoptimised and optimised outputs. clang -O0 -S -emit-llvm -o test2.ll test2.c opt -O3 -debug -S test2.ll > test2.opt.ll 2>log2 However, if I replace the main function with the code below (test.c), the function call to __uint_compare is inlined and the whole function is correctly replaced with a &quot...
2015 Aug 21
2
The semantics of the fptrunc instruction with an example of incorrect optimisation
...EST); float y = (float) x; printf("y (nearest):%a\n", y); fesetround(FE_UPWARD); y = (float) x; printf("y (upward):%a\n", y); fesetround(FE_DOWNWARD); y = (float) x; printf("y (downward):%a\n", y); return (int) y; } ``` If I get the unoptimised LLVM IR for this by running ``clang -O0 float.c -emit-llvm -c -o float.clang.o0.bc`` I can see that the cast of variable x is being handled using LLVM IR's ``fptrunc`` ``` ... store double 3.000000e-01, double* %x, align 8 %call = call i32 @fesetround(i32 0) #3 %0 = load double, double*...
2009 Oct 02
0
[LLVMdev] global constant next to function in generated binary
...constant and a function are adjacent to each other in the binary. I want to do this as its an optimisation technique used by the compiler I'm working on (ghc). The global constant is a so called 'info table' which stores information about the function needed by the run time system. The unoptimised layout is to have the info table store a pointer to the code it is tied to but this increases the size of the info table and also requires two indirect jumps to get to the code. Having the table and code adjacent as in the optimised layout allows access to both through just one pointer using the co...
2018 Oct 09
0
immediate delete of mails
...expunge, /home/tselmeci/mail/Trash becomes empty but the original mail is still present in /var/spool/mail/tselmeci. > > Maybe the SMTP server holds a write lock on the spool file thus preventing Dovecot from erasing the mail? How do you deliver then mails to the server? also mbox is very unoptimised mailbox format for this. Each time mail is deleted from mbox mailbox the whole mbox while needs to be rewritten to remove the mail. Sami
2018 Oct 09
0
immediate delete of mails
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 9 Oct 2018, Selmeci Tam?s wrote: > On Tue, 9 Oct 2018 12:08:00 +0200 Sami Ketola <sami.ketola at dovecot.fi> > wrote: > >> How do you deliver then mails to the server? >> >> also mbox is very unoptimised mailbox format for this. Each time mail is deleted from mbox mailbox the whole mbox while needs to be rewritten to remove the mail. > > OpenSMTPD and Dovecot run on the same machine. OpenSMTPD receives > incoming mails and stores them in a mailbox (/var/spool/mail/user). > Dovecot then...
2019 Feb 21
0
index problems after update
...gt; Feb 8 08:45:37 hostname dovecot[14882]: imap(myuser): Fatal: master: >> service(imap): child 14135 killed with signal 6 (core dumped) > > So imap is crashing and even dumping a core. > > Also I must disagree with your mbox+procmail statement. mbox has > always been very unoptimised mailbox format and everyone should be > emphasised not to use it. > Also that combination has always had problems with indexing and file > locking. I would not use it on high volume mailservers. Or even medium > volume mailservers. Not directly affected by this issue since I'm not...
2013 Oct 03
2
Using sqlite3 for CDR logging
All; I am using Asterisk 1.8 and am running into some performance bottlenecks. Right now I am sending upwards of 700 concurrent faxes. I have no problem with that. The problems appear after the faxes complete. I was thinking of using sqlite3 to log CDR's, thinking that would be faster than using MySQL. Has anyone ever benchmarked this to quantify just how much faster sqlite3 is? Are there
2020 Feb 06
2
Why is lldb telling me "variable not available"?
Hi all, I’m working on improving the debugging experience for C++20 coroutines when compiled with LLVM/Clang, and I could use some help from someone who understands debug information and DWARF (knowledge of coroutines isn't necessary, I don't think). Specifically, I’m trying to improve lldb’s behavior when showing variables in the current stack frame, when that frame corresponds to a
2013 Jun 26
1
[LLVMdev] vmkit variables internal representation
...ing store i32 10691, i32* .... (into balance). Do you know how I can > compile the code for preserving Q? You've probably got to convince the compiler not to optimise since eliminating those variables is probably one of the simpler things that goes on during optimisation. I'd expect the unoptimised code to have "alloca" instructions inside the function which represent those variables. I'm afraid I don't know the javac command-line option to do that though. Your questions may be better answered on a Java list dealing with that compiler. > Ok, in the bytecode there is no...