search for: kecheng

Displaying 12 results from an estimated 12 matches for "kecheng".

Did you mean: echeng
2010 May 14
2
[LLVMdev] How to get the variable mapping between the sourceandllvm bytecode
...32 0, metadata !3, metadata !"h", metadata !"h", metadata !"h", metadata !3, i32 1, metadata !4, i1 false, i1 true, i32 0, i32 0, null, i1 false} ; [ DW_TAG_subprogram ] !3 = metadata !{i32 458769, i32 0, i32 1, metadata !"simplecase.c", metadata !"/home/kecheng/cases/v2.7/simplecase/", metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", i1 true, i1 true, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !4 = metadata !{i32 458773, metadata !3, metadata !"", metadata !3, i32 0, i64 0, i64 0, i64 0, i32 0, null,...
2010 May 13
0
[LLVMdev] How to get the variable mapping between the source andllvm bytecode
Hi, I want to get the mapping between C source's variables and bytecode variables. It seems that llvm doesn't provide this mapping, so I think a walk-around method is to get the instruction's mapping. I have to use llvm-gcc, not clang. Any advice? Thanks. Best, Kecheng 2010-05-13 From: Eli Friedman Date: 2010-05-13 15:38:36 To: Kecheng Cc: llvmdev Subject: Re: [LLVMdev] How to get the variable mapping between the source andllvm bytecode On Thu, May 13, 2010 at 1:47 PM, Kecheng <kecheng at cecs.pdx.edu> wrote: > Hi, > > I want to know the variab...
2010 May 13
4
[LLVMdev] How to get the variable mapping between the source and llvm bytecode
...32 0, metadata !2, metadata !"h", metadata !"h", metadata !"h", metadata !2, i32 1, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i1 false} ; [ DW_TAG_subprogram ] !2 = metadata !{i32 458769, i32 0, i32 1, metadata !"simplecase.c", metadata !"/home/kecheng/cases/v2.7/simplecase/", metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !3 = metadata !{i32 458773, metadata !2, metadata !"", metadata !2, i32 0, i64 0, i64 0, i64 0, i32 0, null,...
2011 Jun 29
2
[LLVMdev] How to disable pass grouping(scheduling)
Thanks John, this is an easy way to achieve this goal, but I'm wondering if this is the only way? I have around 100 passes. Quoting John Criswell <criswell at illinois.edu>: > On 6/28/11 11:35 PM, kecheng at cecs.pdx.edu wrote: >> Hi all, >> >> Llvm can automatically group a list passes. I want to do some >> experiment to see the difference between grouping and non-grouping >> execution. >> Considering the following example, if I want to apply transformation >&...
2011 May 21
1
[LLVMdev] How to determine if a variable has been discarded
...perations has been discarded? What I want to check is how to determine which variables have been discarded. If I decide to discard everything that is transitively related to an undef then is that correct? If I implement that algorithm, is there a discard I'll be missing? Thanks. Best, Kecheng
2011 Jun 29
2
[LLVMdev] How to disable pass grouping(scheduling)
...lization(); Is it possible to disable the grouping? Make it execute as: A.doInitialization(); A.runOnFunction(); A.doInitialization(); B.doInitialization(); B.runOnFunction(); B.doInitialization(); C.doInitialization(); C.runOnFunction(); C.doInitialization(); Thanks, Kecheng
2011 Mar 10
2
[LLVMdev] pass statistic
...C source code. But since the precondition of each pass may not be satisfied (try loop-unrolling to a source code without loop), some of these pass may not affect the final result. How to know which pass affect and which one is ignored? Does Llvm have this kind of statistic? Thanks. Best, Kecheng
2011 Mar 10
0
[LLVMdev] pass statistic
On 3/9/2011 11:26 PM, kecheng at cecs.pdx.edu wrote: > Hi folks, > > I wonder how to get the statistic of which pass has been "really" > applied and which one is not. For instance, I try to apply 20 llvm > passes on a single C source code. But since the precondition of each > pass may not be satisfi...
2011 Jun 29
0
[LLVMdev] How to disable pass grouping(scheduling)
On 6/28/11 11:35 PM, kecheng at cecs.pdx.edu wrote: > Hi all, > > Llvm can automatically group a list passes. I want to do some > experiment to see the difference between grouping and non-grouping > execution. > Considering the following example, if I want to apply transformation > A, B and C. The executio...
2010 Apr 27
1
[LLVMdev] Does llvm-gcc emit column # info?
Hi Kecheng, > But in the doc "Source Level Debugging with LLVM", it shows that llvm > 2.6 could get column number. There's an example in the doc as following: > http://llvm.org/docs/SourceLevelDebugging.html you are confusing what LLVM supports, and what a particular LLVM frontend (l...
2010 Apr 26
0
[LLVMdev] Does llvm-gcc emit column # info?
...32 0, metadata !3, metadata !"main", metadata !"main", metadata !"main", metadata !3, i32 1, metadata !4, i1 false, i1 true, i32 0, i32 0, null, i1 false} ; [ DW_TAG_subprogram ] !3 = metadata !{i32 458769, i32 0, i32 1, metadata !"t.c", metadata !"/home/kecheng/llvm_test/xyz/", metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !4 = metadata !{i32 458773, metadata !3, metadata !"", metadata !3, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadat...
2010 Apr 26
3
[LLVMdev] Does llvm-gcc emit column # info?
Hi, I tried llvm-gcc -g -O0 on several cases, but the column field of meta data always shows zero in created ll code. Does llvm-gcc emit column # info ? Or I should add some option? Thanks in advance. Sheng. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100426/76b52b1f/attachment.html>