search for: basepointer

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

2011 Nov 19
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...t;, > + cl::desc("Allow non affine access functions for arrays"), > + cl::Hidden, cl::init(false)); > + > //===----------------------------------------------------------------------===// > // Statistics. > > @@ -236,7 +241,9 @@ > BasePointer = dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFunction)); > > if (!BasePointer) > + { > INVALID(AffFunc, "No base pointer"); > + } This change is unneeded and unrelated. > > BaseValue = BasePointer->getValue(); > > @@ -245,8 +252,...
2011 Nov 18
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...gt;> 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
..."Allow non affine access functions for arrays"), >> +               cl::Hidden, cl::init(false)); >> + >> >>  //===----------------------------------------------------------------------===// >>  // Statistics. >> >> @@ -236,7 +241,9 @@ >>    BasePointer = >> dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFunction)); >> >>    if (!BasePointer) >> +  { >>      INVALID(AffFunc, "No base pointer"); >> +  } > > This change is unneeded and unrelated. > >> >>    BaseValue = BaseP...
2011 Nov 14
1
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...earlier, I believ this can be replaced by getPointerOperand(). > bool ScopDetection::isValidMemoryAccess(Instruction&Inst, > DetectionContext&Context) const { > Value *Ptr = getPointerOperand(Inst); > @@ -236,8 +254,12 @@ > BasePointer = dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFunction)); > > if (!BasePointer) > - INVALID(AffFunc, "No base pointer"); > - > + { > +// INVALID(AffFunc, "No base pointer"); > + BaseValue = (Value*) GetBaseValue(AccessFunction); &gt...
2011 Nov 14
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...is can be replaced by getPointerOperand(). > >>  bool ScopDetection::isValidMemoryAccess(Instruction&Inst, >>                                          DetectionContext&Context) const { >>    Value *Ptr = getPointerOperand(Inst); >> @@ -236,8 +254,12 @@ >>    BasePointer = >> dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFunction)); >> >>    if (!BasePointer) >> -    INVALID(AffFunc, "No base pointer"); >> - >> +  { >> +//    INVALID(AffFunc, "No base pointer"); >> +    BaseValue = (Value...
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 21
0
[LLVMdev] How to get ELF section virtual starting address from MCSymbolRefExpr?
..."Allow non affine access functions for arrays"), >> + ? ? ? ? ? ? ? cl::Hidden, cl::init(false)); >> + >> >> ?//===----------------------------------------------------------------------===// >> ?// Statistics. >> >> @@ -236,7 +241,9 @@ >> ? ?BasePointer = >> dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFunction)); >> >> ? ?if (!BasePointer) >> + ?{ >> ? ? ?INVALID(AffFunc, "No base pointer"); >> + ?} > > This change is unneeded and unrelated. > >> >> ? ?BaseValue = BaseP...
2011 Nov 14
2
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...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 (Functions.empty()) > > Yeah, there are quite a f...
2016 Aug 03
3
Extracting the names of the variables that creates loop-carried dependencies
Hi, I would like to know if it is possible to extract the source level names of variables that create loop-carried dependencies. For example, for the following code: for (int i = 0; i < A_ROW; i++) { for (int j = 1; j < B_COL; j++) { a_matrix[i][j] = a_matrix[i][j - 1]; } } I get the following AST: #pragma omp parallel for
2011 Nov 15
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...ed 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 (Functions.empty()) >&...
2016 Aug 05
0
Extracting the names of the variables that creates loop-carried dependencies
...inally get the array name, extract the ScopArrayInfo object >> pointer hidden in the user part of the tuple id. >> ScopArrayInfo::getBasePtr() gives you the array's base. For instance, >> it will be an llvm::Argument, but could also be any expression that >> computes the basepointer, eg. doesn't necessarily have a name from the >> source code. >> >> Michael >> >> >> >> 2016-08-03 19:13 GMT+02:00 Miguel Aguilar via llvm-dev >> <llvm-dev at lists.llvm.org>: >>> Hi, >>> >>> I would like to know i...
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...static alloca instructions. We safe the unsafe "base pointer" in the + // prologue into a local variable and restore it in the epilogue. + + // Load the current stack pointer (we'll also use it as a base pointer) + // FIXME: use a dedicated register for it ? + Instruction *BasePointer = IRB.CreateLoad(UnsafeStackPtr, false, + "unsafe_stack_ptr"); + assert(BasePointer->getType() == StackPtrTy); + + for (SmallVectorImpl<ReturnInst*>::iterator It = Returns.begin(), + Ie =...
2011 Nov 18
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...rsion , 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)); >>>>>> +      } >>>>>> +    } >>>>>>    } >>>>&...
2019 Dec 09
4
CentOS website/blog localization support for IT (italian...) language
Hi guys, greetings from Italy. My name is Andrea Flori and I work in an IT company who give Linux support to his customers I am somehow involved with CentOS in the last 3 years (both for private/personal use and work) and I think that time is arrived to give some contribution to the project. In the last 3 years, I am somehow involved with CentOS (both for private/personal use and work) and I