search for: ty2

Displaying 20 results from an estimated 70 matches for "ty2".

Did you mean: tty2
2017 Jul 18
2
get ty2
Hello, in some operations there is a ty2 type, for example in truncate. What is the most right way to get it ? I have seen some EVT types, but this is connected to DAG... and I don't believe that there is no easy way to get ty2 with one call function. -------------- next part -------------- An HTML attachment was scrubbed... URL: <...
2012 Sep 11
2
[LLVMdev] FW: Proposal: New IR instruction for casting between address spaces
...n address spaces * Updated the reader/writer to handle these cases * Update the documentation to insert the new IR node. * Add the following documentation: 'addrspacecast .. to' Instruction Syntax: <result> = addrspacecast <ty> <value> to <ty2> ; yields ty2 Overview: The ' addrspacecast ' instruction converts value to type ty2 without changing any bits. Arguments: The ' addrspacecast ' instruction takes a value to cast, which must be a non-aggregate first class value with a pointer type, and a type to c...
2012 Sep 11
0
[LLVMdev] Proposal: New IR instruction for casting between address spaces
...ed the reader/writer to handle these cases > · Update the documentation to insert the new IR node. > · Add the following documentation: > 'addrspacecast .. to' Instruction > > Syntax: > > <result> = addrspacecast <ty> <value> to <ty2> ; yields ty2 > Overview: > > The ' addrspacecast ' instruction converts value to type ty2 without changing any bits. This is mildly imprecise, because the whole point of this instruction is that it can change the bit width. > > Arguments: > > The ...
2007 Nov 13
2
[LLVMdev] BasicAliasAnalysis and out-of-bound GEP indices
...g undefined result (as stated in LangRef.html). Please, take a look at this code (BasicAA results are in comments). --- target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" %ty1 = type [2 x [2 x i8]] %ty2 = type [2 x {i8, [2 x i8]}] @G = external global %ty1 @H = external global %ty2 ; alias(%a, %b, 1, 1) returns NoAlias, ; although they point to the same memory cell define void @fun1() { entry: %a = getelementptr %ty1* @G, i32 0, i32 1, i32 -2 %b = bitcast %ty1* @G to i8*...
2012 Sep 11
2
[LLVMdev] Proposal: New IR instruction for casting between address spaces
...ese cases > > * Update the documentation to insert the new IR node. > > * Add the following documentation: > > 'addrspacecast .. to' Instruction > > > > Syntax: > > > > <result> = addrspacecast <ty> <value> to <ty2> ; yields > ty2 > > Overview: > > > > The ' addrspacecast ' instruction converts value to type ty2 without > changing any bits. > > This is mildly imprecise, because the whole point of this instruction is > that it can change the bit width. [...
2012 Sep 12
0
[LLVMdev] Proposal: New IR instruction for casting between address spaces
...* Update the documentation to insert the new IR node. >>> * Add the following documentation: >>> 'addrspacecast .. to' Instruction >>> >>> Syntax: >>> >>> <result> = addrspacecast <ty> <value> to <ty2> ; yields >> ty2 >>> Overview: >>> >>> The ' addrspacecast ' instruction converts value to type ty2 without >> changing any bits. >> >> This is mildly imprecise, because the whole point of this instruction is >> that...
2012 Sep 12
2
[LLVMdev] Proposal: New IR instruction for casting between address spaces
...ntation to insert the new IR node. > >>> * Add the following documentation: > >>> 'addrspacecast .. to' Instruction > >>> > >>> Syntax: > >>> > >>> <result> = addrspacecast <ty> <value> to <ty2> ; > yields > >> ty2 > >>> Overview: > >>> > >>> The ' addrspacecast ' instruction converts value to type ty2 > without > >> changing any bits. > >> > >> This is mildly imprecise, because the whole...
2007 Nov 13
0
[LLVMdev] BasicAliasAnalysis and out-of-bound GEP indices
...). > > Please, take a look at this code (BasicAA results are in comments). > --- > target datalayout = > "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32- > f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" > > %ty1 = type [2 x [2 x i8]] > %ty2 = type [2 x {i8, [2 x i8]}] > > @G = external global %ty1 > @H = external global %ty2 > > ; alias(%a, %b, 1, 1) returns NoAlias, > ; although they point to the same memory cell > define void @fun1() { > entry: > %a = getelementptr %ty1* @G, i32 0, i32 1, i32 -2 &gt...
2012 Sep 13
0
[LLVMdev] Proposal: New IR instruction for casting between address spaces
...he new IR node. >>>>> * Add the following documentation: >>>>> 'addrspacecast .. to' Instruction >>>>> >>>>> Syntax: >>>>> >>>>> <result> = addrspacecast <ty> <value> to <ty2> ; >> yields >>>> ty2 >>>>> Overview: >>>>> >>>>> The ' addrspacecast ' instruction converts value to type ty2 >> without >>>> changing any bits. >>>> >>>> This is mildl...
2013 Aug 16
2
[LLVMdev] Definition of the bitcast instruction for vectors
Hi, >From http://llvm.org/docs/LangRef.html#bitcast-to-instruction: The 'bitcast' instruction converts value to type ty2. It is always a no-op cast because no bits change with this conversion. The conversion is done as if the value had been stored to memory and read back as type ty2. Pointer (or vector of pointers) types may only be converted to other pointer (or vector of pointers) types with this instruction if the...
2014 Jul 18
2
[LLVMdev] TLI vs. TTI
Hi, I noticed many functions in the TargetTransformInfo interface are duplicates of those already in TargetLowering (e.g. isTruncateFree). Is the expectation really that targets will reimplement the same functions twice? AArch64’s TTI uses some TLI calls in some of its implementations, but why doesn’t the base TargetTransformInfo call the TargetLowering versions by default? - Matt
2012 Sep 13
2
[LLVMdev] Proposal: New IR instruction for casting between address spaces
...;>>> * Add the following documentation: > >>>>> 'addrspacecast .. to' Instruction > >>>>> > >>>>> Syntax: > >>>>> > >>>>> <result> = addrspacecast <ty> <value> to <ty2> ; > >> yields > >>>> ty2 > >>>>> Overview: > >>>>> > >>>>> The ' addrspacecast ' instruction converts value to type ty2 > >> without > >>>> changing any bits. > >>&...
2016 Jan 13
2
[GlobalISel] A Proposal for global instruction selection
...shufflevector through memory on systems where little-Endian mode is relevant, see http://llvm.org/devmtg/2014-10/Slides/Schmidt-SupportingVectorProgramming.pdf). Given what's been done, should we update the LangRef. It currently reads, " The ‘ bitcast ‘ instruction converts value to type ty2 . It is always a no-op cast because no bits change with this conversion. The conversion is done as if the value had been stored to memory and read back as type ty2 ." But this is now, at the least, misleading, because this process of storing the value as one type and reading it back in as anot...
2013 Aug 16
0
[LLVMdev] Definition of the bitcast instruction for vectors
On Fri, Aug 16, 2013 at 7:51 AM, Daniel Sanders <Daniel.Sanders at imgtec.com>wrote: > Hi,**** > > ** ** > > From http://llvm.org/docs/LangRef.html#bitcast-to-instruction:**** > > ** ** > > The ‘bitcast‘ instruction converts value to type ty2. It is always a no-op > cast because no bits change with this conversion. The conversion is done as > if the value had been stored to memory and read back as type ty2. Pointer > (or vector of pointers) types may only be converted to other pointer (or > vector of pointers) types with thi...
2016 Jan 15
3
[GlobalISel] A Proposal for global instruction selection
Hi, > "It is always a no-op cast because no bits change with this conversion. The conversion is done as if the value had been stored to memory and read back as type ty2." I think a simple "as-if" in there should be sufficient; "It is always a no-op cast because it acts as if no bits change with this conversion. The conversion is done as if the value had been stored to memory and read back as type ty2." What do you think? James On Thu,...
2016 Jan 13
2
[GlobalISel] A Proposal for global instruction selection
...n > systems where little-Endian mode is relevant, see > http://llvm.org/devmtg/2014-10/Slides/Schmidt-SupportingVectorProgramming.pdf > ). > > Given what's been done, should we update the LangRef. It currently > reads, " The ‘ bitcast ‘ instruction converts value to type ty2 . It > is always a no-op cast because no bits change with this conversion. > The conversion is done as if the value had been stored to memory and > read back as type ty2 ." But this is now, at the least, misleading, > because this process of storing the value as one type and readin...
1997 Sep 05
2
R-beta: help with R simulation
...e,0,4095) ny2<-runif(nnoise,0,4095) #generate signal dots sx1<-runif(nsignal,0,4095) sx2<-sx1 sy1<-runif(nsignal,0,4095) sy2<-sy1+jump sy2<-ifelse(sy2>4095, sy2-4096,sy2) #wrap around #put noise and signal dots together tx1<-c(nx1,sx1) tx2<-c(nx2,sx2) ty1<-c(ny1,sy1) ty2<-c(ny2,sy2) #compute distance to nearest neighbour (x and y) in frame 2 #for each dot in frame 1 for(i in 1:ntotal) { rbest<-2*(4096^2) for(j in 1:ntotal) { xd<-tx2[i]-tx1[j] yd<-ty2[i]-ty1[j] rr<-xd^2 + yd^2 if(rr<rbest) { rbest<-rr x.temp<-xd y.t...
2012 Sep 13
0
[LLVMdev] Proposal: New IR instruction for casting between address spaces
...Add the following documentation: >>>>>>> 'addrspacecast .. to' Instruction >>>>>>> >>>>>>> Syntax: >>>>>>> >>>>>>> <result> = addrspacecast <ty> <value> to <ty2> ; >>>> yields >>>>>> ty2 >>>>>>> Overview: >>>>>>> >>>>>>> The ' addrspacecast ' instruction converts value to type ty2 >>>> without >>>>>> changing an...
2004 Aug 15
3
Stacking Vectors/Dataframes
...me: aX1 bX1 cX1 ... zX1 aX2 bX2 cX2 ... zX2 ... ... ... ... ... aX99 bX99 cX99 ... zX99 y.frame: aY1 bY1 cY1 ... zY1 aY2 bY2 cY2 ... zY2 ... ... ... ... ... aY99 bY99 cY99 ... zY99 new.frame: aX1 bX1 cX1 ... zX1 aY1 bY1 cY1 ... zY1 aX2 bX2 cX2 ... zX2 aY2 bY2 cY2 ... tY2 ... ... ... ... ... aX99 bX99 cX99 ... tX99 aY99 bY99 cY99 ... tY99 I have tried to use a for loop (simply assigning and also with rbind) to do this but am having difficulty correctly assigning the destination in the new dataframe. Can anyone offer a quick and easy way of doing this (or even a...
2007 Nov 15
2
[LLVMdev] BasicAliasAnalysis and out-of-bound GEP indices
...t this code (BasicAA results are in comments). > > --- > > target datalayout = > > "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32- > > f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" > > > > %ty1 = type [2 x [2 x i8]] > > %ty2 = type [2 x {i8, [2 x i8]}] > > > > @G = external global %ty1 > > @H = external global %ty2 > > > > ; alias(%a, %b, 1, 1) returns NoAlias, > > ; although they point to the same memory cell > > define void @fun1() { > > entry: > > %a = get...