similar to: [LLVMdev] Identifying classes and its member functions

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Identifying classes and its member functions"

2011 Jul 07
0
[LLVMdev] Identifying classes and its member functions
> > On looking into the IR (dumped out in human readable format), I see that > the class defined in the source code has been stripped out of its member > functions and only a structure containing the member variables is created. > The member functions are written out separately with their mangled names. > Hence, I suspect if it is possible to iterate over only the member
2011 Jul 07
1
[LLVMdev] Identifying classes and its member functions
We have built a tool which will take in a CDFG (in a particular format) and do some design automation based on it. The effort is to extend this tool to take an input from in the form of a systemC (extension of C++) code. The IR was used to generate the CDFG of the source code. But the requirement is to generate the CDFG of only a specific function and hence I am looking to iterate over the member
2011 Jul 31
1
[LLVMdev] Question about compile Systemc code
Dear all, I am quite new to llvm, after installing both llvm and systemc library, I checked with the command to compile the "hello world" systemc code, it works: g++ -I $SYSTEMC/include -L $SYSTEMC/lib-linux -o example.o example.cpp -lsystemc -lm ./example.o But when I replace g++ with llvm-g++, some error comes out:
2012 Oct 02
4
[LLVMdev] llvm-g++ does not work!
Hi, I am using PinaVM which is a prototype of a SystemC front-end based on "LLVM". The only version that it works with is 2.8. Also to test PinaVM, we need llvm-g++ (I think clang does not work). However, when I want to run an example, i get the following error, which i think is related to llvm-g++: reza at RezaUbuntu:~/pinavm-pinavm/systemc-examples/jerome-chain$ make promela
2018 Apr 22
3
Gantt Chart Using Plotrix
Hi Sarah Thank you very much for your pointers. Is there a way to specify the date string as POSIXct when reading in? I have tried the following (very inelegant way) and still have no luck. --- Begin Code --- # 1st read in the spreadsheet with stringsAsFactors set to FALSE > abc <- read.csv("gntr1.csv", header=TRUE, stringsAsFactors=FALSE) > abc code tasks.labels
2008 Nov 13
0
[LLVMdev] Using isa with derived types
Zappel-Phillip wrote: > Hello, > > I am writing an optimization pass which optimizes code based on an online > pointer analysis algorithm and need to detect pointers which are pointing to > derived types. I have not had any problem identifying pointers in general > using isa<PointerType>(...), but I can't seem to figure out how I can make > sure that the pointer is
2018 Apr 23
0
Gantt Chart Using Plotrix
Hi, Your attempt didn't work because you didn't do what I suggested, which was make sure that your data frame matched the example given in the help for gantt.chart. Here's what you have: > str(cdfg) 'data.frame': 3 obs. of 3 variables: $ c1d1: Factor w/ 3 levels "task 1","task 3",..: 1 3 2 $ c2d1: POSIXct, format: "2018-04-01"
2012 Sep 24
0
[LLVMdev] llvm-config!
Reza Sheykhi <hajishey at msu.edu> writes: > I got the following answers: > > which perl > /usr/bin/perl > > which llvm-config > /usr/local/bin/llvm-config > > which llvm-as > /usr/local/bin/llvm-as > > /usr/bin/llvm-confing --version > bash: /usr/bin/llvm-confing: No such file or directory Uh, there is a typo on the command above, it should be
2012 Sep 24
2
[LLVMdev] llvm-config!
I got the following answers: which perl /usr/bin/perl which llvm-config /usr/local/bin/llvm-config which llvm-as /usr/local/bin/llvm-as /usr/bin/llvm-confing --version bash: /usr/bin/llvm-confing: No such file or directory /usr/local/bin/llvm-config --version 2.8 Quoting Óscar Fuentes <ofv at wanadoo.es>: > Reza Sheykhi <hajishey at msu.edu> writes: > >> Thank you
2009 Mar 03
1
[LLVMdev] Control Data Flow Graph (CDFG)
Hi, Does anyone know any tool that can help generate a control/data flow graph (CDFG) for LLVM IR programs? The opt -view-cfg and related commands can visualize a program as a control flow graph. But how can I embody data flow information into that graph? Your help will be greatly appreciated! Thanks, Wenhao Jia -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Jul 01
2
[LLVMdev] Generating DFG or CDFG from C code
On Jun 30, 2011, at 10:05 PM, janarbek wrote: > > Hi All, > I am reposting my question again since i think my question was not clear enough. > I am wondering is it possible to generate Control Data Flow Graph from C using LLVM? or is it possible to get web-like structure of C code using llvm / > > Thanks in advance, > Any comment suggestion would be appreciated. > >
2008 Dec 08
1
[LLVMdev] Using isa with derived types
I believe I failed to ask the question properly, I am not trying to determine whether the elements of an array are scalar type. Instead, I want to be able to iterate over the function's parameters and determine whether a pointer argument is actually an array being passed which contains scalar values, or simply a pointer with a single scalar value. In other words, I want to ignore functions
2012 Oct 02
0
[LLVMdev] llvm-g++ does not work!
The issue here (even if you get dragonegg working) is that the thing that most newer linuxes install when you apt-get llvm-gcc isn't actually llvm-gcc, it's gcc with the dragonegg plugin. Even if the plugin issues are sorted out, the "fake" llvm-gcc doesn't support -emit-llvm so this wouldn't work. You'll probably need to pull a 2.8 of it from llvm.org or a
2011 Jul 01
1
[LLVMdev] Generating DFG or CDFG from C code
Unless someone else responds with "I've already done that" then you need to implement a pass. It's probably something you want to customize to your needs anyway. -Andy On Jun 30, 2011, at 11:50 PM, janarbek wrote: > Hi Andrew, > Thanks for the response. That helps a lot. > > So that means I have to implement a pass, right ? Sorry for dumb question. I just started
2011 Jun 30
2
[LLVMdev] Generating DFG or CDFG from C code
Hi All, I am new to LLVM. I want to generate a Dataflow graph or Control Dataflow graph from C code using LLVM. I have no idea how to do it in LLVM. I tried to use analysis and transform passes such as "-dot-cfg" but it doesn't give what I want. I want to generate a node for each operation in C code.  Thanks in advance.JM. -------------- next part -------------- An HTML attachment
2011 Jul 01
0
[LLVMdev] Generating DFG or CDFG from C code
Hi Andrew, Thanks for the response. That helps a lot. So that means I have to implement a pass, right ? Sorry for dumb question. I just started LLVM today.   =========================================== Phone : 82-42-860-1838 Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 =========================================== --- On Thu, 6/30/11, Andrew Trick <atrick at apple.com> wrote:
2010 Jun 23
4
[LLVMdev] LLVM:help
Sir ,how can I get the variable %2 in instruction %2 = sub nsw i32 1, %y If I am using getName() function then it outputs the null string. How can I get the original name? Regards, Rajwinder Singh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100623/37038c90/attachment.html>
2018 Apr 22
0
Gantt Chart Using Plotrix
Hi, The help file for gantt.chart states that dates must be in POSIXct format, and the example shows how to do that. There's no reason that I can see that you can't use a data frame as input to gantt.chart, but you need to be very careful that your data frame matches the correct format. I bet also that your character fields were imported as factors, because you didn't specify not to.
2018 Apr 22
2
Gantt Chart Using Plotrix
>From the help file for plotrix: " ... x - a list of task labels, start/end times and task priorities as returned by get.gantt.info ..." So I try to create an object that will contain this information. abc <- read.csv("gntr1a.csv") # The above csv file was generated from MS .xlsx file containing the tasks and corresponding dates > abc code tasks.labels
2013 Jan 30
2
[LLVMdev] Publication Generation of TLM Testbenches Using Mutation Testing
Dear all, I would like to share a paper I co-authored with Prof. Alper Sen. This paper describes an algorithm to generate testbenches from SystemC models represented with LLVM IR. It was accepted and presented at International Conference on Hardware/Software Codesign and System Synthesis (CODES/ISSS), 2012. A link to the paper is accessible from acm or Alper's website: