* Instead of re-inventing the MachineConstantPool emitter that's already given
authorMisha Brukman <brukman+llvm@gmail.com>
Wed, 4 Jun 2003 20:01:13 +0000 (20:01 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Wed, 4 Jun 2003 20:01:13 +0000 (20:01 +0000)
commita2196c1aaef197e51668ba0e46041e9a89037304
treedf465675602e453d6fdf5a885a304b83fa9e3689
parentb067d7c820509c75eae8c68b7f91e9902b487243
* Instead of re-inventing the MachineConstantPool emitter that's already given
  in Emitter.cpp, just convert the Sparc version of the constant pool into
  what's already supported and inter-operate.
* Implemented a first pass at lazy function resolution in the JITResolver. That
  required adding a SparcV9CodeEmitter pointer to simplify generating
  bit-patterns of the instructions.
* SparcV9CodeEmitter now creates and destroys static TheJITResolver, which makes
  sense because the SparcV9CodeEmitter is the only user of TheJITResolver, and
  lives for the entire duration of the JIT (via PassManager which lives in VM).
* Changed all return values in the JITResolver to uint64_t because of the 64-bit
  Sparc architecture.
* Added a new version of getting the value of a GlobalValue in the
  SparcV9CodeEmitter, which now works for already-generated functions (JITted or
  library functions).
* Removed little-used and unused functions, cleaning up the internal view of the
  SparcV9CodeEmitter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6612 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SparcV9/SparcV9CodeEmitter.cpp
lib/Target/SparcV9/SparcV9CodeEmitter.h