[PATCH] Remove the global pseudo source values manager variable and convert the MipsCallEntry subclass into target neutral subclasses.

Alex L via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 15:11:59 PDT 2015


Hi,

There are 5 patches attached below:

- The first one runs clang-format on PseudoSourceValue.cpp and
PseudoSourceValue.h

- The second one fixes some documentation comments and variable names in
   PseudoSourceValue.cpp and PseudoSourceValue.h.

- The third patch introduces a new PSVKind enum in PseudoSourceValue class,
which is used
   to distinguish between the various types of pseudo source values.

-  The fourth patch removes the global manager variable which is
responsible for storing
   and allocating pseudo source values and instead it uses a new manager
class which
   is owned by the machine function.

-  The fifth patch converts the MipsCallEntry PseudoSourceValue subclass
into two
    target neutral PseudoSourceValue subclasses:
GlobalValuePseudoSourceValue
    and ExternalSymbolPseudoSourceValue.

These changes will make it easier to serialize pseudo source values by
getting rid
of all the target specific pseudo source value subclasses in tree.

Cheers,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/42ab5867/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-PseudoSourceValue-move-the-global-manager-object-to-.patch
Type: application/octet-stream
Size: 134207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/42ab5867/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-PseudoSourceValue-Make-MipsCallEntry-subclass-target.patch
Type: application/octet-stream
Size: 10862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/42ab5867/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Run-clang-format-on-PseudoSourceValue-.cpp-.h.patch
Type: application/octet-stream
Size: 10545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/42ab5867/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-PseudoSourceValue-Fix-documentation-and-variable-nam.patch
Type: application/octet-stream
Size: 4649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/42ab5867/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-PseudoSourceValue-introduce-kind-enum-to-distinguish.patch
Type: application/octet-stream
Size: 6519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/42ab5867/attachment-0009.obj>


More information about the llvm-commits mailing list