similar to: [LLVMdev] SSA?

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] SSA?"

2009 May 19
1
[LLVMdev] how to get a deterministic execution
The generated code is deterministic, but the global order the instructions were generated seems it is not (although the result is guaranteed to be the same). Now I think the order functions are processed might not be guaranteed. I've attached a test case, and here is what I get: ............................... (303)$ ~/bin/llvm/bin/gcc -O3 -emit-llvm try_calls_basic.2.c -c -o
2009 May 19
2
[LLVMdev] how to get a deterministic execution
Hello, For debugging purposes, I've added a unique id member to the Value class: global_next_vuid = 0; Value::Value(..){ vuid = ++global_next_vuid; } My hope is that by looking at the vuid of a Value, I can see its vuid, set a conditional breakpoint and re-run the compiler to see who (what pass) constructed that value. Maybe I am not doing it the right way, but the above 'vuid'
2009 May 19
0
[LLVMdev] how to get a deterministic execution
On Mon, May 18, 2009 at 8:33 PM, dan mihai <dnmh68 at hotmail.com> wrote: > Hello, > Yo! > For debugging purposes, I've added a unique id member to the Value class: > > global_next_vuid = 0; > Value::Value(..){ >   vuid = ++global_next_vuid; > } > > My hope is that by looking at the vuid of a Value, I can see its vuid, > set a conditional breakpoint and
2009 Nov 09
3
is an extension is use
Is there a way to tell if an extension is in use? We run a call center and it would be helpful for the people taking calls to see if we are on the phone or DND. Is that setup in Asterisk or on the phone? the phone as busy lamp field but i will just turn on after a while even if the extension is not i use. the FOP in FreePBX doesn't appear to be that helpful. i am not sure what it is supposed
2010 Jan 04
0
[LLVMdev] change type allocoted register
Hi; i am using llvm backend on x86 arch. My app ABI requires float2 (v2f32) to be passes as parameter and return in XMM0 register. Currently LLVM handles v2f32 using MMX register MM0. i wonder what changes do i need to do in LLVM to support that change; manipulating v2f32 (float2) using XMM and not MMX ? one place i identifies where a change needs to be done is X86CallingConv.td where it
2009 Oct 02
1
[LLVMdev] alias analysis and functions
Hi, I am trying to use alias analysis (Anderson) and noticed that for pointers to functions I don't get the expected result: a pointer that clearly may point to a function is reported as NoAlias. I use -anders-aa -aa-eval -print-no-aliases -print-may-aliases -print-must-aliases Here is a test case: ///////////////try_calls_aliases.c #include <stdio.h> typedef int (*PF)(); PF
2009 Oct 22
1
[LLVMdev] need to access static functions as extern
Hello, I write some instrumentation which needs to call static function from other files. Is there a way to associate a global name/alias to a static function? I need to turn the assembly code .align 16 .type some_static.2467, at function some_static.2467: CODE into .align 16 .type some_static.2467, at function some_static.2467: .align 16
2009 Oct 28
2
[LLVMdev] converting large projects to LLVM
Hi, I wrote an interprocedural instrumentation pass that needs to run on all program at once. However, when I try to test it on large programs (say bzip2 or gcc) I find that the way LLVM tools do not easilly replace the default ones used in makefiles. So building large projects is not straightforward. Is there a simple way to do this conversion? Thank you, Dan
2010 Apr 09
1
[LLVMdev] offset of extra function argument
Hi, I am instrumenting certain calls, and want to add an extra argument. Say original: foo(int x, int y) changed into modified: foo(int x, int y, int EXTRA) This is in opt, before lowering. Given the list of original arguments, is it possible to tell the stack offset of the EXTRA argument? Thank you, Dan _________________________________________________________________
2019 Apr 01
1
udev rename NIC failed
Hi, Sometimes, I found one of my Mellanox NIC renamed to rename6, instead of eth1. The right names of NICs in my system should be: eth0 Mellanox NIC eth1 Mellanox NIC eth2 Intel NIC eth3 Intel NIC eth4 Intel NIC eth5 Intel NIC eth0 and eth1 will combined as bond1 with mode 4. However, the current names are: eth0 Mellanox
2010 Mar 06
0
[LLVMdev] Changes between 2.6 and 2.7: SSA Verifier and visitFreeInst
Jianzhou Zhao wrote: > Hi llvm, > > 1) The lib/VMCore/Verifier.cpp in 2.7 implements Verifier::VerifyType, > which is empty in 2.6. I noticed that it does not check all types, > for example, UnionTyID, OpaqueTyID, LabelTyID, MetadataTyID > and etc are ignored in the 'default' branch. Does it mean we dont > need to check them? We do need to check union. I'll add
2010 Apr 14
3
[LLVMdev] indirect jumps
Hi, What kind of C/C++ high level code can generate a computed jump, such as: jmpq *%r14 or jmpq *(%r14,%rbx,8) ? I imagine that any calls (including virtual) would use something like 'call *%r14', and the above jumps are mostly from 'switch' statements. Is this correct? Anything else? Thank you, Dan
2010 Jun 05
0
[LLVMdev] Converting into SSA form
There is no existing pass to do this in LLVM, mostly because it wouldn't be useful for optimizing programs. From your input, mem2reg produces: define i32 @myfunc(i32 %x, i32 %y) nounwind { entry: %cmp = icmp sgt i32 %x, %y ; <i1> [#uses=1] br i1 %cmp, label %if.then, label %if.else if.then: ; preds = %entry %add = add
2010 Jun 07
2
[LLVMdev] Converting into SSA form
Hi Jeffrey, Actually I am trying to implement "E-path PRE" which is based on non-algebric equivallence. So, the variable names need to be preserved. You said that I need to insert these to preserve variable %a.0 = bitcast i32 2 to i32 So, these need to be inserted before the mem2reg pass or within the pass. In first case, how to call an inbuilt pass after doing some analysis from my
2010 Jun 30
2
Listing Domain Local Groups from a Samba Member (NT4 PDC)
Good Morning to all, Sorry if this is spam to some of you, not sure if this is more technical or not... Considering i have been fighting for a week now on this trying all possible checks and configs out there on the net, i thought i better come to the experts. ;o) My last resort is to upgrade to latest samba ver which might help but i think the bug was not fixed in this version not sure.. :o\ I
2010 Mar 02
2
Sernet repository
Hi All, If you've using yum and have added ftp.sernet...... to your yum.repos.d the paths have changed. The documentation on the Samba site is no longer accurate,I'm hoping someone will update this once I mention it? Thanks _________________________________________________________________ Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
2009 Oct 15
2
converting to data.frame
dear allI have a data set with three types (Tree, Sapling, Seedling). I have estimated the correlation values. now i need to bring all the correlation values in a table like the one i have shown in attached file with R codes.could you please give me idea on this problem thanking you MSNepal _________________________________________________________________ Hotmail: Trusted email with
2010 Mar 01
1
help with install
hi, newbie. i installed from asteriskNOW cd onto a 2nd drive. using a dell system. has a 'c' drive. on reboot. it comes up 'GRUB" and sits there. any clues? thanks. g. _________________________________________________________________ Hotmail: Trusted email with Microsoft?s powerful SPAM protection. http://clk.atdmt.com/GBL/go/201469226/direct/01/
2010 Mar 24
1
software version (lets try it again)
what is the general view about the versions of the packages that are used with asterisk. lame asterisk asterisk-addons dahdi libpri i like to say on a version and not upgrade due to my experience with Linux and upgrading screwing up things. When it comes to Asterisk i have only one server build under my belt and I have had issue along the way. What do most people do with the software
2009 Sep 13
3
custom ip phone interface
I would like to have my ip phone list a menu with different status on it. for example, i could have button on the phone named status. when the button is pressed a list would display on the screen like 1:dnd, 2:break, 3:lunch, etc. we use aastra 57i phones. It looks like i could use xml some way to customize the phone. Also how can i dynamiclly pull the extension so I don't have to cusomize