similar to: [LLVMdev] cdfg dot file for specific function only

Displaying 20 results from an estimated 40000 matches similar to: "[LLVMdev] cdfg dot file for specific function only"

2011 Aug 10
0
[LLVMdev] extracting sub-program using specified top level function name
fixing missing subject line in original email. ----- Forwarded Message ----- From: Ananth Durbha <avdurbha at yahoo.com> To: llvm list <llvmdev at cs.uiuc.edu> Sent: Tuesday, August 9, 2011 11:38 PM Subject: Hi,      I am interested in getting llvm IR only for a subset of the input source code - basically starting from a specified top level function, including all its callee
2011 Aug 10
3
[LLVMdev] (no subject)
Hi,      I am interested in getting llvm IR only for a subset of the input source code - basically starting from a specified top level function, including all its callee functions (recursively).      For example, in the following code, I am interested in a command like "extract -top_function blah()" that will create an llvm IR with just blah() and foo().       int foo() {          
2011 Jul 01
0
[LLVMdev] Generating DFG or CDFG from C code
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. Jan Ma.   =========================================== --- On Thu, 6/30/11, janarbek
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:
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
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 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. > >
2013 Mar 29
1
[LLVMdev] function pass to visit BB bottom-up order
Hello llvmdevs, In a function pass, I need to visit all the basic blocks in bottom-up order (the exact opposite of ReversePostOrderTraversal). I noticed some APIs like po_iterator but wasn't able to figure out an example usage for this on web. Any pointers/suggestions are highly appreciated. Thanks, Ananth -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Mar 07
1
[LLVMdev] array of pointers
                              The getInitializer() method of a GlobalVariable returns 4 pointers like below. [4 x i32*] [i32* getelementptr inbounds ([256 x i32]* @CRC24ATable, i32 0, i32 0), i32* getelementptr inbounds ([256 x i32]* @CRC24BTable, i32 0, i32 0), i32* getelementptr inbounds ([256 x i32]* @CRC16Table, i32 0, i32 0), i32* getelementptr inbounds ([256 x i32]* @CRC8Table, i32 0,
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:
2010 Mar 15
1
[LLVMdev] CFG as DOT: where do node addresses come from?
Hi, The -dot-cfg option of opt will write a diagram of an analyzed function's CFG to DOT format. If you then open the DOT file, you will see that the BasicBlocks are uniquely identified with hexadecimal addresses. For example, an edge from one block to another may look like: Node0x10026b0:s0 -> Node0x1004c20; I've been trying to figure out where these hexadecimal addresses
2009 Mar 04
1
[LLVMdev] Control Data Flow Graph (CDFG)
Hi John, My project is somewhat inbetween, but closer to the latter. If you are doing something related to synthesis, have you checked xPilot from UCLA? Search "llvm" in this paper <http://www.icims.csl.uiuc.edu/~dchen/xpilot-TechCon2005.pdf> Anyway, thanks for the information! :-) Wenhao On Tue, Mar 3, 2009 at 6:30 AM, <llvmdev-request at cs.uiuc.edu> wrote: > >
2012 Mar 08
0
[LLVMdev] CDFG (Controil Data Flow Graph) with LLVM
Hi All, I am wondering if there is anyone who is working on generating Control/Data Flow Graph generation from C code ?  Can anyone point me where I should look in order to generate CDFG ? I am planning to develop one for myself. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Apr 04
1
[LLVMdev] opt -dot-cfg
I use "opt -dot-cfg sample.bc" command to view cfg, but I encountered the following warning. WARNING: You're attempting to print out a bitcode file. This is inadvisable as it may cause display problems. If you REALLY want to taste LLVM bitcode first-hand, you can force output with the `-f' option. I see unmeaning thing when use -f , in additinal I've installed graphvis
2008 Oct 13
0
[LLVMdev] Weirdness w/ llvm control flow graph generation
I am working on implementing break/continue and the flow control graphs that I am seeing are having all sorts of weird flow control that does not necessarily exist in the IR representation. For, example, a simple code segment that is a while loop w/ a continue ends up generating a CFG that is two while loops with one embedded inside each other. I've attached the dot files and the IR code. Any
2011 Aug 31
3
How to modify the dot-dot-dot argument using level names instead of position
Dear R-users, In the R internals manual, it is said that one can extract the elements of the dot-dot-dot argument using the special symbols ..1 or ..2. It seems to work just fine but I was wondering if there is a way one can extract or modify the content of the dot-dot-dot argument using a level name instead of its position? For instance, assuming that list(...) returns: $a [1] 1 2 3 4 5
2010 Apr 23
0
dot dot dot and NextMethod
Hello, Within the development of a package, I would need to build a specific method for the "pmin" function. I first make "pmin" generic pmin <- function (..., na.rm = FALSE) UseMethod("pmin") pmin.default <- base::pmin Now, within my new method, I would like to change the arguments in . (dot dot dot) before sending it to the NextMethod.
2004 Nov 10
1
[LLVMdev] Help : CFG in LLVM ( Implementation)
On Wed, Nov 10, 2004 at 06:39:12AM -0800, Tanu Sharma wrote: > I am a new user of LLVM and have been trying to find how Control Flow > Graphs are implemented in it.I wish to get access to the internal > structures of CFG and learn how LLVM makes them. LLVM does not need to construct a CFG, because the CFG is an explicit integral part of the program representation. Every BasicBlock ends
2018 May 20
0
opt dot-cfg source code
Hi I am using the opt tool in llvm to help me generate the cfg from the llvm bitcode. Something like below Node0x9453f70:s0 -> Node0x94545e0; Node0x9453f70:s1 -> Node0x9454630; First, I would like to know what does the address mean? 0x9453f70. Is it randomly generated or some specific meaning. Second, what does s0 and s1 mean..why the same address may have two node.
2010 Feb 19
3
dot-dot-dot as an actual argument
I could not find any documentation of how dot-dot-dot works when used as an argument in a function call (rather than as a formal argument in a definition). I would appreciate some references to the rules governing situations like: f1<-function(x,y,...){ ? print(x) } f2<-function(...){ ? f1(...) } f2(1,2,3) In the call above how are the three numbers bound to the individual formal