[PATCH] D78857: [Support] Generalize operations on ValueT for LEB128 encoding/decoding

Nicolas Guillemot via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 24 23:25:35 PDT 2020


nlguillemot created this revision.
nlguillemot added reviewers: bogner, qcolombet, fhahn.
nlguillemot added a parent revision: D78797: [Support] Refactor LEB128 decoding into an output iterator.
nlguillemot added a child revision: D78858: [Support] Add APInt support for LEB128 encoding/decoding.

Explicitly defines the non-trivial operations required to be supported
for the ValueT used in the LEB128 encoding/decoding iterators. The plan
is to use this to support using LEB128 encoding/decoding with APInt.
This patch implements the interface for integral types, and a subsequent
patch will implement the interface using APInt.


https://reviews.llvm.org/D78857

Files:
  llvm/include/llvm/Support/LEB128.h
  llvm/include/llvm/Support/LEB128CodecInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78857.260069.patch
Type: text/x-patch
Size: 8123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200425/6c479071/attachment.bin>


More information about the llvm-commits mailing list