Displaying 17 results from an estimated 17 matches for "ty1".
Did you mean:
ts1
2007 Nov 13
2
[LLVMdev] BasicAliasAnalysis and out-of-bound GEP indices
...-of-bound indexing can
bring 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 = bitca...
2007 Nov 13
0
[LLVMdev] BasicAliasAnalysis and out-of-bound GEP indices
...esult (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 %t...
2009 Feb 11
2
Question about apply()
....5, 447, 446.8, 448.5, 447.8, 449.2, 449, 449,
453.7, 454.4, 453.4, 453.8, 452.2, 450.7, 450.6, 451.4, 447.5,
18.34, 18.29, 17.65, 17.52, 16.96, 17.41, 18.51, 19.02, 19.43,
20.76, 20.76, 21.59, 22.28, 22.4, 22.63, 22.26, 22.71, 22.27,
21.75, 21.65), .Dim = c(20L, 4L), .Dimnames = list(NULL, c("TY1.lev",
"SP1.lev", "GC1.lev", "CL1.lev")), index = structure(c(10959,
10960, 10961, 10962, 10963, 10966, 10967, 10968, 10969, 10970,
10973, 10974, 10975, 10976, 10977, 10980, 10981, 10982, 10983,
10984), class = "Date"), class = "zoo")
What I wa...
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
2007 Nov 15
2
[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() {
>...
1997 Sep 05
2
R-beta: help with R simulation
...ny1<-runif(nnoise,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...
2016 Oct 16
2
[PATCH] exa: add GM10x acceleration support
...USH_DATA (push, (pNv->scratch->offset + PVP_DATA));
+ BEGIN_1IC0(push, NVC0_3D(CB_POS), 3 * (4 + 2 + 2) + 1);
+ PUSH_DATA (push, 0x80);
+
+ PUSH_DATAf(push, sx1);
+ PUSH_DATAf(push, sy1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 1);
+ PUSH_DATAf(push, tx1);
+ PUSH_DATAf(push, ty1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 0);
+
+ PUSH_DATAf(push, sx2+(sx2-sx1));
+ PUSH_DATAf(push, sy1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 1);
+ PUSH_DATAf(push, tx2+(tx2-tx1));
+ PUSH_DATAf(push, ty1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 0);
+
+ PUSH_DATAf(...
2016 Oct 27
0
[PATCH v2 1/7] exa: add GM10x acceleration support
...USH_DATA (push, (pNv->scratch->offset + PVP_DATA));
+ BEGIN_1IC0(push, NVC0_3D(CB_POS), 3 * (4 + 2 + 2) + 1);
+ PUSH_DATA (push, 0x80);
+
+ PUSH_DATAf(push, sx1);
+ PUSH_DATAf(push, sy1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 1);
+ PUSH_DATAf(push, tx1);
+ PUSH_DATAf(push, ty1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 0);
+
+ PUSH_DATAf(push, sx2+(sx2-sx1));
+ PUSH_DATAf(push, sy1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 1);
+ PUSH_DATAf(push, tx2+(tx2-tx1));
+ PUSH_DATAf(push, ty1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 0);
+
+ PUSH_DATAf(...
2016 Oct 17
0
[PATCH] exa: add GM10x acceleration support
...PVP_DATA));
> + BEGIN_1IC0(push, NVC0_3D(CB_POS), 3 * (4 + 2 + 2) + 1);
> + PUSH_DATA (push, 0x80);
> +
> + PUSH_DATAf(push, sx1);
> + PUSH_DATAf(push, sy1);
> + PUSH_DATAf(push, 0);
> + PUSH_DATAf(push, 1);
> + PUSH_DATAf(push, tx1);
> + PUSH_DATAf(push, ty1);
> + PUSH_DATAf(push, 0);
> + PUSH_DATAf(push, 0);
> +
> + PUSH_DATAf(push, sx2+(sx2-sx1));
> + PUSH_DATAf(push, sy1);
> + PUSH_DATAf(push, 0);
> + PUSH_DATAf(push, 1);
> + PUSH_DATAf(push, tx2+(tx2-tx1));
> + PUSH_DATAf(push, ty1);
> + PUSH_DATAf(pu...
2014 Feb 27
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Nick,
I tried to rework changes as you requested. One of patches (0004 with
extra assertions) has been removed.
> + bool isEquivalentType(Type *Ty1, Type *Ty2) const {
> + return cmpType(Ty1, Ty2) == 0;
> + }
>
> Why do we still need isEquivalentType? Can we nuke this?
Yup. After applying all the patches isEquivalentType will be totally
replaced with cmpType. All isEqXXXX and friends will be removed in 0011
(old 0012). No...
2014 Jan 22
2
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
On 2014 Jan 22, at 07:35, Stepan Dyatkovskiy <stpworld at narod.ru> wrote:
> Hi Raul and Duncan,
>
> Duncan,
> Thank you for review. I hope to present fixed patch tomorrow.
>
> First, I would like to show few performance results:
>
> command: "time opt -mergefunc <test>"
>
> File: tramp3d-v4.ll, 12963 functions
> Current
2014 Mar 13
2
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...an Dyatkovskiy <stpworld at narod.ru
> <mailto:stpworld at narod.ru>> wrote:
>
> Hi Nick,
>
> I tried to rework changes as you requested. One of patches (0004
> with extra assertions) has been removed.
>
>
> > + bool isEquivalentType(Type *Ty1, Type *Ty2) const {
> > + return cmpType(Ty1, Ty2) == 0;
> > + }
> >
> > Why do we still need isEquivalentType? Can we nuke this?
> Yup. After applying all the patches isEquivalentType will be totally
> replaced with cmpType. All isEqXXX...
2016 Oct 27
11
[PATCH v2 0/7] Add Maxwell support
I believe I've addressed all the feedback from the first time around, and
also made fixes necessary for GM20x based on testing results. I believe
now it should actually work for all GM10x and GM20x. Further, GP10x should
be very easy to add, but without someone to actually test I didn't want to
claim support for it.
Ilia Mirkin (7):
exa: add GM10x acceleration support
hwdefs: update
2012 Nov 06
0
[LLVMdev] Introducing a new built-in type to tblgen.
...ee, and it is the first time I'm writing to the llvm-dev community.
The purpose of that mail is a 'recon-mission' on a small tblgen feature I think might prove itself useful.
I would like to add a built-in types 'pair'.
Pair is a compound type with two template argument: pair<ty1, ty2>;
The idea is to add a literal for that type (maybe something like (x,y), or x->y...).
As done with other built-in types, we could then add the method: Record::getValueAsPair(string).
Which will return a new class, PairInit.
I think feature will enable tblgen backends that need to build...
2014 Feb 03
4
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi all,
Previous patch has been split onto series of small changes.
On each stage (after each patch) MergeFunctions pass is compilable and
stable.
Please find patches in attachment for review.
To apply all patches at once, use "apply-patches.sh" script as follows:
0. Place "apply-patches.sh" in same directory with patches.
1. cd <llvm-sources-dir>
2. "bash
2010 Jul 21
1
[LLVMdev] Union type, is it really used or necessary?
On Tue, Jul 20, 2010 at 2:46 PM, Talin <viridia at gmail.com> wrote:
> On Tue, Jul 20, 2010 at 8:34 AM, Chris Lattner <clattner at apple.com> wrote:
>
>>
>> On Jul 20, 2010, at 1:36 AM, Anton Korobeynikov wrote:
>>
>> >> used to make the code manipulating the union type "well typed". This
>> >> approach seems work very well, is
2016 Nov 04
2
[RFC] Supporting ARM's SVE in LLVM
...rface:
```cpp
Value *CreatePropFF(Value* P1, Value *P2, const Twine &Name = "");
```
### Fixed-Width Behaviour:
Same as scalable.
### SelectionDAG:
See [*ISD::PROPAGATE\_FIRST\_ZERO*](#isdpropagatefirstzero).
## *shufflevector*
### Syntax:
`<result> = shufflevector <ty1> <v1>, <ty1> <v2>, <ty2> <mask>`
### Overview:
Not a new instruction but *shufflevector* is extended to accept non-constant
masks. For code that expects the original restriction
`ShuffleVectorInst::getMaskValue` has changed to guard against unsafe uses.
```cpp...