search for: iraccess

Displaying 10 results from an estimated 10 matches for "iraccess".

2011 Nov 19
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...AccessFunction = SE->getMinusSCEV(AccessFunction, BasePointer); > + > + if (isAffineExpr(&R, AccessFunction, *SE, BasePointer->getValue())) { > > - AccessFunction = SE->getMinusSCEV(AccessFunction, BasePointer); > - Functions.push_back(std::make_pair(IRAccess(Type, > + Functions.push_back(std::make_pair(IRAccess(Type, > BasePointer->getValue(), > - AccessFunction, Size), > + AccessFun...
2011 Nov 18
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...n't know how this reverted back to this way in the >>> patch for the new version , I'll get it fixed. >> >> Wonderful. Very cool that you realized I added MayWrite exactly for this >> case. >> >>>>> +         Functions.push_back(std::make_pair(IRAccess(Type, >>>>> + >>>>>  BasePointer->getValue(), >>>>> +                                                  AccessFunction, Size, >>>>> false), >>>>> +&Inst)); >>>>> +      } >>>>> +    } >...
2011 Nov 20
2
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...;getMinusSCEV(AccessFunction, BasePointer); >> + >> +      if (isAffineExpr(&R, AccessFunction, *SE, BasePointer->getValue())) >> { >> >> -      AccessFunction = SE->getMinusSCEV(AccessFunction, BasePointer); >> -      Functions.push_back(std::make_pair(IRAccess(Type, >> +        Functions.push_back(std::make_pair(IRAccess(Type, >> >>  BasePointer->getValue(), >> -                                                  AccessFunction, Size), >> +                                                  AccessFunction, Size, >> true...
2011 Nov 14
1
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...vm2/tools/polly/./include/polly/TempScopInfo.h 2011-11-13 02:34:47.000000000 +0100 > @@ -45,12 +45,13 @@ > private: > unsigned ElemBytes; > TypeKind Type; > + bool is_affine; I think IsAffine matches more the LLVM coding conventions. > > public: > explicit IRAccess (TypeKind Type, const Value *BaseAddress, > - const SCEV *Offset, unsigned elemBytes) > + const SCEV *Offset, unsigned elemBytes, bool affine) 'affine' should start with an uppercase letter. Polly itself has some inconsistent naming, but we st...
2011 Nov 14
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...11-11-13 >> 02:34:47.000000000 +0100 >> @@ -45,12 +45,13 @@ >>  private: >>    unsigned ElemBytes; >>    TypeKind Type; >> +  bool is_affine; > > I think IsAffine matches more the LLVM coding conventions. > >> >>  public: >>    explicit IRAccess (TypeKind Type, const Value *BaseAddress, >> -                     const SCEV *Offset, unsigned elemBytes) >> +                     const SCEV *Offset, unsigned elemBytes, bool affine) > > 'affine' should start with an uppercase letter. Polly itself has some > inconsist...
2011 Nov 02
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
Mmm I found out a very strange behavior (to me) of the SCEV analysis of the loop bound of the external loop I posted. When in ScopDetection it gets the SCEV of the external loop bound in the "isValidLoop()" function with: const SCEV *LoopCount = SE->getBackedgeTakenCount(L); It returns a SCEVCouldNotCompute, but if I change the "if" block inside the loop from: if
2011 Nov 14
2
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...old version that was handled > correctly, I don't know how this reverted back to this way in the > patch for the new version , I'll get it fixed. Wonderful. Very cool that you realized I added MayWrite exactly for this case. >>> + Functions.push_back(std::make_pair(IRAccess(Type, >>> + >>> BasePointer->getValue(), >>> + AccessFunction, Size, >>> false), >>> +&Inst)); >>> + } >>> + } >>> } >>> >>> if (Functi...
2011 Nov 15
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...>> correctly, I don't know how this reverted back to this way in the >> patch for the new version , I'll get it fixed. > > Wonderful. Very cool that you realized I added MayWrite exactly for this > case. > >>>> +         Functions.push_back(std::make_pair(IRAccess(Type, >>>> + >>>>  BasePointer->getValue(), >>>> +                                                  AccessFunction, Size, >>>> false), >>>> +&Inst)); >>>> +      } >>>> +    } >>>>    } >>&g...
2011 Nov 21
0
[LLVMdev] How to get ELF section virtual starting address from MCSymbolRefExpr?
...;getMinusSCEV(AccessFunction, BasePointer); >> + >> + ? ? ?if (isAffineExpr(&R, AccessFunction, *SE, BasePointer->getValue())) >> { >> >> - ? ? ?AccessFunction = SE->getMinusSCEV(AccessFunction, BasePointer); >> - ? ? ?Functions.push_back(std::make_pair(IRAccess(Type, >> + ? ? ? ?Functions.push_back(std::make_pair(IRAccess(Type, >> >> ?BasePointer->getValue(), >> - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?AccessFunction, Size), >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?AccessFunction, Size, >> true...
2011 Nov 18
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...verted back to this way in the >>>> patch for the new version , I'll get it fixed. >>> >>> Wonderful. Very cool that you realized I added MayWrite exactly for this >>> case. >>> >>>>>> +         Functions.push_back(std::make_pair(IRAccess(Type, >>>>>> + >>>>>>  BasePointer->getValue(), >>>>>> +                                                  AccessFunction, Size, >>>>>> false), >>>>>> +&Inst)); >>>>>> +      } >>...