diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-26 05:30:30 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-26 05:30:30 +0000 |
| commit | 8a6c1eaabba2f64fd08beeeeae2c88caa34b88ec (patch) | |
| tree | a22c31126afe76639439582caa0902664e09fcd1 /llvm/lib/CodeGen/SelectionDAG | |
| parent | 0b5f1ddf0a9bee17355ab3aa04d5e7cf13a16527 (diff) | |
| download | bcm5719-llvm-8a6c1eaabba2f64fd08beeeeae2c88caa34b88ec.tar.gz bcm5719-llvm-8a6c1eaabba2f64fd08beeeeae2c88caa34b88ec.zip | |
stub out a new target hook, need some refactoring before I can
implement it.
llvm-svn: 94521
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 966c817ad9b..34a31788ed0 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -817,6 +817,17 @@ SDValue TargetLowering::getPICJumpTableRelocBase(SDValue Table, return Table; } +/// getPICJumpTableRelocBaseExpr - This returns the relocation base for the +/// given PIC jumptable, the same as getPICJumpTableRelocBase, but as an +/// MCExpr. +const MCExpr * +TargetLowering::getPICJumpTableRelocBaseExpr(const MachineJumpTableInfo *MJTI, + unsigned JTI, + MCContext &Ctx) const { + assert(0 && "FIXME: IMPLEMENT ME"); +} + + bool TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { // Assume that everything is safe in static mode. |

