Displaying 20 results from an estimated 497 matches for "v128".
Did you mean:
128
2013 Mar 28
4
bayesian HLM random effects
Hello, all.
I've been working on this for sometime and was almost at the end/ last chunk of code i would need.... When I received an error. Rather than go to bed and think about it in the morning, I messed with my data and now I am not getting anything. I was up until 4am trying to fix this.
Zip files of my data are attached (the data which ends in 'a' matches with wvsA and the
2013 Mar 15
6
[LLVMdev] Simple question
...be missing something.
I am looking for find out how to assign a constant integer value to
the variable in llvm ir.
The following returns 12, and %var2 = 12.
; ModuleID = 't.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-S128"
target triple = "x86_64-pc-linux-gnu"
define i32 @test() nounwind readnone {
%var1 = xor i32 0, 0
%var2 = add i32 %var1, 12
ret i32 %var2
}
Why can't I do?:
; ModuleID = 't.c'
target datalayout =
"e-p:64:...
2011 Jul 25
3
[LLVMdev] function failing to run in Jit
...run in the Jit?
I've pretty much got everything else working for my front end
which all runs fin in the Jit but I can't get global arrays to work.
; ModuleID = 'test'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i686-pc-linux-gnu"
@MyArray = external global [1000 x i32]
define i32 @foo(i32 %a, i32 %b) {
Entry:
%mul = mul i32 %b, %a
%ptr = getelementptr inbounds [1000 x i32]* @MyArray, i32 0, i32 %a
store i32 %mul, i32* %ptr, align 4
ret i...
2012 Feb 02
3
[LLVMdev] Why extra 4 bytes on stack ???
....e *clang enum.c -S
-emit-llvm* and there respective file are
$ cat enum.c
int main()
{
enum type{one=1,two,three} s;
s = one;
return s;
}
$ cat enum.s
; ModuleID = 'enum.c'
target datalayout =
"e-p:32:32:32-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-f80:32:32-n8:16:32-S32"
target triple = "i386-pc-cygwin"
define i32 @main() nounwind {
%1 = alloca i32, align 4
%s = alloca i32, align 4
store i32 0, i32* %1
store i32 1, i32* %s, align 4
%2 = load i32* %s, align 4
ret i32 %2
}
*Question :* Why there is...
2012 Feb 28
4
[LLVMdev] Is it an opt bug ?
...a[1] = 5;
*x = * ((double *) a);
*(x+1) = * ((double *) &a[a[0]-2]);
}
I use generate LLVM code using my own front-end that looks like:
; ModuleID = 'jb.c'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i386-pc-linux-gnu"
define void @t2(double* %x) {
L.entry:
%a = alloca [2 x i64], align 4
%x.addr = alloca double*
store double* %x, double** %x.addr
%0 = bitcast [2 x i64]* %a to i64*
store i64 3, i64* %0
%...
2012 Feb 02
0
[LLVMdev] Why extra 4 bytes on stack ???
...gt;
> $ cat enum.c
> int main()
> {
> enum type{one=1,two,three} s;
> s = one;
> return s;
> }
>
> $ cat enum.s
> ; ModuleID = 'enum.c'
> target datalayout =
> "e-p:32:32:32-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-f80:32:32-n8:16:32-S32"
> target triple = "i386-pc-cygwin"
>
> define i32 @main() nounwind {
> %1 = alloca i32, align 4
> %s = alloca i32, align 4
> store i32 0, i32* %1
> store i32 1, i32* %s, align 4
> %2 = load i32* %s, align 4
>...
2020 Nov 18
0
Work on DAG Isel for TableGen and compiler
...mblyInstrSIMD.td
@@ -413,7 +413,7 @@ defm SHUFFLE :
def wasm_shuffle_t : SDTypeProfile<1, 18, []>;
def wasm_shuffle : SDNode<"WebAssemblyISD::SHUFFLE", wasm_shuffle_t>;
foreach vec_t = [v16i8, v8i16, v4i32, v2i64, v4f32, v2f64] in {
-def : Pat<(vec_t (wasm_shuffle (vec_t V128:$x), (vec_t V128:$y),
+def : Pat<(vec_t (wasm_shuffle V128:$x, (vec_t V128:$y),
(i32 LaneIdx32:$m0), (i32 LaneIdx32:$m1),
(i32 LaneIdx32:$m2), (i32 LaneIdx32:$m3),
(i32 LaneIdx32:$m4), (i32 LaneIdx32:$m5),
On Wed, Nov 18, 2020 at 12:42 PM Paul C. Anagnos...
2013 Mar 15
0
[LLVMdev] Simple question
...ooking for find out how to assign a constant integer value to
> the variable in llvm ir.
>
> The following returns 12, and %var2 = 12.
> ; ModuleID = 't.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-S128"
> target triple = "x86_64-pc-linux-gnu"
>
> define i32 @test() nounwind readnone {
> %var1 = xor i32 0, 0
> %var2 = add i32 %var1, 12
> ret i32 %var2
> }
>
> Why can't I do?:
> ; ModuleID =...
2013 Mar 15
0
[LLVMdev] Simple question
...looking for find out how to assign a constant integer value to
> the variable in llvm ir.
>
> The following returns 12, and %var2 = 12.
> ; ModuleID = 't.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-S128"
> target triple = "x86_64-pc-linux-gnu"
>
> define i32 @test() nounwind readnone {
> %var1 = xor i32 0, 0
> %var2 = add i32 %var1, 12
> ret i32 %var2
> }
>
> Why can't I do?:
> ; ModuleID =...
2020 Nov 18
2
Work on DAG Isel for TableGen and compiler
Are you talking about the type checking done in CodeGenDAGPatterns.cpp? Is it easy to post an example?
At 11/18/2020 01:55 PM, Thomas Lively wrote:
>Hi Paul,
>
>I think this would be time well spent. At least in the WebAssembly backend, the vast majority of our ISel work is still done with DAG ISel. I know this is different from the performance work you have in mind, but one of my
2011 Jul 25
0
[LLVMdev] function failing to run in Jit
...;ve pretty much got everything else working for my front end
> which all runs fin in the Jit but I can't get global arrays to work.
>
> ; ModuleID = 'test'
> target datalayout =
> "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
> target triple = "i686-pc-linux-gnu"
>
> @MyArray = external global [1000 x i32]
>
> define i32 @foo(i32 %a, i32 %b) {
> Entry:
> %mul = mul i32 %b, %a
> %ptr = getelementptr inbounds [1000 x i32]* @MyArray, i32 0, i32 %a
>...
2012 Feb 28
0
[LLVMdev] Is it an opt bug ?
...> *(x+1) = * ((double *) &a[a[0]-2]);
> }
>
> I use generate LLVM code using my own front-end that looks like:
>
>
> ; ModuleID = 'jb.c'
> target datalayout =
> "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
> target triple = "i386-pc-linux-gnu"
> define void @t2(double* %x) {
> L.entry:
> %a = alloca [2 x i64], align 4
>
> %x.addr = alloca double*
> store double* %x, double** %x.addr
> %0 = bitcast [2 x i64]...
2010 Oct 24
2
[LLVMdev] lli : external functions and target datalayout
...//////
#include "stdio.h"
int main () {
putchar('a');
return 0;
}
llvm-gcc -emit-llvm, I got
////////////////////////////////////////
; ModuleID = 't1.bc'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i386-pc-linux-gnu"
define i32 @main() nounwind {
entry:
%retval = alloca i32 ; <i32*> [#uses=2]
%0 = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bit...
2012 Feb 28
1
[LLVMdev] Is it an opt bug ?
...]-2]);
> > }
> >
> > I use generate LLVM code using my own front-end that looks like:
> >
> >
> > ; ModuleID = 'jb.c'
> > target datalayout =
> >
> "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
> > target triple = "i386-pc-linux-gnu"
> > define void @t2(double* %x) {
> > L.entry:
> > %a = alloca [2 x i64], align 4
> >
> > %x.addr = alloca double*
> > store double* %x, double** %x.ad...
2013 Mar 16
3
[LLVMdev] Simple question
...sign a constant integer value to
> > the variable in llvm ir.
> >
> > The following returns 12, and %var2 = 12.
> > ; ModuleID = 't.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-S128"
> > target triple = "x86_64-pc-linux-gnu"
> >
> > define i32 @test() nounwind readnone {
> > %var1 = xor i32 0, 0
> > %var2 = add i32 %var1, 12
> > ret i32 %var2
> > }
> >
>...
2011 Nov 25
2
[LLVMdev] Where does LLVM mangle characters from llvm-ir names while generating native code?
...:
>>
>> $ clang++ -S -emit-llvm -O3 mangling.cpp -o - -Xclang -cxx-abi -Xclang microsoft
>> ; ModuleID = 'mangling.cpp'
>> target datalayout =
>> "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:128:128-v64:64:64-
>> v128:128:128-a0:0:64-f80:32:32-n8:16:32-S32"
>> target triple = "i686-pc-win32"
>>
>> define i32 @"?heyimacxxfunction@@YAHXZ"() nounwind readnone {
>> entry:
>> ret i32 42
>> }
>>
>> Note the ?heyimacxxfunction@@YAHXZ. Now if I g...
2011 Oct 05
0
[LLVMdev] LLVM IR is a compiler IR
...rategy.
C/C++ source code
1 struct foo {
2 char a:4;
3 long long b:61;
4 int c:30;
5 };
6
7 struct foo var;
Target Independent Bitcode
1 ; ModuleID = 'gu.c'
2 target datalayout = "e-p:32:32:32-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-f192:32:32"
3 target triple = "ovm-none-linux"
4
5 %struct.foo = type { i4(char), i61(longlong), i30(int) }
6
7 @var = common global %struct.foo zeroinitializer ; <%struct.foo*> [#uses=0]
Target Dependent Bitcode
ARM
1 ; ModuleID = 'gu.mod.opt.a...
2011 Nov 25
5
[LLVMdev] Where does LLVM mangle characters from llvm-ir names while generating native code?
...nd ran into a major issue. Given the following llvm-ir:
$ clang++ -S -emit-llvm -O3 mangling.cpp -o - -Xclang -cxx-abi -Xclang microsoft
; ModuleID = 'mangling.cpp'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:128:128-v64:64:64-
v128:128:128-a0:0:64-f80:32:32-n8:16:32-S32"
target triple = "i686-pc-win32"
define i32 @"?heyimacxxfunction@@YAHXZ"() nounwind readnone {
entry:
ret i32 42
}
Note the ?heyimacxxfunction@@YAHXZ. Now if I generate assembly (using
clang or llc) I get:
$ clang++ -S -O3 manglin...
2009 Aug 08
2
[LLVMdev] Initial cut at a instruction raising patch
Hi,
This patch raises selected instructions to function calls. I've dome
some preliminary testing and I works:
; ModuleID = 'raise.o'
target datalayout =
"e-p:32:32-i1:8:0-i8:8:0-i16:16:0-i32:32:0-i32:32:0-i64:32:0-f32:32:0-f64:32:0-f96:32:0-v64:64:64-v128:128:0-a0:0"
target triple = "i386-pc-linux-gnu"
define i32 @main(i32, i8**, ...) nounwind {
entry:
%argc = alloca i32 ; <i32*> [#uses=1]
store i32 %0, i32* %argc
%argv = alloca i8** ; <i8***> [#uses=1]
store i8...
2011 Nov 25
0
[LLVMdev] Where does LLVM mangle characters from llvm-ir names while generating native code?
...en the following llvm-ir:
>
> $ clang++ -S -emit-llvm -O3 mangling.cpp -o - -Xclang -cxx-abi -Xclang microsoft
> ; ModuleID = 'mangling.cpp'
> target datalayout =
> "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:128:128-v64:64:64-
> v128:128:128-a0:0:64-f80:32:32-n8:16:32-S32"
> target triple = "i686-pc-win32"
>
> define i32 @"?heyimacxxfunction@@YAHXZ"() nounwind readnone {
> entry:
> ret i32 42
> }
>
> Note the ?heyimacxxfunction@@YAHXZ. Now if I generate assembly (using
> cl...