diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2020-11-06 07:56:55 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2020-11-06 09:01:19 +0000 |
commit | 5ee9ef85190cff09c4d3718d8683af1900a33348 (patch) | |
tree | 88b486ffc0ff0e876a717a0c330373ea31d66482 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 8d0fdd36a3a3e7d1bb07c34ab61cfe2671d13444 (diff) | |
download | llvm-5ee9ef85190cff09c4d3718d8683af1900a33348.zip llvm-5ee9ef85190cff09c4d3718d8683af1900a33348.tar.gz llvm-5ee9ef85190cff09c4d3718d8683af1900a33348.tar.bz2 |
[TypeSize] Extend UnivariateLinearPolyBase with getWithIncrement/Decrement methods
This patch adds getWithIncrement/getWithDecrement methods to
ElementCount and TypeSize to allow:
TypeSize::getFixed(8).getWithIncrement(8) <=> TypeSize::getFixed(16)
TypeSize::getFixed(16).getWithDecrement(8) <=> TypeSize::getFixed(8)
TypeSize::getScalable(8).getWithIncrement(8) <=> TypeSize::getScalable(16)
TypeSize::getScalable(16).getWithDecrement(8) <=> TypeSize::getScalable(8)
This patch implements parts of the POC in D90342.
Reviewed By: ctetreau, dmgreen
Differential Revision: https://reviews.llvm.org/D90713
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions