Displaying 20 results from an estimated 1000 matches similar to: "cutting out numbers from vectors"
2008 Jun 17
3
combining two data frames (different question)
i have two data frames. One data frame contains one column with the
identificication number of a geographic place. The other columns are just
some data about the corresponding geographic place. The other data frame
also contains one column with the id number of a geographic place. the
other columns of the second data frame is other data about the corresponding
geographic place.
I want to
2010 Apr 30
4
plotting multiple CIs
Hello,
I need to plot multiple confidence intervals for the same model parameter e.g. so for the same value of the parameter in point x_1 I would like to see four different confidence intervals so that I can compare the accuracy e.g. boot basic vs normal vs my own vs classic lm CI etc.
I like very very much the plotCI implemented here:
http://cran.r-project.org/web/packages/plotrix/index.html
2000 Jul 27
3
R under Win2000?
Dear all,
Will R run under Win2000 or is it safer to stay with NT4.0 for a while?
Regards
--
Dr. Jens Oehlschl?gel
Analyse
BBDO InterOne
Gr?nstr. 15
40212 D?sseldorf
Tel.: +49 (0)211 1379-187
Fax.: +49 (0)211 1379-461
http://www.bbdo-interone.de
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2013 Aug 08
3
[LLVMdev] Convert fdiv - X/Y -> X*1/Y
I remember why I didn't implement this rule in Instcombine. It add one
instruction. So,
this xform should be driven by a redundancy eliminator if you care code
size.
On 8/8/13 10:13 AM, Shuxin Yang wrote:
> I did few transformation in Instruction *InstCombiner::visitFDiv() in
> an attempt to remove some divs.
> I may miss this case. If you need to implement this rule, it is
>
2010 Oct 25
2
dataframe, transform, strsplit
Hi,
I have a dataframe that has a column of vectors that I need to extract off
the character string before the first '.' character and put it into a
separate column. I thought I could use 'strsplit' for it within
'transform', but I can't seem to get the right invocation. Here is a sample
dataframe that has what I have, what I want, and what I get. Can someone
tell
2013 Aug 08
0
[LLVMdev] Convert fdiv - X/Y -> X*1/Y
I did few transformation in Instruction *InstCombiner::visitFDiv() in an
attempt to remove some divs.
I may miss this case. If you need to implement this rule, it is better
done in Instcombine than in DAG combine.
Doing such xform early expose the redundancy of 1/y, which have positive
impact to neighboring code,
while DAG combine is bit blind.
You should be very careful, reciprocal is very
2009 Jul 22
2
[LLVMdev] [PATCH] PR2218
Hello,
This patch fixes PR2218. However, I'm not pretty sure that this
optimization should be in MemCpyOpt. I think that GVN is good place as
well.
Regards
--
Jakub Staszak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr2218.patch
Type: application/octet-stream
Size: 6146 bytes
Desc: not available
URL:
2007 Jun 19
2
[LLVMdev] DAGCombiner: (S|U)REM
On Mon, 18 Jun 2007, Chris Lattner wrote:
> On Thu, 14 Jun 2007, Dietmar Ebner wrote:
>> currently, the DAGCombiner unconditionally converts
>> (DAGCombiner::visit(U|S)REM) expressions of the form X % C for constants
>> C into X-X/C*C. this makes sense in certain cases where the div/mul
>> logic will simplify X/C*X but is counterproductive in general,
>>
2013 Aug 08
0
[LLVMdev] Convert fdiv - X/Y -> X*1/Y
I believe we were under the impression that InstCombine, as a canonicalized/optimizer, should not increase code size but only reduce it.
Minor aside, but you don't need all of fast-math for the IR, just the "arcp" flag, which allows for replacement of division with reciprocal-multiply.
On Aug 8, 2013, at 10:21 AM, Shuxin Yang <shuxin.llvm at gmail.com> wrote:
> I remember
2007 Jun 19
0
[LLVMdev] DAGCombiner: (S|U)REM
hi,
thanks for your answer.
On Mon, 2007-06-18 at 23:25 -0700, Chris Lattner wrote:
> On Mon, 18 Jun 2007, Chris Lattner wrote:
> > On Thu, 14 Jun 2007, Dietmar Ebner wrote:
> >> currently, the DAGCombiner unconditionally converts
> >> (DAGCombiner::visit(U|S)REM) expressions of the form X % C for constants
> >> C into X-X/C*C. this makes sense in certain
2008 Apr 04
2
[LLVMdev] InstCombine Question
I am confused by this bit of code in instcombine:
09789 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) {
09790 const Value *GEPI0 = GEPI->getOperand(0);
09791 // TODO: Consider a target hook for valid address spaces for this
xform.
09792 if (isa<ConstantPointerNull>(GEPI0) &&
09793
2009 Jul 23
0
[LLVMdev] [PATCH] PR2218
On Jul 22, 2009, at 1:37 PM, Jakub Staszak wrote:
> Hello,
>
> This patch fixes PR2218.
Very nice. Are you sure this fixes PR2218? The example there doesn't
have any loads in it.
> However, I'm not pretty sure that this optimization should be in
> MemCpyOpt. I think that GVN is good place as well.
Yes, you're right. My long term goal is to merge the relevant
2013 Aug 08
13
[LLVMdev] Convert fdiv - X/Y -> X*1/Y
I would like to transform X/Y -> X*1/Y. Specifically, I would like to
convert:
define void @t1a(double %a, double %b, double %d) {
entry:
%div = fdiv fast double %a, %d
%div1 = fdiv fast double %b, %d
%call = tail call i32 @foo(double %div, double %div1)
ret void
}
to:
define void @t1b(double %a, double %b, double %d) {
entry:
%div = fdiv fast double 1.000000e+00, %d
%mul = fmul
2005 Sep 15
2
[LLVMdev] Promotion of integral values
There's some optimization that turns expressions like this:
short a = ...
short b =
int a' = cast short a to int
int b' = cast short b to int
int c = a' + b'
into this:
short a = ...
short b = ...
uint a' = cast short a to uint
uint b' = cast short b to uint
uint c = a' + b'
int c = cast uint c to int
Does anyone know which
2012 Jul 22
1
[LLVMdev] How to calculate the address in TableGen?
Hello everyone,
I would like to ask a question about the address calculation in TableGen.
I replace a definition in MipsInstrInfo.td:
def : Pat<(i32 (extloadi16_a addr:$src)), (LHu addr:$src)>;
to:
def : Pat<(i32 (extloadi16_a addr:$src)), (OR (LBu addr:$src), (SLL (LBu addr:($src+1)), 8))>;
However, it failed to compiled. It seems that ($src+1) is a wrong representation in TableGen.
2007 Dec 30
1
[LLVMdev] using llvm-ld with existing libraries
I am running into some problems when trying to use
llvm-ld to link object files, created by llvm-gcc-4.2
at -O4, with the stock libraries available on
powerpc-apple-darwin9. In particular, I am finding that
the link command...
llvm-ld -O4 -native -o molscript molscript.tab.o global.o lex.o col.o select.o state.o graphics.o segment.o coord.o xform.o postscript.o raster3d.o vrml.o regex.o opengl.o
2007 Dec 29
2
[LLVMdev] llvm-gcc-4.2 and -O4
What are the current limitations of using -O4 in
llvm-gcc-4.2? As a first test, I compiled the molscript
program first as -O3 and it works fine. However if i
try to compile the same code as -O4, the build fails with...
ar -cru clib.a args.o str_utils.o dynstring.o err.o indent.o vector3.o matrix3.o quaternion.o body3d.o extent3d.o io_utils.o colour.o key_value.o named_data.o double_hash.o
2017 Apr 06
3
Dereferenceable load semantics & LICM
2017-04-06 17:57 GMT+02:00 Sanjoy Das <sanjoy at playingwithpointers.com>:
> Hi Piotr,
>
> On April 6, 2017 at 2:36:53 AM, Piotr Padlewski
> (piotr.padlewski at gmail.com) wrote:
> > I disagree, I find it different than the patch you mentioned. We don't
> have
> > any problems with code like this:
> >
> > ptr = load i8*, i8** %ptrptr,
2007 Feb 23
2
[LLVMdev] getelementptr and SCEVs
I'm experimenting a bit with the SCEV code and one of the problems I'm
facing is that there's no way to represent a getelementptr operation as a
SCEV. The obvious way to do this in the existing SCEV framework is to add
a new SCEV subclass. I started doing that, but then I decided that it would
be nice to be able to split multiple-index getelementptrs into separate
SCEV objects that
2012 May 11
2
[LLVMdev] TableGen pattern for negated operand
I've been unable to come up with the TableGen recipe to match a
negated operand. My target asm syntax allows the following transform:
FNEG r8, r5
MUL r6, r8, r9
to
MUL r6, -r5, r9
Is there a Pattern<> syntax that would allow matching *any* opcode (or
even some subset), not just MUL, with a FNEG'd operand? I expect I can
define a PatFrag:
def fneg_su : PatFrag<(ops