search for: roun

Displaying 20 results from an estimated 21 matches for "roun".

Did you mean: round
2015 Jul 09
5
[LLVMdev] Strong post-dominance in LLVM?
There is PostDominatorTree for determining post-dominance. Even if A post-dominates B and B is executed, that doesn't guarantee that A will be executed. For example, there could be an infinite loop in-between. Strong post-dominance makes the stronger guarantee that there will be no infinite loop from B to A. Do we have anything in LLVM for determining strong post-dominance and in general for
2015 Jul 01
2
[LLVMdev] Deriving undefined behavior from nsw/inbounds/poison for scalar evolution
----- Original Message ----- > From: "Bjarke Roune" <broune at google.com> > To: "Hal Finkel" <hfinkel at anl.gov> > Cc: llvmdev at cs.uiuc.edu, "Jingyue Wu" <jingyue at google.com> > Sent: Wednesday, July 1, 2015 2:27:59 PM > Subject: Re: [LLVMdev] Deriving undefined behavior from nsw/inbound...
2015 Jul 01
3
[LLVMdev] Deriving undefined behavior from nsw/inbounds/poison for scalar evolution
----- Original Message ----- > From: "Bjarke Roune" <broune at google.com> > To: "Jingyue Wu" <jingyue at google.com> > Cc: llvmdev at cs.uiuc.edu > Sent: Tuesday, June 30, 2015 8:16:13 PM > Subject: Re: [LLVMdev] Deriving undefined behavior from nsw/inbounds/poison for scalar evolution > > Hi Adam, &g...
2015 Jun 30
5
[LLVMdev] Deriving undefined behavior from nsw/inbounds/poison for scalar evolution
...ensive ( https://llvm.org/bugs/show_bug.cgi?id=21148). For this reason, we disabled indvar widening in NVPTX in http://reviews.llvm.org/D6196. Hope it helps. Jingyue On Mon, Jun 29, 2015 at 11:59 AM Adam Nemet <anemet at apple.com> wrote: > > > On Jun 26, 2015, at 4:01 PM, Bjarke Roune <broune at google.com> wrote: > > > > *** Summary > > I'd like to propose (and implement) functionality in LLVM to determine > when a poison value from an instruction is guaranteed to produce undefined > behavior. I want to use that to improve handling of nsw, inb...
2007 Aug 09
1
plot table with sapply - labeling problems
Hi List, I am trying to label a barplot group with variable names when using sapply unsucessfully. I can't seem to extract the names for the indiviual plots: test<-as.data.frame(cbind(round(runif(50,0,5)),round(runif(50,0,3)),roun d(runif(50,0,4)))) sapply(test, table)->vardist sapply(test, function(x) round(table(x)/sum(table(x))*100,1) )->vardist1 par(mfrow=c(1,3)) sapply(vardist1, function(x) barplot(x, ylim=c(0,100),main="Varset1",xlab=names(x)))...
2017 Aug 31
4
Recycle Repository Issue
...write list = scilek writeable = yes vfs objects = recycle recycle:repository = /tank/recycle recycle:versions = Yes There are no error messages or warnings either. Why does this happen? How can I solve this problem? [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&amp...
2015 Jun 26
6
[LLVMdev] Deriving undefined behavior from nsw/inbounds/poison for scalar evolution
*** Summary I'd like to propose (and implement) functionality in LLVM to determine when a poison value from an instruction is guaranteed to produce undefined behavior. I want to use that to improve handling of nsw, inbounds etc. flags in scalar evolution and LSR. I imagine that there would be other uses for it. I'd like feedback on this idea before I proceed with it. *** Details Poison
2016 Apr 12
2
ScalarEvolution "add nsw" question
Hi Johannes, Sanjoy has given you great information already. On Sun, Apr 10, 2016 at 5:19 PM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote: > Johannes Doerfert wrote: > > Is there any plan to use e.g., post-dominance information to > > propagate wrapping flags? > > None that I'm aware of. > > > If x +nsw y post-dominates the entry block > >
2024 Feb 08
1
round.Date and trunc.Date not working / implemented
...gt;>>>>>> Ji?? Moravec >>>>>>> on Wed, 7 Feb 2024 10:23:15 +1300 writes: >> >>> This is my first time working with dates, so if the answer is "Duh, work >>> with POSIXt", please ignore it. >> >>> Why is not `round.Date` and `trunc.Date` "implemented" for `Date`? >> >>> Is this because `Date` is (mostly) a virtual class setup for a better >>> inheritance or is that something that is just missing? (like >>> `sort.data.frame`). Would R core welcome a patch? >> &...
2017 Aug 31
0
Recycle Repository Issue
...ecycle:repository = /tank/recycle > recycle:versions = Yes > > > There are no error messages or warnings either. Why does this > happen? How can I solve this problem? > > > > > > > > > [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-roun > d-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig- > email?utm_medium=email&utm_source=link&utm_campaign=sig-email& > utm_content=emailclient> Virus-free. > www.avast.com<https://www.avast.com/sig-email?utm_medium=email > &utm_source=link&...
2017 Aug 08
2
Improving SCEV's behavior around IR level no-wrap
...at apple.com>, Dan Gohman <dan433584 at gmail.com>, Hal Finkel <hfinkel at anl.gov>, Chandler Carruth <chandlerc at gmail.com>, David Majnemer <david.majnemer at gmail.com>, Sebastian Pop <sebpop at gmail.com> Subject: [llvm-dev] Improving SCEV's behavior around IR level no-wrap flags Message-ID: <CAMiUf7fs5xDnfaChLEcft+auNoVW_LksqLA48KJnH3rNgcMftQ at mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Hi all, This is about a project I've been prototyping on-and-off for a while that has finally reached a point where I can claim it to be...
2017 Aug 09
2
Improving SCEV's behavior around IR level no-wrap
...33584 at gmail.com>, Hal Finkel >> <hfinkel at anl.gov>, Chandler Carruth <chandlerc at gmail.com>, David >> Majnemer <david.majnemer at gmail.com>, Sebastian Pop <sebpop at gmail.com> >> Subject: [llvm-dev] Improving SCEV's behavior around IR level no-wrap >> flags >> Message-ID: >> <CAMiUf7fs5xDnfaChLEcft+auNoVW_LksqLA48KJnH3rNgcMftQ at mail.gmail.com> >> Content-Type: text/plain; charset=UTF-8 >> >> Hi all, >> >> This is about a project I've been prototyping...
2024 Feb 08
1
round.Date and trunc.Date not working / implemented
Technically, there is a round() for 'Date' objects, but it doesn't seem very useful, because it basically just fall back to the default round() method, which only takes the 'digits' argument. Here's an example: > date <- Sys.Date() > class(date) [1] "Date" We see that there are onl...
2016 Sep 23
6
Improving SCEV's behavior around IR level no-wrap flags
...32 0, %addr %t2 = add i32 %x, 1 then transferring NSW to getSCEV(%t) is okay, since even though %t2 (which will be mapped to the same SCEV expression as %t) does not have "nsw" on the instruction, we know adding 1 to %x cannot overflow since the program would have UB otherwise. Bjarke Roune has implemented some of this. However, this is difficult to do for cases like the x+1 .. x+3 loop above without running a control flow analysis over the entire function. And this approach does not work in the presence of function calls or general control flow, like %x = load ... %t = add i32...
2024 Feb 08
2
round.Date and trunc.Date not working / implemented
...thz.ch> wrote: > >>>>>> Ji?? Moravec >>>>>> on Wed, 7 Feb 2024 10:23:15 +1300 writes: > >> This is my first time working with dates, so if the answer is "Duh, work >> with POSIXt", please ignore it. > >> Why is not `round.Date` and `trunc.Date` "implemented" for `Date`? > >> Is this because `Date` is (mostly) a virtual class setup for a better >> inheritance or is that something that is just missing? (like >> `sort.data.frame`). Would R core welcome a patch? > >> I decide...
2024 Feb 08
1
round.Date and trunc.Date not working / implemented
This is a workaround, and could be the basis for a round.Date improvement: date <- Sys.Date() as.Date(round(as.POSIXct(date), "years")) as.Date(round(as.POSIXct(Sys.Date() + 180), "years")) Duncan Murdoch On 08/02/2024 12:23 p.m., Henrik Bengtsson wrote: > Technically, there is...
2015 Jul 01
3
[LLVMdev] Deriving undefined behavior from nsw/inbounds/poison for scalar evolution
Hi Sanjoy, thanks for your thoughts on this. On Sat, Jun 27, 2015 at 12:16 AM, Sanjoy Das <sanjoy at playingwithpointers.com > wrote: > > First of all, going by the "poison causes UB only when observed", SCEV > does not do the right thing currently: [...] > > That seems like a bug? There's also bug 23527 for GEP. Sounds like there might be more such bugs. One
2016 Sep 23
3
Improving SCEV's behavior around IR level no-wrap flags
...ferring NSW to getSCEV(%t) is okay, since even though %t2 >> (which will be mapped to the same SCEV expression as %t) does not have >> "nsw" on the instruction, we know adding 1 to %x cannot overflow since >> the program would have UB otherwise. >> >> Bjarke Roune has implemented some of this. However, this is difficult >> to do for cases like the x+1 .. x+3 loop above without running a >> control flow analysis over the entire function. And this approach >> does not work in the presence of function calls or general control >> flow,...
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...3.i = getelementptr inbounds i8* %s.2.lcssa.i, i32 -1 %cmp324.i = icmp ugt i16 %366, 4 br i1 %cmp324.i, label %if.then326.i, label %doexp.i if.then326.i: ; preds = %for.end320.i %cmp327.i = icmp eq i16 %366, 5 br i1 %cmp327.i, label %if.then329.i, label %roun.preheader.i if.then329.i: ; preds = %if.then326.i call fastcc void @emovo(i16* %arraydecay4.i, i16* %arraydecay12.i) nounwind %call333.i = call fastcc i32 @ecmp(i16* %arraydecay12.i, i16* getelementptr inbounds ([10 x i16]* @ezero, i32 0, i32 0)) nounwind...
2000 Oct 23
1
(no subject)
>>However, the major API changes this also requires would be rather complex. >>If you're going to provide for callbacks, you obviously have to provide a >>method to actually tell the library what your callbacks are. And they have >>to propagate to _every_ function which might allocate or free memory. >>Hardly trivial.<< You need a