diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2023-03-09 01:20:57 +0900 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2023-04-25 08:53:18 +0900 |
commit | 45b820d5a11a673124d78efd5907f0da8ee3bf41 (patch) | |
tree | 7880846e858b4eb5ce6931f592c147ae1deded20 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 3c853c845ad6ff1591f60a909fa3c7d293c27b49 (diff) | |
download | llvm-45b820d5a11a673124d78efd5907f0da8ee3bf41.zip llvm-45b820d5a11a673124d78efd5907f0da8ee3bf41.tar.gz llvm-45b820d5a11a673124d78efd5907f0da8ee3bf41.tar.bz2 |
ValueTypes.td: Reorganize ValueType
Introduce VTAny as `isOverloaded = true`. ValueType.isOverloaded` is used for;
- Define `iPTRAny`, `vAny`, `fAny`, and `Any`
- Reflect `ValueType.isOverloaded` to `LLVMType.isAny` in `Intrinsics.td`
- (Planninig) Reflect the condition to `MVT::isOverloaded()`
Introduce some fields in `ValueType`
- LLVMName
- isInteger
- isFP
- isVector
- isScalable
- nElem
- ElementType
Introduce `VTVec<int nelem, ValueType elt, int value>` to represent
the element type. VTVec.Size may be calculated by `!mul(nelem, elt.Size)`.
Introduce `list<ValueType> ValueTypes` as convention for lookup.
Differential Revision: https://reviews.llvm.org/D146179
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions