OSDN Git Service

PseudoSourceValue: Transform the mips subclass to target independent subclasses
authorAlex Lorenz <arphaman@gmail.com>
Tue, 11 Aug 2015 23:23:17 +0000 (23:23 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 11 Aug 2015 23:23:17 +0000 (23:23 +0000)
commitc1661a35066082c361c914ec2e8a1439cf79a670
tree5ad9dab12d75a4911d747cbd2c902eb9475574bd
parentde0129ac0821e693b08df7269f956f5418b2b5f7
PseudoSourceValue: Transform the mips subclass to target independent subclasses

This commit transforms the mips-specific 'MipsCallEntry' subclass of the
'PseudoSourceValue' class into two, target-independent subclasses named
'GlobalValuePseudoSourceValue' and 'ExternalSymbolPseudoSourceValue'.

This change makes it easier to serialize the pseudo source values by removing
target-specific pseudo source values.

Reviewers: Akira Hatanaka

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244698 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/PseudoSourceValue.h
lib/CodeGen/PseudoSourceValue.cpp
lib/Target/Mips/MipsMachineFunction.cpp
lib/Target/Mips/MipsMachineFunction.h