Displaying 20 results from an estimated 286 matches for "entrypoint".
2017 Mar 31
2
How to write the same things as `opt` command in C++ API
...dule'
define private i32 @a() {
entry:
%c = call i32 @c()
ret i32 %c
}
define private i32 @b() {
entry:
%a = call i32 @a()
%b = call i32 @b() ; key-point (infinite-recursive)
%res = add i32 %a, %b
ret i32 %res
}
define private i32 @c() {
entry:
ret i32 2
}
define i32 @main() {
entrypoint:
%b = call i32 @b()
ret i32 %b
}
[inlined.ll] Made by `opt-3.8 -S -inline main.ll > inlined.ll` command
define private i32 @b() {
entry:
%b = call i32 @b()
%res = add i32 2, %b ; a is inlined. (a == c, c == 2)
ret i32 %res
}
define i32 @main() {
entrypoint:
%b = call i32 @b()...
2015 Jun 18
3
[LLVMdev] problem with replacing an instruction
I am trying to change this
define void @main(float* noalias %arg0, float* noalias %arg1, float*
noalias %arg2) {
entrypoint:
%0 = bitcast float* %arg1 to <4 x float>*
intothis
define void @main(float* noalias %arg0, float* noalias %arg1, float*
noalias %arg2) {
entrypoint:
%0 = getelementptr float* %arg1, i64 0
%1 = bitcast float* %0 to <4 x float>*
I must be close but the final instruction rep...
2013 Oct 26
2
[LLVMdev] Why is the loop vectorizer not working on my function?
...;
target datalayout =
"e-p:64:64:64-S128-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:12
8:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-unknown-linux-elf"
define void @bar([8 x i8]* %arg_ptr) {
entrypoint:
%0 = bitcast [8 x i8]* %arg_ptr to i32*
%1 = load i32* %0
%2 = getelementptr [8 x i8]* %arg_ptr, i32 1
%3 = bitcast [8 x i8]* %2 to i32*
%4 = load i32* %3
%5 = getelementptr [8 x i8]* %arg_ptr, i32 2
%6 = bitcast [8 x i8]* %5 to float**
%7 = load float** %6
%8 = geteleme...
2014 May 18
2
[PATCH] nvc0: maxwell has a new video engine, don't return a decoder object
...+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_video.c
@@ -77,6 +77,9 @@ nvc0_create_decoder(struct pipe_context *context,
if (getenv("XVMC_VL"))
return vl_create_decoder(context, templ);
+ if (screen->device->chipset >= 0x110)
+ return NULL;
+
if (templ->entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) {
debug_printf("%x\n", templ->entrypoint);
return NULL;
--
1.8.5.5
2013 Oct 26
3
[LLVMdev] Why is the loop vectorizer not working on my function?
...8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:12
> > 8:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
> >
> > target triple = "x86_64-unknown-linux-elf"
> >
> > define void @bar([8 x i8]* %arg_ptr) {
> > entrypoint:
> > %0 = bitcast [8 x i8]* %arg_ptr to i32*
> > %1 = load i32* %0
> > %2 = getelementptr [8 x i8]* %arg_ptr, i32 1
> > %3 = bitcast [8 x i8]* %2 to i32*
> > %4 = load i32* %3
> > %5 = getelementptr [8 x i8]* %arg_ptr, i32 2
> > %6 = bitcast [8 x i8]...
2013 Oct 26
2
[LLVMdev] Why is the loop vectorizer not working on my function?
...{
for (int i=start; i<end;++i)
A[i] = B[i] * C[i];
}
This looks pretty much like the standard example. However, I built the
function
with the IRBuilder, thus not coming from C and clang. Also I changed
slightly
the function's signature:
define void @bar([8 x i8]* %arg_ptr) {
entrypoint:
%0 = bitcast [8 x i8]* %arg_ptr to i32*
%1 = load i32* %0
%2 = getelementptr [8 x i8]* %arg_ptr, i32 1
%3 = bitcast [8 x i8]* %2 to i32*
%4 = load i32* %3
%5 = getelementptr [8 x i8]* %arg_ptr, i32 2
%6 = bitcast [8 x i8]* %5 to float**
%7 = load float** %6
%8 = geteleme...
2013 Nov 01
2
[LLVMdev] loop vectorizer: this loop is not worth vectorizing
...g a loop in "main"
LV: Found a loop: L3
LV: Found a loop with a very small trip count. This loop is not worth
vectorizing.
LV: Not vectorizing.
Here the IR:
define void @main(i64 %arg0, i64 %arg1, i1 %arg2, i64 %arg3, float*
noalias %arg4, float* noalias %arg5, float* noalias %arg6) {
entrypoint:
br i1 %arg2, label %L0, label %L2
L0: ; preds = %entrypoint
%0 = add nsw i64 %arg0, %arg3
%1 = add nsw i64 %arg1, %arg3
br label %L2
L2: ; preds = %entrypoint, %L0
%2 = phi i64 [ %0, %L0 ],...
2013 Oct 26
0
[LLVMdev] Why is the loop vectorizer not working on my function?
...e-p:64:64:64-S128-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:12
> 8:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
>
> target triple = "x86_64-unknown-linux-elf"
>
> define void @bar([8 x i8]* %arg_ptr) {
> entrypoint:
> %0 = bitcast [8 x i8]* %arg_ptr to i32*
> %1 = load i32* %0
> %2 = getelementptr [8 x i8]* %arg_ptr, i32 1
> %3 = bitcast [8 x i8]* %2 to i32*
> %4 = load i32* %3
> %5 = getelementptr [8 x i8]* %arg_ptr, i32 2
> %6 = bitcast [8 x i8]* %5 to float**
> %7 = load flo...
2013 Oct 26
2
[LLVMdev] Why is the loop vectorizer not working on my function?
...eck if needed.
LV: We need a runtime memory check.
LV: We can vectorize this loop (with a runtime bound check)!
LV: Found trip count: 0
LV: The Widest type: 32 bits.
LV: The Widest register is: 32 bits.
LV: Found an estimated cost of 0 for VF 1 For instruction: %14 = phi
i32 [ %21, %L0 ], [ %1, %entrypoint ]
LV: Found an estimated cost of 0 for VF 1 For instruction: %15 =
getelementptr float* %10, i32 %14
LV: Found an estimated cost of 1 for VF 1 For instruction: %16 = load
float* %15
LV: Found an estimated cost of 0 for VF 1 For instruction: %17 =
getelementptr float* %13, i32 %14
LV: Found...
2013 Nov 06
2
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
...following IR implements the following nested loop:
for (int i = start ; i < end ; ++i )
for (int p = 0 ; p < 4 ; ++p )
a[i*4+p] = b[i*4+p] + c[i*4+p];
define void @main(i64 %arg0, i64 %arg1, i1 %arg2, i64 %arg3, float*
noalias %arg4, float* noalias %arg5, float* noalias %arg6) {
entrypoint:
br i1 %arg2, label %L0, label %L1
L0: ; preds = %entrypoint
%0 = add nsw i64 %arg0, %arg3
%1 = add nsw i64 %arg1, %arg3
br label %L2
L1: ; preds = %entrypoint
br label %L2
L2:...
2013 Oct 26
0
[LLVMdev] Why is the loop vectorizer not working on my function?
...32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:12
>>> 8:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
>>>
>>> target triple = "x86_64-unknown-linux-elf"
>>>
>>> define void @bar([8 x i8]* %arg_ptr) {
>>> entrypoint:
>>> %0 = bitcast [8 x i8]* %arg_ptr to i32*
>>> %1 = load i32* %0
>>> %2 = getelementptr [8 x i8]* %arg_ptr, i32 1
>>> %3 = bitcast [8 x i8]* %2 to i32*
>>> %4 = load i32* %3
>>> %5 = getelementptr [8 x i8]* %arg_ptr, i32 2
>>...
2013 Oct 26
0
[LLVMdev] Why is the loop vectorizer not working on my function?
...me memory check.
> LV: We can vectorize this loop (with a runtime bound check)!
> LV: Found trip count: 0
> LV: The Widest type: 32 bits.
> LV: The Widest register is: 32 bits.
> LV: Found an estimated cost of 0 for VF 1 For instruction: %14 =
> phi
> i32 [ %21, %L0 ], [ %1, %entrypoint ]
> LV: Found an estimated cost of 0 for VF 1 For instruction: %15 =
> getelementptr float* %10, i32 %14
> LV: Found an estimated cost of 1 for VF 1 For instruction: %16 =
> load
> float* %15
> LV: Found an estimated cost of 0 for VF 1 For instruction: %17 =
> getelementp...
2013 Nov 01
0
[LLVMdev] loop vectorizer: this loop is not worth vectorizing
...op: L3
> LV: Found a loop with a very small trip count. This loop is not worth
> vectorizing.
> LV: Not vectorizing.
>
> Here the IR:
>
> define void @main(i64 %arg0, i64 %arg1, i1 %arg2, i64 %arg3, float*
> noalias %arg4, float* noalias %arg5, float* noalias %arg6) {
> entrypoint:
> br i1 %arg2, label %L0, label %L2
>
> L0: ; preds = %entrypoint
> %0 = add nsw i64 %arg0, %arg3
> %1 = add nsw i64 %arg1, %arg3
> br label %L2
>
> L2: ; preds =
> %entr...
2013 Oct 27
3
[LLVMdev] Why is the loop vectorizer not working on my function?
...f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:12
>>>> 8:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
>>>>
>>>> target triple = "x86_64-unknown-linux-elf"
>>>>
>>>> define void @bar([8 x i8]* %arg_ptr) {
>>>> entrypoint:
>>>> %0 = bitcast [8 x i8]* %arg_ptr to i32*
>>>> %1 = load i32* %0
>>>> %2 = getelementptr [8 x i8]* %arg_ptr, i32 1
>>>> %3 = bitcast [8 x i8]* %2 to i32*
>>>> %4 = load i32* %3
>>>> %5 = getelementptr [8 x i8]* %arg_p...
2013 Oct 26
0
[LLVMdev] Why is the loop vectorizer not working on my function?
...t; A[i] = B[i] * C[i];
> }
>
> This looks pretty much like the standard example. However, I built the function
> with the IRBuilder, thus not coming from C and clang. Also I changed slightly
> the function's signature:
>
> define void @bar([8 x i8]* %arg_ptr) {
> entrypoint:
> %0 = bitcast [8 x i8]* %arg_ptr to i32*
> %1 = load i32* %0
> %2 = getelementptr [8 x i8]* %arg_ptr, i32 1
> %3 = bitcast [8 x i8]* %2 to i32*
> %4 = load i32* %3
> %5 = getelementptr [8 x i8]* %arg_ptr, i32 2
> %6 = bitcast [8 x i8]* %5 to float**
> %7 = load flo...
2013 Nov 06
0
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
...loop:
>
> for (int i = start ; i < end ; ++i )
> for (int p = 0 ; p < 4 ; ++p )
> a[i*4+p] = b[i*4+p] + c[i*4+p];
>
>
>
>
> define void @main(i64 %arg0, i64 %arg1, i1 %arg2, i64 %arg3, float* noalias %arg4, float* noalias %arg5, float* noalias %arg6) {
> entrypoint:
> br i1 %arg2, label %L0, label %L1
>
> L0: ; preds = %entrypoint
> %0 = add nsw i64 %arg0, %arg3
> %1 = add nsw i64 %arg1, %arg3
> br label %L2
>
> L1: ; preds = %entrypoint
&...
2013 Oct 27
0
[LLVMdev] Why is the loop vectorizer not working on my function?
...28:128:128-v64:64:64-v128:12
>>>>> 8:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
>>>>>
>>>>> target triple = "x86_64-unknown-linux-elf"
>>>>>
>>>>> define void @bar([8 x i8]* %arg_ptr) {
>>>>> entrypoint:
>>>>> %0 = bitcast [8 x i8]* %arg_ptr to i32*
>>>>> %1 = load i32* %0
>>>>> %2 = getelementptr [8 x i8]* %arg_ptr, i32 1
>>>>> %3 = bitcast [8 x i8]* %2 to i32*
>>>>> %4 = load i32* %3
>>>>> %5 =...
2013 Oct 29
1
[LLVMdev] JIT'ing 2 functions with inter-dependencies
I am having problems JIT'ing 2 functions where one of them calls the
other. (I am using the old JIT interface).
Here is the setup:
define void @func1() {
entrypoint:
call void @func2(void)
ret void
}
define void @func2(void) {
entrypoint:
ret void
}
(I omit the arguments and function bodies for simplicity.)
It's 'func1' that would be called from host code, 'func2' gets only
called from 'func1'.
The time I have finished...
2018 Oct 29
4
PostgreSQL port accessible even though it should be blocked by firewall
...address (1 host up) scanned in 57.26 seconds
$
PostgreSQL is running in a docker container:
$ docker ps
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS NAMES
6f11fc41d2f0 postgres "docker-entrypoint..." 4
days ago Up 4 days 0.0.0.0:5432->5432/tcp postgres
$
The various docker interfaces and virtual bridges are not assigned to
any specific zone.
Why is port 5432/tcp open?
frank
2015 Nov 09
1
After reboot of web-server accessing website shows "Forbidden", restarting httpd all is fine
...ldly
> wrong). Sometimes doing it this way is useful, but not often and when
> it is one can invoke the service's init script directly.
I'm pretty sure that what happens is that service runs the service
scripts in /etc/rc.d/init.d/, which all have labels on them that
indicate what entrypoint type they run under, which is by default
'initrc_exec_t' but I see several have their own special label, such
as sshd having sshd_initrc_exec_t. If 'service' were just sourcing
the init.d files instead of executing them, it would be different, but
it does execute them, and since th...