Displaying 3 results from an estimated 3 matches for "elembytes".
2011 Nov 14
1
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...///
> /// @param Inst The instruction accessing the memory.
> --- ./include/polly/TempScopInfo.h 2011-11-13 02:37:59.000000000 +0100
> +++ ../llvm2/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...
2011 Nov 14
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...tion accessing the memory.
>> --- ./include/polly/TempScopInfo.h 2011-11-13 02:37:59.000000000
>> +0100
>> +++ ../llvm2/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)...
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