search for: bb11

Displaying 15 results from an estimated 15 matches for "bb11".

Did you mean: bb1
2013 Nov 15
2
[LLVMdev] dominator, post-dominator and memory leak
...and inserting 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 cont...
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...
2012 Nov 26
2
[LLVMdev] LSR pass
...s that a LSR pass should not insert a multiplication, generally..? Thanks, Jonas %_tmp44 = ptrtoint i16* par1 to i16 %_tmp51 = ptrtoint i16* par2 to i16 ... inside loop: *** IR Dump After Canonicalize natural loops *** bb7: (header) ; preds = %bb7.lr.ph, %bb11 %_tmp39 = sub i16 %_tmp35, %_tmp38 %2 = mul i16 %_tmp39, -10 %_tmp41 = add i16 %2, %subframeCount.12.014 %_tmp45 = add i16 %_tmp41, %_tmp44 %_tmp46 = inttoptr i16 %_tmp45 to i16* %_tmp47 = load i16* %_tmp46, align 1 bb8: ; preds = %b...
2013 Nov 13
0
[LLVMdev] dominator, post-dominator and memory leak
...;>> after all users of malloc to avoid memory leak. I wonder whether there is >>> any pass that does similar analysis in order to avoid duplication of >>> efforts. >>> >>> BB10 (entry) >>> / \ >>> BB11 BB12 (malloc) >>> / / \ >>> BB13 / BB15 >>> \ / / \ >>> \ / BB18 BB19 >>> \ / \ / >>> BB20 BB21 BB2...
2013 Nov 13
3
[LLVMdev] dominator, post-dominator and memory leak
...s from BB12 to all exits >> after all users of malloc to avoid memory leak. I wonder whether there is >> any pass that does similar analysis in order to avoid duplication of >> efforts. >> >> BB10 (entry) >> / \ >> BB11 BB12 (malloc) >> / / \ >> BB13 / BB15 >> \ / / \ >> \ / BB18 BB19 >> \ / \ / >> BB20 BB21 BB22 >>...
2013 Nov 13
2
[LLVMdev] dominator, post-dominator and memory leak
...oth BB21 and BB22. That is, a free is inserted in all the paths from BB12 to all exits after all users of malloc to avoid memory leak. I wonder whether there is any pass that does similar analysis in order to avoid duplication of efforts. BB10 (entry) / \ BB11 BB12 (malloc) / / \ BB13 / BB15 \ / / \ \ / BB18 BB19 \ / \ / BB20 BB21 BB22 \ | / \ | /...
2012 Dec 01
1
[LLVMdev] LSR pass
...anks, > > Jonas > > > > > > > > %_tmp44 = ptrtoint i16* par1 to i16 > > %_tmp51 = ptrtoint i16* par2 to i16 > > ... > > inside loop: > > *** IR Dump After Canonicalize natural loops *** > > bb7: (header) ; preds = %bb7.lr.ph, %bb11 > > > > %_tmp39 = sub i16 %_tmp35, %_tmp38 > > %2 = mul i16 %_tmp39, -10 > > %_tmp41 = add i16 %2, %subframeCount.12.014 > > > > %_tmp45 = add i16 %_tmp41, %_tmp44 > > %_tmp46 = inttoptr i16 %_tmp45 to i16* > > %_tmp47 = load i16* %_tmp46, a...
2012 Dec 04
0
[LLVMdev] LSR pass
...anks, > > Jonas > > > > > > > > %_tmp44 = ptrtoint i16* par1 to i16 > > %_tmp51 = ptrtoint i16* par2 to i16 > > ... > > inside loop: > > *** IR Dump After Canonicalize natural loops *** > > bb7: (header) ; preds = %bb7.lr.ph, %bb11 > > > > %_tmp39 = sub i16 %_tmp35, %_tmp38 > > %2 = mul i16 %_tmp39, -10 > > %_tmp41 = add i16 %2, %subframeCount.12.014 > > > > %_tmp45 = add i16 %_tmp41, %_tmp44 > > %_tmp46 = inttoptr i16 %_tmp45 to i16* > > %_tmp47 = load i16* %_tmp46, a...
2013 Nov 13
0
[LLVMdev] dominator, post-dominator and memory leak
...is inserted in all the paths from BB12 to all exits > after all users of malloc to avoid memory leak. I wonder whether there is > any pass that does similar analysis in order to avoid duplication of > efforts. > > BB10 (entry) > / \ > BB11 BB12 (malloc) > / / \ > BB13 / BB15 > \ / / \ > \ / BB18 BB19 > \ / \ / > BB20 BB21 BB22 > \ | / >...
2013 Nov 13
2
[LLVMdev] dominator, post-dominator and memory leak
...s of malloc to avoid memory leak. I wonder whether there is >>>> any pass that does similar analysis in order to avoid duplication of >>>> efforts. >>>> >>>> BB10 (entry) >>>> / \ >>>> BB11 BB12 (malloc) >>>> / / \ >>>> BB13 / BB15 >>>> \ / / \ >>>> \ / BB18 BB19 >>>> \ / \ / >>>>...
2009 Jan 28
3
[LLVMdev] uses of unwind lead to crashes
...8*, ...)* @printf(i8* getelementptr ([16 x i8]* @"\01LC4", i32 0, i32 0)) nounwind ; <i32> [#uses=0] br label %bb12 bb9: ; preds = %bb7 %22 = load i32* %x_addr, align 4 ; <i32> [#uses=1] %23 = icmp eq i32 %22, 63 ; <i1> [#uses=1] br i1 %23, label %bb10, label %bb11 bb10: ; preds = %bb9 %24 = call i32 (i8*, ...)* @printf(i8* getelementptr ([5 x i8]* @"\01LC5", i32 0, i32 0)) nounwind ; <i32> [#uses=0] br label %bb12 bb11: ; preds = %bb9 %25 = load i32* %x_addr, align 4 ; <i32> [#uses=1] %26 = call i32 (i8*, ...)* @printf(i8* g...
2013 Nov 13
0
[LLVMdev] dominator, post-dominator and memory leak
...BB21 and BB22. > That is, a free is inserted in all the paths from BB12 to all exits > after all users of malloc to avoid memory leak. I wonder whether > there is any pass that does similar analysis in order to avoid > duplication of efforts. > > > BB10 (entry) > / \ > BB11 BB12 (malloc) > / / \ > BB13 / BB15 > \ / / \ > \ / BB18 BB19 > \ / \ / > BB20 BB21 BB22 > \ | / > \ | / > \ | / > \ | / > BB23 (exit) > > > Any advice is appreciated. Thanks in advance! > Bill > > > _________________________________________...
2013 Nov 24
2
[LLVMdev] Strange i386 cross build error.
...i i32 [ %conv366, %if.then357 ], [ %conv368, %if.end367 ], [ %conv333, %if.end323 ], [ %conv309, %sw.bb305 ], [ %conv304, %sw.bb300 ], [ %or299, %sw.bb290 ], [ %conv289, %sw.bb285 ], [ %or284, %sw.bb239 ], [ %or238, %sw.bb203 ], [ %conv202, %sw.bb176 ], [ %or174517, %sw.bb120 ], [ %conv119, %sw.bb115 ], [ %or113518, %sw.bb84 ], [ %or83, %_ZN4llvm6ARM_AML11getSOImmValEj.exit ], [ %conv64, %sw.bb60 ], [ %conv57, %if.then50 ], [ %conv59, %if.end58 ], [ %or35, %sw.bb11 ], [ %or, %sw.bb2 ], [ %4, %entry ], [ %5, %entry ], [ %6, %entry ] label %entry %5 = extractelement <2...
2012 Mar 28
6
How to get all possible combinations?
Dear all, suppose I have a vector with elements as: Vec <- c(2,3,4,5,6) Now I want to have all possible combination of length 3 using those elements and without any repetition. Like, I want to have 1 possibility like 2-3-4 but not 3-2-4. Can somebody guide me how to achieve that in R? Thanks for your help.
2017 Jan 13
4
Wrong code bug after GVN/PRE?
...abel %bb_usw4 bb10: %_tmp63 = load %int4, %ptr7 %step1.7 %_tmp64 = icmp eq %int4 %_tmp63, 1 %_tmp65 = select i1 %_tmp64, %int4 1, %int4 0 call void @CVAL_VERIFY_FUNC(%int4 %_tmp65) br label %bb12 bb_usw4: %_tmp66 = load %int4, %ptr7 %cach1.11 %_tmp67 = icmp eq %int4 %_tmp66, 9 br i1 %_tmp67, label %bb11, label %bb12 bb11: %_tmp68 = load %int4, %ptr7 %step1.7 %_tmp69 = icmp eq %int4 %_tmp68, 2 %_tmp70 = select i1 %_tmp69, %int4 1, %int4 0 call void @CVAL_VERIFY_FUNC(%int4 %_tmp70) br label %bb12 bb12: %_tmp71 = load %int4, %ptr7 %step1.7 %_tmp72 = add %int4 %_tmp71, 1 store %int4 %_tmp72, %ptr7 %st...