search for: arrayidx22

Displaying 14 results from an estimated 14 matches for "arrayidx22".

Did you mean: arrayidx2
2014 Sep 18
2
[LLVMdev] [Vectorization] Mis match in code generated
...%9 > %arrayidx18 = getelementptr inbounds i32* %a, i32 10 %10 = load i32* > %arrayidx18, align 4, !tbaa !1 %add19 = add nsw i32 %add17, %10 > %arrayidx20 = getelementptr inbounds i32* %a, i32 11 %11 = load i32* > %arrayidx20, align 4, !tbaa !1 %add21 = add nsw i32 %add19, %11 > %arrayidx22 = getelementptr inbounds i32* %a, i32 12 %12 = load i32* > %arrayidx22, align 4, !tbaa !1 %add23 = add nsw i32 %add21, %12 > %arrayidx24 = getelementptr inbounds i32* %a, i32 13 %13 = load i32* > %arrayidx24, align 4, !tbaa !1 %add25 = add nsw i32 %add23, %13 > %arrayidx26 = getelem...
2014 Sep 19
3
[LLVMdev] [Vectorization] Mis match in code generated
...nsw i32 %add15, %9 %arrayidx18 = getelementptr inbounds i32* %a, i32 10 %10 = load i32* %arrayidx18, align 4, !tbaa !1 %add19 = add nsw i32 %add17, %10 %arrayidx20 = getelementptr inbounds i32* %a, i32 11 %11 = load i32* %arrayidx20, align 4, !tbaa !1 %add21 = add nsw i32 %add19, %11 %arrayidx22 = getelementptr inbounds i32* %a, i32 12 %12 = load i32* %arrayidx22, align 4, !tbaa !1 %add23 = add nsw i32 %add21, %12 %arrayidx24 = getelementptr inbounds i32* %a, i32 13 %13 = load i32* %arrayidx24, align 4, !tbaa !1 %add25 = add nsw i32 %add23, %13 %arrayidx26 = getelementptr inbou...
2014 Sep 18
2
[LLVMdev] [Vectorization] Mis match in code generated
...d17 = add nsw i32 %add15, %9 %arrayidx18 = getelementptr inbounds i32* %a, i32 10 %10 = load i32* %arrayidx18, align 4, !tbaa !1 %add19 = add nsw i32 %add17, %10 %arrayidx20 = getelementptr inbounds i32* %a, i32 11 %11 = load i32* %arrayidx20, align 4, !tbaa !1 %add21 = add nsw i32 %add19, %11 %arrayidx22 = getelementptr inbounds i32* %a, i32 12 %12 = load i32* %arrayidx22, align 4, !tbaa !1 %add23 = add nsw i32 %add21, %12 %arrayidx24 = getelementptr inbounds i32* %a, i32 13 %13 = load i32* %arrayidx24, align 4, !tbaa !1 %add25 = add nsw i32 %add23, %13 %arrayidx26 = getelementptr inbounds i32*...
2014 Nov 10
2
[LLVMdev] [Vectorization] Mis match in code generated
...%10 = load i32* %arrayidx18, align 4, !tbaa !1 > > > %add19 = add nsw i32 %add17, %10 > > > %arrayidx20 = getelementptr inbounds i32* %a, i32 11 > > > %11 = load i32* %arrayidx20, align 4, !tbaa !1 > > > %add21 = add nsw i32 %add19, %11 > > > %arrayidx22 = getelementptr inbounds i32* %a, i32 12 > > > %12 = load i32* %arrayidx22, align 4, !tbaa !1 > > > %add23 = add nsw i32 %add21, %12 > > > %arrayidx24 = getelementptr inbounds i32* %a, i32 13 > > > %13 = load i32* %arrayidx24, align 4, !tbaa !1 > >...
2010 Apr 23
1
[LLVMdev] How to get the Operand type
Hello How to get the type of an Operand ? so for example I want to get the type of the operand(0) in this istruction %arrayidx22 = getelementptr [1000 x double]* %C, i64 0, i64 %indvar67 ; <double*> [#uses=1] I tried (II->getOperand(0))->getType() ) but this give me an adress (I think) (some think like 0x1253.. ) also I tried to get the type of the instruction with switch (II->getType()->getTypeID())...
2016 Apr 08
2
LIBCLC with LLVM 3.9 Trunk
It's not clear what is actually wrong from your original message, I think you need to give some more information as to what you are doing: Example source, what target GPU, compiler error messages or other evidence of "it's wrong" (llvm IR, disassembly, etc) ... -- Mats On 8 April 2016 at 09:55, Liu Xin via llvm-dev <llvm-dev at lists.llvm.org> wrote: > I built it
2015 Jan 15
3
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
On Thu, Jan 15, 2015 at 1:26 PM, Nick Lewycky <nlewycky at google.com> wrote: > On 15 January 2015 at 13:10, Daniel Berlin <dberlin at dberlin.org> wrote: > >> Yes. >> I've attached an updated patch that does the following: >> >> 1. Fixes the partialalias of globals/arguments >> 2. Enables partialalias for cases where nothing has been unified to
2015 Jan 26
0
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
Inline George > On Jan 26, 2015, at 1:05 PM, Daniel Berlin <dberlin at dberlin.org> wrote: > > George, given that, can you just build constexpr handling (it's not as easy as you think) as a separate funciton and have it use it in the right places? Will do. :) > FWIW, my current list of CFLAA issues is: > > 1. Unknown values (results from ptrtoint, incoming
2015 Jan 26
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
George, given that, can you just build constexpr handling (it's not as easy as you think) as a separate funciton and have it use it in the right places? FWIW, my current list of CFLAA issues is: 1. Unknown values (results from ptrtoint, incoming pointers, etc) are not treated as unknown. These should be done through graph edge (so that they can be one way, otherwise, you will unify
2015 Jan 14
4
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
Inline - George > On Jan 14, 2015, at 10:49 AM, Daniel Berlin <dberlin at dberlin.org> wrote: > > > >> On Tue, Jan 13, 2015 at 11:26 PM, Nick Lewycky <nlewycky at google.com> wrote: >>> On 13 January 2015 at 22:11, Daniel Berlin <dberlin at dberlin.org> wrote: >>> This is caused by CFLAA returning PartialAlias for a query that BasicAA can
2015 Jan 30
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...ret i8 %loaded } + +; Incoming pointer arguments should not be PartialAlias because we do not know their initial state +; even if they are nocapture +; CHECK: MayAlias: double* %A, double* %Index +define void @testr2(double* nocapture readonly %A, double* nocapture readonly %Index) { +entry: + %arrayidx22 = getelementptr inbounds double* %Index, i64 2 + %0 = load double* %arrayidx22 + %arrayidx25 = getelementptr inbounds double* %A, i64 2 + %1 = load double* %arrayidx25 + %mul26 = fmul double %0, %1 + ret void +} diff --git a/test/Analysis/CFLAliasAnalysis/stratified-attrs-indexing.ll b/test/An...
2015 Jan 15
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...lusone, i8* %base store i8 0, i8* %sel @@ -37,3 +39,15 @@ entry: %loaded = load i8* %sel ret i8 %loaded } + +; Arguments should not be partial alias +; CHECK: MayAlias: double* %A, double* %Index +define void @testr2(double* nocapture readonly %A, double* nocapture readonly %Index) { + %arrayidx22 = getelementptr inbounds double* %Index, i64 2 + %1 = load double* %arrayidx22 + %arrayidx25 = getelementptr inbounds double* %A, i64 2 + %2 = load double* %arrayidx25 + %mul26 = fmul double %1, %2 + ret void +} +
2015 Jan 14
3
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
Oh, sorry, i didn't rebase it when i changed the fix, you would have had to apply the first on top of the second. Here is one against HEAD On Wed, Jan 14, 2015 at 12:32 PM, Ana Pazos <apazos at codeaurora.org> wrote: > Daniel, your patch does not apply cleanly. Are you on the tip? > > The code I see there is no line if (QueryResult == MayAlias|| QueryResult == PartialAlias)
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...; preds = %if.then11 %arrayidx17 = getelementptr inbounds i16* %pe, i32 2 %2 = load i16* %arrayidx17, align 2, !tbaa !5 %cmp19 = icmp eq i16 %2, 0 br i1 %cmp19, label %lor.lhs.false21, label %if.then31 lor.lhs.false21: ; preds = %lor.lhs.false %arrayidx22 = getelementptr inbounds i16* %pe, i32 1 %3 = load i16* %arrayidx22, align 2, !tbaa !5 %cmp24 = icmp eq i16 %3, 0 br i1 %cmp24, label %lor.lhs.false26, label %if.then31 lor.lhs.false26: ; preds = %lor.lhs.false21 %4 = load i16* %pe, align 2, !tbaa !5 %cmp...