Displaying 8 results from an estimated 8 matches for "simplecase".
Did you mean:
simplecast
2010 May 13
4
[LLVMdev] How to get the variable mapping between the source and llvm bytecode
...ch "+" is mapped to this "add". Is there any way I can derive the mapping based on current ddg infor? Thanks.
**************
C source
**************
int h (int j, int i) {
int tmp;
tmp = j+i+2;
return tmp;
}
**************
.ll file
**************
; ModuleID = 'simplecase.c'
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-unknown-linux-gnu"
define i32 @h(i32 %j, i32 %i) nounwind {
entry:
%j_addr = alloca...
2010 May 14
2
[LLVMdev] How to get the variable mapping between the sourceandllvm bytecode
...works for this example. But I usually have to deal with the optimized bytecode with "-O".
See the example:
**************
C source
**************
int h (int j, int i) {
int tmp;
tmp = j+i+2;
return tmp;
}
+++++++++++++++++++++++++++++++++++++
.ll file:
; ModuleID = 'simplecase.c'
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-unknown-linux-gnu"
define i32 @h(i32 %j, i32 %i) nounwind readnone {
entry:
%0 = ad...
2010 May 13
0
[LLVMdev] How to get the variable mapping between the source andllvm bytecode
...h to provide that
sort of mapping. What are you trying to do?
-Eli
> **************
> C source
> **************
> int h (int j, int i) {
> int tmp;
> tmp = j+i+2;
> return tmp;
> }
>
> **************
> .ll file
> **************
> ; ModuleID = 'simplecase.c'
> target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
> target triple = "x86_64-unknown-linux-gnu"
> define i32 @h(i32 %j, i32 %i) nounwind {
> entry...
2015 Feb 04
3
[LLVMdev] BasicAA Tests
...s due to that they had
> ; CHECK-NOT: May:
>
>
> Which doesn't match up with the output of -print-may-alias:
> MayAlias: %Type %A, %Type2 %B
>
>
> ...So they'd always pass
>
>
> It looks like BasicAA's 2003-12-11-ConstExprGEP.ll and
> 2003-11-04-SimpleCases.ll have a similar pattern, but changing them
> to ; CHECK-NOT: MayAlias:, both tests fail.
>
>
> Attached is a diff to fix the tests, and the output of running opt on
> each of the failing cases
>
>
> George
--
Hal Finkel
Assistant Computational Scientist
Leadership C...
2010 Sep 09
0
[LLVMdev] How to run regression tests for ARM?
...(ENOENT,no such file or directory) at line 1
while running: opt <
/mnt/markhor/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll -gvn
-instcombine -S | not /bin/grep sub
couldn't execute "not": no such file or directory
FAIL: /mnt/markhor/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll
Failed with posix(ENOENT,no such file or directory) at line 1
while running: opt <
/mnt/markhor/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll -aa-eval
-print-may-aliases -disable-output |& not /bin/grep May:
couldn't execute "not": no such file or directory
FAIL: /...
2010 Sep 09
0
[LLVMdev] How to run regression tests for ARM?
...(ENOENT,no such file or directory) at line 1
while running: opt <
/mnt/markhor/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll -gvn
-instcombine -S | not /bin/grep sub
couldn't execute "not": no such file or directory
FAIL: /mnt/markhor/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll
Failed with posix(ENOENT,no such file or directory) at line 1
while running: opt <
/mnt/markhor/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll -aa-eval
-print-may-aliases -disable-output |& not /bin/grep May:
couldn't execute "not": no such file or directory
FAIL: /...
2010 Sep 09
0
[LLVMdev] How to run regression tests for ARM?
...(ENOENT,no such file or directory) at line 1
while running: opt <
/mnt/markhor/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll -gvn
-instcombine -S | not /bin/grep sub
couldn't execute "not": no such file or directory
FAIL: /mnt/markhor/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll
Failed with posix(ENOENT,no such file or directory) at line 1
while running: opt <
/mnt/markhor/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll -aa-eval
-print-may-aliases -disable-output |& not /bin/grep May:
couldn't execute "not": no such file or directory
FAIL: /...
2010 Sep 09
3
[LLVMdev] How to run regression tests for ARM?
...(ENOENT,no such file or directory) at line 1
while running: opt <
/mnt/markhor/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll -gvn
-instcombine -S | not /bin/grep sub
couldn't execute "not": no such file or directory
FAIL: /mnt/markhor/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll
Failed with posix(ENOENT,no such file or directory) at line 1
while running: opt <
/mnt/markhor/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll -aa-eval
-print-may-aliases -disable-output |& not /bin/grep May:
couldn't execute "not": no such file or directory
FAIL: /...