Displaying 2 results from an estimated 2 matches for "getlargearrayminwidth".
2019 May 05
2
How to get CLang array alloca alignments to be smaller than 16 bytes?
> Are you looking in Clang's source, and that from the same 7.0 version?
Yes, I am, and it’s the same version (7.0.1).
“LargeArrayMinWidth” is only on the following files:
TargetInfo.cpp
TargetInfo.h
So I still think there’s something else that makes the difference on the x86 target.
Anyway, I will now investigate other targets as my temporary frontend. It is right that other targets
2019 May 05
2
How to get CLang array alloca alignments to be smaller than 16 bytes?
....0.0/cfe-7.0.0.src.tar.xz), and:
>
> $ tar xvf Downloads/cfe-7.0.0.src.tar.xz
> [...]
> $ cd cfe-7.0.0.src/
> $ grep -r LargeArrayMinWidth .
> ./include/clang/Basic/TargetInfo.h: unsigned char LargeArrayMinWidth,
> LargeArrayAlign;
> ./include/clang/Basic/TargetInfo.h: // getLargeArrayMinWidth/Align -
> Return the minimum array size that is
> ./include/clang/Basic/TargetInfo.h: unsigned getLargeArrayMinWidth()
> const { return LargeArrayMinWidth; }
> ./lib/Basic/TargetInfo.cpp: LargeArrayMinWidth = 0;
> ./lib/Basic/Targets/Hexagon.h: LargeArrayMinWidth = 64;
> ./li...