similar to: [LLVMdev] Distinguish Global variables from functions

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Distinguish Global variables from functions"

2010 Jun 03
0
[LLVMdev] Distinguish Global variables from functions
hii Please find attached herewith the "hello.cpp" file. also one interesting point is that if i declare the global variable "x" after any function declaration then it is not printed . Rahul On Thu, Jun 3, 2010 at 11:14 PM, RAHUL GOYAL <rahulgoyal34 at gmail.com> wrote: > Hey all... > > I was writing a Function pass to print all the functions using >
2010 Jun 03
2
[LLVMdev] Getting rid of the dangling names of functions
Hi all, I am a beginner in llvm trying to write some basic passes like printing the name of all the functions in "Hello.cpp" file attached underneath. Also find attached "hello.cpp" on which i am testing the pass .When i run the command: "opt -load $HOME/llvm/src/Debug/lib/TEMP.so -hello < hello.bc > /dev/null" .The output shown is Hello: _GLOBAL__I_x Hello:
2010 Jun 23
1
[LLVMdev] LLVM help
Sir I am trying to get the constant 2 in instruction y=x+2; Its intermediate representaton is like %y=add nsw i32 %x , 2 If I use getOperand(2).getName() then I get null string. How can I get the value 2 ? Regards Rahul Goyal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100623/21222621/attachment.html>
2019 Sep 05
38
[PATCH 00/18] virtiofs: Fix various races and cleanups round 1
Hi, Michael Tsirkin pointed out issues w.r.t various locking related TODO items and races w.r.t device removal. In this first round of cleanups, I have taken care of most pressing issues. These patches apply on top of following. git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git#virtiofs-v4 I have tested these patches with mount/umount and device removal using qemu monitor. For
2012 Jul 30
2
[LLVMdev] ARM JIT support status?
Hi. I am a little unclear about the ARM JIT support status. Is it working as of LLVM 3.1? If not, is it on the roadmap for LLVM 3.2? I am not currently interested in NEON support so if thats unimplemented, thats fine. thanks, Rahul
2012 Apr 19
3
Remus' Network Buffering
Hi, I am trying to understand and change the network buffering that is being used by Remus, the HA solution present in Xen. From what i understood from reading the code, Remus calls the postsuspend method of the BufferedNIC after it suspends the domain that sends TC_PLUG_CHECKPOINT message and start the buffering and then calls the commit method of BufferedNIC after it gets the acknowledgement
2001 Aug 08
4
Plotting multiple series of data
I'd like to plot data that's in the form of a table such as this: 1 2 4 6 8 12 a 10 11 12 14 15 30 b 2 3 3 4 5 5 c 1 1 2 2 3 3 Where the row headers are the results for different series of tests, and the column headers are the x-values. I'd like to plot this as a set of lines, one each for "a", "b", and "c". I can rearrange the data as needed, but
2017 Jan 16
3
[PULL 5/5] virtio/s390: virtio: constify virtio_config_ops structures
On Mon, Jan 16, 2017 at 03:04:33PM +0100, Cornelia Huck wrote: > From: Bhumika Goyal <bhumirks at gmail.com> > > Declare virtio_config_ops structure as const as it is only stored in the > config field of a virtio_device structure. This field is of type const, so > virtio_config_ops structures having this property can be declared const. > Done using Coccinelle: > >
2017 Jan 16
3
[PULL 5/5] virtio/s390: virtio: constify virtio_config_ops structures
On Mon, Jan 16, 2017 at 03:04:33PM +0100, Cornelia Huck wrote: > From: Bhumika Goyal <bhumirks at gmail.com> > > Declare virtio_config_ops structure as const as it is only stored in the > config field of a virtio_device structure. This field is of type const, so > virtio_config_ops structures having this property can be declared const. > Done using Coccinelle: > >
2017 Jul 19
4
Integration of Google Speech API V2
Hi Jonathan Thanks ! That would indeed be wonderful, at this point I really do not care whether I need to use Python or Lua or JS. I was following http://zaf.github.io/asterisk-speech-recog/ but hit a road end with (for the lack of sane word ) copulating Google's Key On Wed, Jul 19, 2017 at 2:28 PM, Jonathan H <lardconcepts at gmail.com> wrote: > Yes! But I can only tell you if
2012 Jul 26
2
Passing arguments to SQL Query in R
Hello all, I am a newbie at R, with some experience in PERL. I have a database table that contains the following data: Name | Score ======= | ===== Sachin T | 25 Sachin T | 53 Sachin T | 57 Sachin T | 34 Rahul D | 38 Rahul D | 31 Rahul D | 53 Ricky P | 7 Ricky P | 45 Ricky P | 27 Ricky P | 17 Ricky P | 86 Ricky P | 48 Jacques K | 23 Jacques K | 86 Jacques K | 32 I
2012 Jul 31
1
[LLVMdev] ARM JIT support status?
Hi Rahul, I believe that ARM support is working in the MCJIT engine (as of llvm 3.1). If it wasn't working in the legacy JIT engine 10 months ago then it probably still isn't. -Andy -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Rahul Garg Sent: Tuesday, July 31, 2012 1:13 PM To: llvmdev at cs.uiuc.edu Subject: Re:
2017 Jan 09
3
[PATCH] vhost: scsi: constify target_core_fabric_ops structures
Declare target_core_fabric_ops strucrues as const as they are only passed as an argument to the functions target_register_template and target_unregister_template. The arguments are of type const struct target_core_fabric_ops *, so target_core_fabric_ops structures having this property can be declared const. Done using Coccinelle: @r disable optional_qualifier@ identifier i; position p; @@
2017 Jan 09
3
[PATCH] vhost: scsi: constify target_core_fabric_ops structures
Declare target_core_fabric_ops strucrues as const as they are only passed as an argument to the functions target_register_template and target_unregister_template. The arguments are of type const struct target_core_fabric_ops *, so target_core_fabric_ops structures having this property can be declared const. Done using Coccinelle: @r disable optional_qualifier@ identifier i; position p; @@
2019 Sep 06
2
[PATCH 16/18] virtiofs: Use virtio_fs_mutex for races w.r.t ->remove and mount path
On Thu, Sep 05, 2019 at 03:48:57PM -0400, Vivek Goyal wrote: > It is possible that a mount is in progress and device is being removed at > the same time. Use virtio_fs_mutex to avoid races. > > This also takes care of bunch of races and removes some TODO items. > > Signed-off-by: Vivek Goyal <vgoyal at redhat.com> > --- > fs/fuse/virtio_fs.c | 32
2019 Sep 06
2
[PATCH 16/18] virtiofs: Use virtio_fs_mutex for races w.r.t ->remove and mount path
On Thu, Sep 05, 2019 at 03:48:57PM -0400, Vivek Goyal wrote: > It is possible that a mount is in progress and device is being removed at > the same time. Use virtio_fs_mutex to avoid races. > > This also takes care of bunch of races and removes some TODO items. > > Signed-off-by: Vivek Goyal <vgoyal at redhat.com> > --- > fs/fuse/virtio_fs.c | 32
2017 Jul 19
3
Integration of Google Speech API V2
Hi Marcelo, Thanks for replying, I do not know what this branch is. Could you please let me know. Also, I enabled google cloud speech API only from the console. Do I need more API enabled? On Wed, Jul 19, 2017 at 3:41 PM, Marcelo Terres <mhterres at gmail.com> wrote: > Did you already tried the cloud_api branch? > > Regards, > > Marcelo H. Terres <mhterres at
2005 Oct 18
4
responseText Vs responseXML
This is a newbie question. If I have a xml file that I am opening using Ajax.Request, then the response is trapped using responseText. Now this response is a set of xml tags, if I need to traverse through it using DOM, I am not able to use the getElementByTagName method? If I write my own ajax function, then when I do t.responseXML.getElementByTagName(''items'') it works but
2001 Aug 02
4
pictex driver and bargraph shading
I'm trying to use the pictex driver for bargraphs, and the shading isn't showing up. Is there any way to get some sort of shading in the plots? A hatch or stipple would be fine, too; just some way to differentiate the bars. The postscript driver won't do, since I'm trying to embed this in a LaTeX document which I'll use pdflatex on and \includegraphics for pdftex doesn't
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question.... Does the prototype object add some way for a class to find out the variable name of its instance variable? Or does javascript have some built in way to do this? This is confusing to describe - but if I define a variable as some object: var myVariable= new Widget(''fdfa''); can some built-in method inside the Widget class be