Displaying 10 results from an estimated 10 matches for "then3".
Did you mean:
then
2013 Aug 19
3
[LLVMdev] Issue with X86FrameLowering __chkstk on Windows 8 64-bit / Visual Studio 2012
...7
store volatile i32 %8, i32* %res
%9 = load i32* %res
%10 = icmp eq i32 %9, 0
br i1 %10, label %then, label %else
merged: ; preds = %else, %then
%11 = load i32* %res
%12 = and i32 %11, -2147483648
%13 = icmp eq i32 %12, 0
br i1 %13, label %then3, label %else4
then: ; preds = %bb
%zf = alloca i1
%14 = load i1* %zf
%15 = getelementptr i8* %0, i32 148
%16 = bitcast i8* %15 to i1*
%17 = load i1* %16
store volatile i1 true, i1* %16
br label %merged
else:...
2013 Aug 27
0
[LLVMdev] Issue with X86FrameLowering __chkstk on Windows 8 64-bit / Visual Studio 2012
...%9 = load i32* %res
> %10 = icmp eq i32 %9, 0
> br i1 %10, label %then, label %else
>
> merged: ; preds = %else, %then
> %11 = load i32* %res
> %12 = and i32 %11, -2147483648
> %13 = icmp eq i32 %12, 0
> br i1 %13, label %then3, label %else4
>
> then: ; preds = %bb
> %zf = alloca i1
> %14 = load i1* %zf
> %15 = getelementptr i8* %0, i32 148
> %16 = bitcast i8* %15 to i1*
> %17 = load i1* %16
> store volatile i1 true, i1* %16
> br label %m...
2011 Oct 19
0
[LLVMdev] Question regarding basic-block placement optimization
...load i32* %gep2
%cond2 = icmp ugt i32 %val2, 2
br i1 %cond2, label %then2, label %else2, !prof !0
then2:
call void @error(i32 %i, i32 1, i32 %b)
br label %else2
else2:
%gep3 = getelementptr i32* %a, i32 3
%val3 = load i32* %gep3
%cond3 = icmp ugt i32 %val3, 3
br i1 %cond3, label %then3, label %else3, !prof !0
then3:
call void @error(i32 %i, i32 1, i32 %b)
br label %else3
else3:
%gep4 = getelementptr i32* %a, i32 4
%val4 = load i32* %gep4
%cond4 = icmp ugt i32 %val4, 4
br i1 %cond4, label %then4, label %else4, !prof !0
then4:
call void @error(i32 %i, i32 1, i32 %b...
2011 Oct 19
3
[LLVMdev] Question regarding basic-block placement optimization
On Tue, Oct 18, 2011 at 6:58 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:
>
> On Oct 18, 2011, at 5:22 PM, Chandler Carruth wrote:
>
> As for why it should be an IR pass, mostly because once the selection dag
>> runs through the code, we can never recover all of the freedom we have at
>> the IR level. To start with, splicing MBBs around requires known about
2010 Oct 04
2
[LLVMdev] missing blocks
...# %if.end
addi %r12, %r0, 0
addi %r2, %r12, 0
call special_format
oris r0,r0,0
subc r0, %r2, %r12
bne .LBB0_4
oris r0,r0,0
b .LBB0_3
oris r0,r0,0
# BB#3: # %if.then3
call abort
oris r0,r0,0
.LBB0_4: # %if.end4
addi %r2, %r0, 0
call exit
oris r0,r0,0
.Ltmp0:
.size main, .Ltmp0-main
2017 Jun 19
4
LLVM behavior different depending on function symbol name
Greetings,
I have a Zig implementation of ceil which is emitted into LLVM IR like this:
; Function Attrs: nobuiltin nounwind
define internal fastcc float @ceil(float) unnamed_addr #3 !dbg !644 {
Entry:
%x = alloca float, align 4
store float %0, float* %x
call void @llvm.dbg.declare(metadata float* %x, metadata !649, metadata
!494), !dbg !651
%1 = load float, float* %x, !dbg !652
%2 =
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...ec.ptr1.7.i510.i, align 2, !tbaa !5
%46 = load i16* getelementptr inbounds ([10 x i16]* @eone, i32 0, i32 9), align 2, !tbaa !5
store i16 %46, i16* %incdec.ptr1.8.i511.i, align 2, !tbaa !5
switch i16 %storemerge.i, label %land.lhs.true.i [
i16 0, label %for.cond.i
i16 32767, label %if.then30.i
]
for.cond.i: ; preds = %if.end11.i, %for.body.i
%k.0.i = phi i32 [ %inc.i, %for.body.i ], [ 0, %if.end11.i ]
%cmp17.i = icmp slt i32 %k.0.i, 9
br i1 %cmp17.i, label %for.body.i, label %isone.i
for.body.i: ; pr...
2017 Jun 19
2
LLVM behavior different depending on function symbol name
...; preds = %Else
%12 = load i32, i32* %e, !dbg !90
%13 = lshr i32 8388607, %12, !dbg !92
store i32 %13, i32* %m, !dbg !93
%14 = load i32, i32* %u, !dbg !94
%15 = load i32, i32* %m, !dbg !95
%16 = and i32 %14, %15, !dbg !96
%17 = icmp eq i32 %16, 0, !dbg !97
br i1 %17, label %Then3, label %Else4, !dbg !97
Else2: ; preds = %Else
%18 = load float, float* %x, !dbg !98
%19 = fadd fast float %18, 0x4770000000000000, !dbg !100
call fastcc void @forceEval(float %19) #6, !dbg !101
%20 = load i32, i32* %u, !dbg !102
%21 = lshr i32...
2017 Jun 19
2
LLVM behavior different depending on function symbol name
...t;> %13 = lshr i32 8388607, %12, !dbg !92
>> store i32 %13, i32* %m, !dbg !93
>> %14 = load i32, i32* %u, !dbg !94
>> %15 = load i32, i32* %m, !dbg !95
>> %16 = and i32 %14, %15, !dbg !96
>> %17 = icmp eq i32 %16, 0, !dbg !97
>> br i1 %17, label %Then3, label %Else4, !dbg !97
>>
>> Else2: ; preds = %Else
>> %18 = load float, float* %x, !dbg !98
>> %19 = fadd fast float %18, 0x4770000000000000, !dbg !100
>> call fastcc void @forceEval(float %19) #6, !dbg !101
>>...
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...; preds = %entry
+ %call1 = call double @testi_aux() nounwind
+ store double %call1, double* %x, align 8
+ br label %if.end4
+
+if.else: ; preds = %entry
+ %cmp2 = fcmp ogt double %call, 1.000000e+00
+ br i1 %cmp2, label %if.then3, label %if.end4
+
+if.then3: ; preds = %if.else
+ br label %if.end4
+
+if.end4: ; preds = %if.else, %if.then3, %if.then
+ %y.0 = phi double* [ null, %if.then ], [ %x, %if.then3 ], [ null, %if.else ]
+ %call5 = call...