similar to: [LLVMdev] Eliminate SSA Virtual registers

Displaying 20 results from an estimated 800 matches similar to: "[LLVMdev] Eliminate SSA Virtual registers"

2014 Feb 01
2
[LLVMdev] Eliminate SSA Virtual registers
Hi Ben, That did help. I continue to notice the virtual register in the program. I use LLVM 3.4. The program i am looking at is a very simple one. Listed below int global_var; int *global_ptr; int32_t main(int32_t argc, char ** argv){ int p = 10; int k = 20; int *pp; char *c_pp; pp = &k; global_ptr = pp; pp = &p; global_ptr = &global_var; return 0; } BR/Nizam
2014 Feb 03
2
[LLVMdev] LoadInst result
Hi Tim, Assume a store instruction. Store has 2 Operands. I can use the store->getOperand(0) and store->getOperand(1) methods to access these operands in form of Value *. Very likely that the operands are stack variables or formal variables or global variables. It is also possible that these operands are LLVM virtual-registers. Is there a way to determine if a given operand is a
2014 Feb 01
3
[LLVMdev] LoadInst result
Folks, I have a LLVM instruction like the following %0 = load i32** %pp, align 8 I have a LoadInst &inst handle to this instruction. In addition, i could access the pointer being loaded from using the inst.getPointerOperand... However, is there a way to access the handle to the value being loaded? Essentially, i wanted to access the %0 in the statement listed. The end goal is
2014 Feb 03
2
[LLVMdev] LoadInst result
Thanks Sean. It clarified my query. Do you have an answer to my other question (in a different mail-chain) listed below Is there a simple way to check if a given instruction operand (represented by Value *) is a virtual register or otherwise? Context: I am creating a ModulePass for pointer Analysis. BR/Nizam From: "Sean Silva" <chisophugis at gmail.com> To: nizam
2014 Jan 30
2
[LLVMdev] "Function" file name
Folks, I am newbie to llvm! I am writing a simple pass that inherits from ModulePass. I override the runOnModule method. In the method, i am attempting to print all the function in the module and the source-file they appear in. I could print the name of the function using the Module::iterator. I am, however, not able to figure-out the way to identify the source-file for a given
2012 Aug 18
1
[LLVMdev] GlobalVariable initializer using from beyond the grave
For LLDB I'm writing a dumb module pass that removes all global variables, by running the following code: bool erased = true; while (erased) { erased = false; for (Module::global_iterator gi = llvm_module.global_begin(), ge = llvm_module.global_end(); gi != ge; ++gi) { GlobalVariable *global_var =
2005 Aug 26
3
[LLVMdev] Mapping of class derivated and interfaces
> In any case when you > want to obtain a base pointer to a "derived" object (where derivation > is implemented as you showed - with nesting) it's simply a matter of > using getelementptr to obtain a pointer to the nested base object and > using that. Umm ok, but i've the strange feeling that i'm missing something.. First a simple question: getelementptr with
2014 Sep 11
2
Installation of Xmgrace and pymol package
Dear Centos User I am trying to install package like 1) pymol 2 Xmgrace But unable install this package, showing this error. I search for this error in google, but the suggestions given there is not working for me. The same message showing for both software pakage. root at localhost tmp]# yum install grace Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile *
2011 Jan 19
4
Is it okay?
Hi, I have downloaded the following version: CentOS-5.5-i386-LiveCD-Release2.iso from the mirror: http://ftp.iitm.ac.in/centos/5.5/isos/i386/ What I want to ask is that 'Release2' is the complete OS and after installation we can use 'yum update'. So at first, is it enough (as I am not going to download the complete set of 7 CDs)? -- Regards, Parshwa Murdia Making the simple
2010 Sep 08
3
adding list to data.frame iteratively
Hi, I have a preallocated dataframe to which I have to add a list whose vectors will become rows in the dataframe. This is done iteratively. How can I do this? I'm dealing with very large numbers...list of 1000 vectors to a dataframe of 200000 iteratively for e.g. my list is as follows ll<-list(c("1","2","3"),c("2","3","4")) I
2013 Dec 06
2
Regarding installation of Raring Ringtail (13.04) (UBUNTU PACKAGE FOR R)
Dear Sir Can't find /etc/apt/sources.list file please help. When I tried the command on terminal some errors has occurred as follows- manjulata@manjulata-HP-Pavilion-dv4-Notebook-PC:~/Desktop/ndnSIM$ deb http://ftp.iitm.ac.in/cran/bin/linux/ubuntu raring/ No command 'deb' found, did you mean: Command 'dab' from package 'bsdgames' (universe) Command 'dwb'
2010 Sep 08
1
bigmemory doubt
Hi, Is it possible for me to read data from shared memory created by a vc++ program into R using bigmemory? [[alternative HTML version deleted]]
2010 Sep 06
3
representing NULL values in a vector
Hi, I have a vector who contents should look like this, "c" "d" NULL "e" "f" etc or 4 5 6 NULL 7 8 9 how can I represent the null value? [[alternative HTML version deleted]]
2010 Sep 15
3
characters in a string
Hi, I need to check if a string "<rh>a,b,c,d<rh>" is delimited by two "<rh>" 's as efficiently as possible(I need to do this a lot of times) and return TRUE. Can someone suggest a good technique? [[alternative HTML version deleted]]
2014 Oct 13
9
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
In r219010, I merged integer and string fields into a single header field. By reducing the number of metadata operands used in debug info, this saved 2.2GB on an `llvm-lto` bootstrap. I've done some profiling of DW_TAGs to see what parts of PR17891 and PR17892 to tackle next, and I've concluded that they will be insufficient. Instead, I'd like to implement a more aggressive plan,
2010 Oct 01
3
Converting a dataframe column from string to datetime
Hi, I have a dataframe column of the form v<-c("Fri Feb 05 20:00:01.43000 2010","Fri Feb 05 20:00:02.274000 2010","Fri Feb 05 20:00:02.274000 2010","Fri Feb 05 20:00:06.34000 2010") I need to convert this to datetime form. I did the following.. lapply(v,function(x){strptime(x, "%a %b %d %H:%M:%OS %Y")}) This gives me a list that looks like
2013 May 06
1
[LLVMdev] C Support Libraries
Hi, I'm writing a Scheme compiler in C++ with the LLVM library. The dynamic type system is hard to tackle with direct LLVM from the C++ lib, so I'd like to throw the work off into a C support library I could link the compiled Scheme with. How can I generate code that depends on/calls external symbols? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 31
1
Global variables - collision?
If I edit the value of a global variable in my dialplan, could there be a risk of collision between calls? More in details: could a global var be used to build a counter that will be incremented by every call that passes. I think when 2 calls come in almost sumiltaneously, they could both be incrementing and saving the same value... which is bad! Anybody knows how asterisk handles this? K
2010 Oct 13
2
[LLVMdev] Possibility of Corruption of debug metadata
Hi Devang, On Wed, Oct 13, 2010 at 12:44 PM, Devang Patel <dpatel at apple.com> wrote: > In your example, you do not need to update debug info for @global_var at the moment. We are not identifying tls in debug info yet. Does that mean I will not be able to debug applications which use tls through gdb if they are build with gcc-lllvm or clang. > On Oct 13, 2010, at 8:30 AM, shankha
2014 Oct 16
2
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
On Wed, Oct 15, 2014 at 8:53 PM, Alex Rosenberg <alexr at leftfield.org> wrote: > As all of these transforms are 1-to-1, can we still support the older metadata and convert it on the fly? > I'd prefer not to keep all of that code around to interpret both versions without a very good reason. -eric > Alex > >> On Oct 13, 2014, at 3:02 PM, Duncan P. N. Exon Smith