search for: bb12

Displaying 20 results from an estimated 37 matches for "bb12".

Did you mean: bb1
2013 Nov 15
2
[LLVMdev] dominator, post-dominator and memory leak
...ing a free into the predecessors of dominance frontier of malloc block and it caused double free. It is possible for multiple free's to be inserted on the path from malloc to an exit. For example, in the following CFG: BB10 (malloc) / \ BB11 BB12 ... / \ / \ ... \ / \ / \ / BB13 BB14 BB15 | ... | / BB16 The block BB10 dominates BB11, BB12 and BB14. The dominance frontier of BB10 contains BB13,...
2013 Nov 13
3
[LLVMdev] dominator, post-dominator and memory leak
...M, Henrique Santos < henrique.nazare.santos at gmail.com> wrote: > PRE normally uses a latest placement algorithm to do something of the sort. > I don't know about GVN/PRE, but older version of PRE might have it. > Just placing the calls to free at the predecessors (dominated by BB12) of > the dominance frontier of BB12 seems to work, however. Is there anything > wrong with this? > It seems that placing the calls to free at the predecessors of dominance frontier is inadequate. It is possible that there are exit blocks that are dominated by BB12 (calls to malloc). I gue...
2013 Nov 13
0
[LLVMdev] dominator, post-dominator and memory leak
> > It seems that placing the calls to free at the predecessors of dominance > frontier is inadequate. It is possible that there are exit blocks that are > dominated by BB12 (calls to malloc). I guess we can also insert calls to > free at these exit blocks too. That crossed my mind a few minutes later. : ) If you're interested, PRE.cpp existed last at r25315. It calculates the "availability frontier" which is probably what you're looking for. I s...
2013 Nov 15
0
[LLVMdev] dominator, post-dominator and memory leak
Try breaking the critical edges (-break-crit-edges). This way, a new block will be created between BB13 and BB11 (call this BB11.break) and BB15 and BB12 (call this BB12.break). The predecessors of the dominance frontier will, thus, be BB11.break, BB12.break, and BB14. When we enter through a block with a call to malloc(), we will end up in one of the blocks in the dominance frontier (kind of). These blocks must have multiple predecessors, else it...
2013 Nov 13
2
[LLVMdev] dominator, post-dominator and memory leak
Hi all, I have been writing a pass to heapify some alloca's (it is pessimistization, not optimization). For example, in the following control flow graph, there is a call to malloc inserted in block BB12. In order to avoid memory leak, free's are needed. The free cannot be inserted in BB23 because BB23 is not dominated by BB12. There are two ways to go I can think of here. One way is to insert a new basic block, say BB24, to connect both BB21 and BB22 and a free can be inserted into the new blo...
2013 Nov 13
2
[LLVMdev] dominator, post-dominator and memory leak
...er it works. On Wed, Nov 13, 2013 at 5:01 AM, Henrique Santos < henrique.nazare.santos at gmail.com> wrote: > It seems that placing the calls to free at the predecessors of dominance >> frontier is inadequate. It is possible that there are exit blocks that are >> dominated by BB12 (calls to malloc). I guess we can also insert calls to >> free at these exit blocks too. > > That crossed my mind a few minutes later. : ) > > If you're interested, PRE.cpp existed last at r25315. It calculates the > "availability frontier" which is probably what...
2013 Nov 13
0
[LLVMdev] dominator, post-dominator and memory leak
PRE normally uses a latest placement algorithm to do something of the sort. I don't know about GVN/PRE, but older version of PRE might have it. Just placing the calls to free at the predecessors (dominated by BB12) of the dominance frontier of BB12 seems to work, however. Is there anything wrong with this? H. On Tue, Nov 12, 2013 at 11:30 PM, Bin Tzeng <bintzeng at gmail.com> wrote: > Hi all, > > I have been writing a pass to heapify some alloca's (it is > pessimistization, not opti...
2013 Nov 13
0
[LLVMdev] dominator, post-dominator and memory leak
...3 at 5:01 AM, Henrique Santos < > henrique.nazare.santos at gmail.com > wrote: > > > > > > > It seems that placing the calls to free at the predecessors of > dominance frontier is inadequate. It is possible that there are exit > blocks that are dominated by BB12 (calls to malloc). I guess we can > also insert calls to free at these exit blocks too. > That crossed my mind a few minutes later. : ) > > > If you're interested, PRE.cpp existed last at r25315. It calculates > the "availability frontier" which is probably what yo...
2010 Apr 20
2
[LLVMdev] How to delete a instruction?
Hi, when I delete some instruction, I got some error prompt message. - %i.0.reg2mem.0 = phi i32 [ 0, %bb5 ], [ %indvar.next, %bb12 ] ; <i32> [#uses=2] - %s.0.reg2mem.0 = phi i32 [ 0, %bb5 ], [ %tmp16, %bb12 ] ; <i32> [#uses=1] - %tmp14 = tail call i32 @foobar(i32 %i.0.reg2mem.0) nounwind ; <i32> [#uses=1] - %tmp16 = add i32 %tmp14, %s.0.reg2mem.0 ; <i32> [#uses=2] %indvar.next = add i32 %i...
2007 Aug 25
2
[LLVMdev] constructing 'for' statement from LLVM bitcode
...void %bsloop(int %n, int %pM, %struct.Params* %ps) { entry: %pM = cast int %pM to uint ; <uint> [#uses=1] %tmp1822 = setgt int %pM, 0 ; <bool> [#uses=1] br bool %tmp1822, label %bb9.outer, label %return bb9.outer: ; preds = %bb12, %entry %indvar23 = phi uint [ 0, %entry ], [ %indvar.next24, %bb12 ] ; <uint> [#uses=1] br label %bb9 bb1: ; preds = %bb9 %tmp = tail call double %mtrandres53( sbyte 1 ) ; <double> [#uses=0] %indvar.next = add uint %indvar,...
2009 Jan 28
3
[LLVMdev] uses of unwind lead to crashes
...el %bb, label %bb1 bb: ; preds = %entry %3 = load i32* %x_addr, align 4 ; <i32> [#uses=1] %4 = ashr i32 %3, 2 ; <i32> [#uses=1] %5 = call i32 (i8*, ...)* @printf(i8* getelementptr ([3 x i8]* @"\01LC", i32 0, i32 0), i32 %4) nounwind ; <i32> [#uses=0] br label %bb12 bb1: ; preds = %entry %6 = load i32* %x_addr, align 4 ; <i32> [#uses=1] %7 = icmp eq i32 %6, 47 ; <i1> [#uses=1] br i1 %7, label %bb2, label %bb3 bb2: ; preds = %bb1 %8 = call i32 (i8*, ...)* @printf(i8* getelementptr ([6 x i8]* @"\01LC1", i32 0, i32 0)) nounwind...
2010 Apr 20
0
[LLVMdev] How to delete a instruction?
...an do: 1) Order your deletions so that the instructions at the end of def-use chains are deleted first; or 2) Replace all uses of the instructions to delete with an Undef value first and then delete the instruction. -- John T. > > - %i.0.reg2mem.0 = phi i32 [ 0, %bb5 ], [ %indvar.next, %bb12 ] ; > <i32> [#uses=2] > - %s.0.reg2mem.0 = phi i32 [ 0, %bb5 ], [ %tmp16, %bb12 ] ; <i32> > [#uses=1] > - %tmp14 = tail call i32 @foobar(i32 %i.0.reg2mem.0) nounwind ; <i32> > [#uses=1] > - %tmp16 = add i32 %tmp14, %s.0.reg2mem.0 ; <i32> [#use...
2014 Dec 05
2
[LLVMdev] InlineSpiller.cpp bug?
...t should have been detected as part of OrigLI. @1520 identity COPY 122 to 122 ... BB4: ... BB5: @1764 // This is where vreg111 is split and tracing of vreg121 begins. OrigVNI passed is @1520. // Exits with two edges into two one-block loops, with one exit block each, which are joined in BB12. // Succs BB6, BB8 BB6: {} // Single block nested loop BB7: // pred BB6, succ BB12 @2948 sibling COPY 121 to 122 BB8: // pred BB5 {} // Single block nested loop BB9: // pred BB8, succ BB12 @2968 sibling COPY 121 to 122 BB12: // joining BB7 and BB9 phi 9 BB13: // Latch block for outer...
2008 Jan 04
0
[LLVMdev] Extraction of Arguments Passed to a Function
...%tmp9 = load i32* %i, align 4 ; <i32> [#uses=1] %tmp10 = icmp sge i32 %tmp8, %tmp9 ; <i1> [#uses=1] %tmp1011 = zext i1 %tmp10 to i8 ; <i8> [#uses=1] %toBool = icmp ne i8 %tmp1011, 0 ; <i1> [#uses=1] br i1 %toBool, label %bb, label %bb12 bb12: ; preds = %bb5 br label %return return: ; preds = %bb12 ret void } ......................... Thanks and Regards Prabhat -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080104/e...
2014 Dec 09
2
[LLVMdev] InlineSpiller.cpp bug?
...ntity COPY 122 to 122 >> … >> BB4: >> … >> BB5: >> @1764 // This is where vreg111 is split and tracing of vreg121 begins. OrigVNI passed is @1520. >> >> // Exits with two edges into two one-block loops, with one exit block each, which are joined in BB12. >> // Succs BB6, BB8 >> >> BB6: >> {} // Single block nested loop >> BB7: // pred BB6, succ BB12 >> @2948 sibling COPY 121 to 122 >> >> BB8: // pred BB5 >> {} // Single block nested loop >> >> BB9: // pred BB8, succ BB1...
2007 Jul 05
1
sounds
...record them easily enough with "record", but don't like to re-invent the wheel.. Browsed through a lot of google-pages but failed to find any other languages (except for FR and ES on the digium site) Any pointers for german, dutch, greek, italian, .... prompts? Hans -- pgp-id: 926EBB12 pgp-fingerprint: BE97 1CBF FAC4 236C 4A73 F76E EDFC D032 926E BB12 Registered linux user: 75761 (http://counter.li.org)
2013 May 13
1
Logon script via GPO
...When I log in with a user that's in this container, it does not seem to execute the login script. Anyone have an idea why this isn't working? Here's the Policy on the Samba4 server: [root at foo Logon]# pwd /usr/local/samba/var/locks/sysvol/foobar.com/Policies/{A9793D9B-1FCF-4F7E-BB12-33F9383F8B92}/User/Scripts/Logon [root at foo Logon]# ls logon.bat I've done this before on a regular non-samba AD domain... What's missing to get this to work? Thank You! -- Luc Lalonde, analyste --------------------------------------------------------------------- D?partement de g?n...
2006 Mar 28
3
aah 2.7 / BRI
...i found some references, but these are rather old ( they speak about the coming release of aah-2.1) aah-handbook (version 1.6) doesn't spill a single character about bri and "tfot" doesn't spill much paper of the subject either ;-( Any suggestions/pointers Hans -- pgp-id: 926EBB12 pgp-fingerprint: BE97 1CBF FAC4 236C 4A73 F76E EDFC D032 926E BB12 Registered linux user: 75761 (http://counter.li.org)
2010 Nov 08
2
[LLVMdev] [LLVMDev] Register Allocation and copy instructions
...%reg16394,16396 %reg16394<def> = SHL16ri %reg16394, 1, %EFLAGS<imp-def>; GR16:%reg16394 CMP16ri %reg16394, 0, %EFLAGS<imp-def>; GR16:%reg16394 JNE_4 <BB#1>, %EFLAGS<imp-use> Successors according to CFG: BB#2 BB#1 BB#2: derived from LLVM BB %bb12 Predecessors according to CFG: BB#1 %AX<def> = COPY %reg16398; GR16:%reg16398 RET # End machine code for function test5. # After Register Allocation: # Machine code for function test5: Frame Objects: fi#-2: size=2, align=4, fixed, at location [SP+8] fi#-1: size=2, al...
2014 Nov 21
2
[LLVMdev] InlineSpiller.cpp bug?
Hi Quentin, I have tried to find a test case for an official target, but failed. It seems to be a rare case. To do it, I added the 'else' clause in the following: ... if (VNI->def == OrigVNI->def) { DEBUG(dbgs() << "orig phi value\n"); SVI->second.DefByOrigPHI = true; SVI->second.AllDefsAreReloads = false; propagateSiblingValue(SVI); continue;