llvm-project/llvm/lib/MCA
Kazu Hirata f3cfec9c9e [MCA] Fix a warning
This patch fixes the warning

  InstructionTables.cpp:27:56: error: loop variable 'Resource' of type
  'const std::pair<const uint64_t, ResourceUsage> &' (aka 'const
  pair<const unsigned long, llvm::mca::ResourceUsage> &') binds to a
  temporary constructed from type 'const std::pair<unsigned long,
  llvm::mca::ResourceUsage> &' [-Werror,-Wrange-loop-construct]

Note that Resource is declared as:

   SmallVector<std::pair<uint64_t, ResourceUsage>, 4> Resources;

without "const" for uint64_t.
2021-09-20 09:46:38 -07:00
..
HardwareUnits [MCA][RegisterFile] Consistently update the PRF in the presence of multiple writes to the same register. 2021-08-26 19:16:20 +01:00
Stages [MCA] Fix a warning 2021-09-20 09:46:38 -07:00
CMakeLists.txt [MCA] Moved View.h and View.cpp from /tools/llvm-mca/ to /lib/MCA/. 2021-08-25 12:12:47 -07:00
CodeEmitter.cpp [MCA][NFCI] Minor changes to InstrBuilder and Instruction. 2021-05-31 17:05:13 +01:00
Context.cpp [MCA] Use LSU for the in-order pipeline 2021-07-29 14:40:23 +03:00
CustomBehaviour.cpp [MCA] Moved View.h and View.cpp from /tools/llvm-mca/ to /lib/MCA/. 2021-08-25 12:12:47 -07:00
HWEventListener.cpp
InstrBuilder.cpp [APInt] Normalize naming on keep constructors / predicate methods. 2021-09-09 09:50:24 -07:00
Instruction.cpp [MCA] Improved handling of negative read-advance cycles. 2021-03-23 14:47:23 +00:00
Pipeline.cpp Revert "[MCA][NFC] Remove redundant calls to std::move." 2021-08-26 19:53:17 +01:00
Support.cpp
View.cpp [MCA] Moved View.h and View.cpp from /tools/llvm-mca/ to /lib/MCA/. 2021-08-25 12:12:47 -07:00