[PATCH] D78167: [llvm][StringExtras] Merge StringExtras from MLIR into LLVM

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 16:52:39 PDT 2020


rriddle created this revision.
rriddle added a reviewer: lattner.
Herald added subscribers: llvm-commits, frgossen, grosul1, bader, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, mehdi_amini, dexonsmith, hiraditya, mgorny.
Herald added a reviewer: mravishankar.
Herald added a reviewer: antiagainst.
Herald added a project: LLVM.

This revision adds two utilities currently present in MLIR to LLVM StringExtras:

- convertToSnakeFromCamelCase

Convert a string from a camel case naming scheme, to a snake case scheme

- convertToCamelFromSnakeCase

Convert a string from a snake case naming scheme, to a camel case scheme


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78167

Files:
  llvm/include/llvm/ADT/StringExtras.h
  llvm/lib/Support/StringExtras.cpp
  llvm/unittests/ADT/StringExtrasTest.cpp
  mlir/include/mlir/Support/StringExtras.h
  mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
  mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
  mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
  mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
  mlir/tools/mlir-tblgen/DialectGen.cpp
  mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
  mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
  mlir/tools/mlir-vulkan-runner/VulkanRuntime.h
  mlir/unittests/IR/CMakeLists.txt
  mlir/unittests/IR/StringExtrasTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78167.257555.patch
Type: text/x-patch
Size: 20064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200414/55d1dc98/attachment.bin>


More information about the llvm-commits mailing list