llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc
Joe Loser 5e96cea1db [llvm] Use std::size instead of llvm::array_lengthof
LLVM contains a helpful function for getting the size of a C-style
array: `llvm::array_lengthof`. This is useful prior to C++17, but not as
helpful for C++17 or later: `std::size` already has support for C-style
arrays.

Change call sites to use `std::size` instead.

Differential Revision: https://reviews.llvm.org/D133429
2022-09-08 09:01:53 -06:00
..
CMakeLists.txt
HexagonAsmBackend.cpp [Target] Qualify auto in range-based for loops (NFC) 2022-08-28 17:35:09 -07:00
HexagonBaseInfo.h
HexagonELFObjectWriter.cpp
HexagonFixupKinds.h
HexagonInstPrinter.cpp
HexagonInstPrinter.h
HexagonMCAsmInfo.cpp [Hexagon] Enable IAS in the Hexagon backend 2022-06-03 18:15:12 -04:00
HexagonMCAsmInfo.h
HexagonMCChecker.cpp [llvm] Remove unneeded cl::ZeroOrMore for cl::opt options. NFC 2022-06-03 21:59:05 -07:00
HexagonMCChecker.h [Hexagon] Reject accumulating on vd.tmp 2022-01-07 11:13:19 -08:00
HexagonMCCodeEmitter.cpp [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
HexagonMCCodeEmitter.h [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
HexagonMCCompound.cpp [Hexagon] Some compound opportunities missed in presence of branches 2022-01-06 14:16:23 -08:00
HexagonMCDuplexInfo.cpp [Hexagon] Duplex error: wrong branch hint 2022-01-07 12:04:01 -08:00
HexagonMCELFStreamer.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
HexagonMCELFStreamer.h
HexagonMCExpr.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
HexagonMCExpr.h
HexagonMCInstrInfo.cpp [Hexagon] Extract condition into function, NFC 2022-01-07 12:35:12 -08:00
HexagonMCInstrInfo.h [llvm] Remove uses of deprecated `std::iterator` 2022-08-06 14:07:37 +02:00
HexagonMCShuffler.cpp [Hexagon] s/Fatal/ReportErrors/ 2022-01-07 08:27:34 -08:00
HexagonMCShuffler.h [Hexagon] s/Fatal/ReportErrors/ 2022-01-07 08:27:34 -08:00
HexagonMCTargetDesc.cpp [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:24:15 -07:00
HexagonMCTargetDesc.h [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
HexagonShuffler.cpp [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:24:15 -07:00
HexagonShuffler.h [Hexagon] Show slot resources for errors 2022-01-07 08:27:33 -08:00