diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-07-01 05:47:49 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-07-01 05:47:49 +0000 |
| commit | 4e78213ae4bc4e40e2bd4d4b60e7df8734fa2cc7 (patch) | |
| tree | 65ca269b729439d4d476a3534c73c635ae312b4d /llvm/lib/Transforms | |
| parent | 84199deb173515aac7feaee2b036c8f80925d756 (diff) | |
| download | bcm5719-llvm-4e78213ae4bc4e40e2bd4d4b60e7df8734fa2cc7.tar.gz bcm5719-llvm-4e78213ae4bc4e40e2bd4d4b60e7df8734fa2cc7.zip | |
[X86] Move the memory unfolding table creation into its own class and make it a ManagedStatic.
Also move the static folding tables, their search functions and the new class into new cpp/h files.
The unfolding table is effectively static data. It's just a different ordering and a subset of the static folding tables.
By putting it in a separate ManagedStatic we ensure we only have one copy instead of one per X86InstrInfo object. This way also makes it only get initialized when really needed.
llvm-svn: 336056
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

