similar to: [LLVMdev] One question about two passes interaction

Displaying 20 results from an estimated 80 matches similar to: "[LLVMdev] One question about two passes interaction"

2013 Feb 23
1
[LLVMdev] One question about two passes interaction
Hi all, I am trying to run a case as follows: FunctionPass1: try to get all function's names and store them to a global array FunctionPass2: get information from the global array In FunctionPass2, I use getAnalysisUsage() to set that to run FunctionPass2, FunctionPass1 should be executed first. But according to the running result, I found that these two passes are executing at the same
2013 Feb 22
1
[LLVMdev] Does LLVM optimize variable to constant value in the compiling time?
By optimization, do you mean enable the optimization whiling building llvm or use optimization flag while using clang command to get the bitcode file? In my case, I disable the optimization when I built llvm, and I use the following command to get the bitcode: clang -O0 -emit-llvm hello.c -c -o hello.bc To run the pass: opt -load ../../../Debug+Asserts/lib/Hello.so -hello < hello.bc >
2013 Feb 22
4
[LLVMdev] Does LLVM optimize variable to constant value in the compiling time?
Considering the following codes: int x = 21; if(x > 20) { p = &C; } else { p = &E; } I looked into the bitcode that LLVM generates, it still considers the 'else' branch, which will be never reached during the runtime. Thanks, Robert -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Feb 23
14
[Bug 61321] New: [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 Priority: medium Bug ID: 61321 Keywords: regression Assignee: nouveau at lists.freedesktop.org Summary: [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6) QA Contact: xorg-team at lists.x.org Severity: major Classification:
2013 Feb 23
0
click2call with AMI?
Hi, I have a PHP code with AMI to using in click2call system. here is my code: $user = "usernamr"; $secret = "secret"; $channel = 'SIP/' . $sip; $context = "from-internal"; $waitTime = "20"; $timeout = 20000; $priority = "1"; $maxRetry = "2"; $pos = strpos($number,
2013 Feb 23
0
Radio on Opus
I just got my Christian station setup using the Opus codec, wow, this is awesome! Thank you for this codec! It sounds AMAZING! I'm running it at the bitrate I used to run my station previously (48kbps), and it sounds almost like I'm sitting at the studio listening to it on the monitors. Blessings, Matt eXtreme Christian Radio http://masterone.com:8000/live.opus -------------- next part
2013 Feb 20
0
[LLVMdev] ARM assembler's syntax in clang
You were correct the first time. That post is talking about a Windows target. Ashi is working on iOS. Underscores are normal and expected. Using an "asm" name on the symbol is a horrible hack. Adding the underscore to the name in the .s file is the correct solution. -Jim On Feb 20, 2013, at 12:04 AM, Tyler Hardin <tghardin1 at catamount.wcu.edu> wrote: > So it turns out that
2013 Feb 18
0
[LLVMdev] GCMetadataPrinter::finishAssembly not executed?
Hello Yiannis, Your patch seems fine. It is option #2 which I am glad to hear solves the issue. It also removes more lines than it adds, I like patches that fix issues and have that property! Anyhow if you add some testing, as you suggest, you should be good to go. Thanks Pedro On Feb 16, 2013, at 6:13 AM, Yiannis Tsiouris <gtsiour at softlab.ntua.gr> wrote: >
2013 Feb 23
0
[LLVMdev] how to print execution trace
Hi everyone I am a newbie to llvm. I want to record the execution (statement/instruction) trace of a program. For example, a C program is like this: 1: sum = 0; 2: for(i = 0; i < 2; i++) 3: sum += i; 4: printf("%d", sum); The execution trace would be something like 1->2->3->2->3->2->4. So how to achieve this goal? by writing a llvm
2013 Feb 23
1
setup and configure tutorial.
hi, i tried a lot to setup icecastserver and ices on ubuntu. but failed. can you please show detaled installation and configuration steps for users along with best practices and recommendations. With Best -Ashwin. +91-9959166266 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20130223/a43c7b8d/attachment.htm
2013 Feb 16
2
[LLVMdev] GCMetadataPrinter::finishAssembly not executed?
On 02/15/2013 07:13 PM, Pedro Artigas wrote: > I am not an expert on metadata or the CG information but one of the two has to happen: I'm not an expert either but I'll give it a try! :-) > - Simply moving the deleter pass to a different spot > - Changing the doFinalization of another pass (Printer?) to do the deleter pass job (this should work now because the doFinalization order
2013 Feb 20
3
[LLVMdev] ARM assembler's syntax in clang
So it turns out that I was wrong. It, in fact, is not standard. But regardless, you can use asm to specify the exact name. Eg. extern int func() asm("func"); You can read more here: http://stackoverflow.com/questions/1034852/adding-leading-underscores-to-assembly-symbols-with-gcc-on-win32 Despite the title of the thread, the solution is compiler and system independent. --------------
2013 Feb 22
1
Using libvorbis and vorbisfile in the Windows 8 store app environment
I've used libvorbis many times in linux and windows <= 7 applications without any major problems, and wanted to know if that translates the same to the sandboxed windows 8 store app environment. I'm playing around with it right now, and was able to get the library to compile fine (static), and was able to get it to compile within my project. So far, no problems, but I was almost
2013 Feb 23
2
[LLVMdev] ARM assembler's syntax in clang
Hi, Jim, Why "asm" name is a horrible hack? Do you have any suggestion for cross-platform support of my ARM assembly code? Thanks! ashi On Feb 21, 2013, at 2:00 AM, Jim Grosbach <grosbach at apple.com> wrote: > You were correct the first time. That post is talking about a Windows target. Ashi is working on iOS. Underscores are normal and expected. Using an "asm" name
2013 Feb 23
3
[LLVMdev] GCMetadataPrinter::finishAssembly not executed?
Pedro, Yiannis, What's about the usage case, when LLVM is used as a library and the user implements its custom pass, which dump the code (implemented as a FunctionPass, but not as Printer)? You also missed in your changes the declaration of llvm::createGCInfoDeleter() in include/llvm/CodeGen/Passes.h -Dmitry. On Mon, Feb 18, 2013 at 9:34 PM, Pedro Artigas <partigas at apple.com>
2013 Feb 23
0
[LLVMdev] -Os
At one of the BOFS during the llvm conference a few years back, one of the Apple managers stated in effect that their view of -Os was to get some modest savings but only if performance has near 0 impact. On 02/23/2013 09:45 AM, Reed Kotler wrote: > On 02/23/2013 04:28 AM, David Chisnall wrote: >> Hi Reed, >> >> -Os could do with some love. It is more or less the same set
2013 Feb 23
3
SSL errors for just one client after updaing both dovecot and openssl
Hi all, Ok, I have a strange problem after updating both dovecot and openssl... OpenSSL was 1.0.0j, now updated to 1.0.1c Dovecot was 2.1.13, now updated to 2.1.15 I'm getting a bunch of lines like the following: Feb 23 10:48:01 myhost dovecot: imap-login: Disconnected (no auth attempts in 29 secs): user=<>, rip=#.#.#.#, lport=993, TLS handshaking: SSL_accept() syscall failed:
2013 Feb 23
3
[LLVMdev] -Os
On 02/23/2013 04:28 AM, David Chisnall wrote: > Hi Reed, > > -Os could do with some love. It is more or less the same set of passes as -O2, but with a few things that are most likely to increase code size removed. We have had problems with it in the past for FreeBSD's bootloader. By tweaking the set of default passes added for -Os, I got the size down by about 20%, but I didn't
2013 Jan 05
38
[Bug 59057] New: Black screen after resume from s2ram
https://bugs.freedesktop.org/show_bug.cgi?id=59057 Priority: medium Bug ID: 59057 Assignee: nouveau at lists.freedesktop.org Summary: Black screen after resume from s2ram QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: pontus.fuchs at gmail.com
2013 Feb 16
1
[LLVMdev] A weird problem when try to output operand of instruction involving function pointer in a struct
Hi all, I just start to learn llvm. I am trying to get the operand's name of some instruction that invokes a function field of a struct. While, I found in the result that there is a sequence number attached to the function field name. Below is an example: /******source code t2.c*******/ #include <stdio.h> void F(){printf("F\n");} void E(){printf("E\n");} void