diff options
author | Jorge Gorbe Moya <jgorbe@google.com> | 2024-09-17 15:40:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 15:40:24 -0700 |
commit | 3aecf41c2b384ab65a327db91632ff0c148df721 (patch) | |
tree | 3a46aafcdda488edef8f194191c9789f8a75b66e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 790f2eb16a279f4cb4b57397fcafd5cadb49d6b7 (diff) | |
download | llvm-3aecf41c2b384ab65a327db91632ff0c148df721.zip llvm-3aecf41c2b384ab65a327db91632ff0c148df721.tar.gz llvm-3aecf41c2b384ab65a327db91632ff0c148df721.tar.bz2 |
[SandboxVec] Add barebones Region class. (#108899)
A region identifies a set of vector instructions generated by
vectorization passes. The vectorizer can then run a series of
RegionPasses on the region, evaluate the cost, and commit/reject the
transforms on a region-by-region basis, instead of an entire basic
block.
This is heavily based ov @vporpo's prototype. In particular, the doc
comment for the Region class is all his. The rest of this commit is
mostly boilerplate around a SetVector: getters, iterators, and some
debug helpers.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions