search for: copyobject

Displaying 5 results from an estimated 5 matches for "copyobject".

2011 Oct 31
1
Question about copying reference objects using the initialize method
.... 1) If the latter has no arguments, there is no problem to copy an object. myClass = setRefClass("myClass", fields = list(value = "numeric") ) myClass$methods(initialize = function(...){ ? value <<- 1 ? callSuper(...) }) newObject = myClass$new() newObject$value = 2 copyObject = newObject$copy() copyObject$value = 3 print(newObject$value) print(copyObject$value) 2) However, if the initialize method has arguments, I get an error: myClass = setRefClass("myClass", fields = list(value = "numeric") ) myClass$methods(initialize = function(extValue, ...){...
2017 May 09
4
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...s to be mainly due to loading constants in the entry BB, but I'm not sure that indeed is the biggest cause. (https://bugs.llvm.org//show_bug.cgi?id=32561) * MultiSource/Benchmarks/MiBench/consumer-typeset/consumer-typeset (48%): Due to creating all constants in the entry BB, see function CopyObject. (https://bugs.llvm.org//show_bug.cgi?id=32561) * MultiSource/Benchmarks/mediabench/mpeg2/mpeg2dec/mpeg2decode (46%): Function Reference_IDCT: Probably due to creating all constants in the entry BB + spilling floating point data through an X register: * FastISel: fadd d0, d1, d0 st...
2017 May 09
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...ts in the entry BB, but I'm not sure that indeed is the > biggest cause. (https://bugs.llvm.org//show_bug.cgi?id=32561) > - MultiSource/Benchmarks/MiBench/consumer-typeset/consumer-typeset > (48%): Due to creating all constants in the entry BB, see function > CopyObject. (https://bugs.llvm.org//show_bug.cgi?id=32561) > - MultiSource/Benchmarks/mediabench/mpeg2/mpeg2dec/mpeg2decode > (46%): Function Reference_IDCT: Probably due to creating all constants in > the entry BB + spilling floating point data through an X register: >...
2017 May 10
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...BB, but I'm not sure that indeed is the biggest cause. (https://bugs.llvm.org//show_bug.cgi?id=32561 <https://bugs.llvm.org//show_bug.cgi?id=32561>) >> MultiSource/Benchmarks/MiBench/consumer-typeset/consumer-typeset (48%): Due to creating all constants in the entry BB, see function CopyObject. (https://bugs.llvm.org//show_bug.cgi?id=32561 <https://bugs.llvm.org//show_bug.cgi?id=32561>) >> MultiSource/Benchmarks/mediabench/mpeg2/mpeg2dec/mpeg2decode (46%): Function Reference_IDCT: Probably due to creating all constants in the entry BB + spilling floating point data through an...
2017 Apr 27
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
Hi Kristof, > On Apr 27, 2017, at 9:47 AM, Kristof Beyls <kristof.beyls at arm.com> wrote: > > Hi Quentin, > >> On 27 Apr 2017, at 00:48, Quentin Colombet <qcolombet at apple.com <mailto:qcolombet at apple.com>> wrote: >> >> Hi Kristof, >> >>> On Apr 6, 2017, at 6:53 AM, Kristof Beyls <kristof.beyls at arm.com