diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-09-21 23:58:31 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-09-21 23:58:31 +0000 |
commit | b430cecc0eeaa3f916b396b9f5fdee04cf306658 (patch) | |
tree | 7cedd21390c484f459e3d614ad4c1cd7fce8cf20 /lib/Target/Mips/MipsISelLowering.h | |
parent | 6fad5e742d0213bdd68daa7d376387bcec80b5fd (diff) | |
download | llvm-b430cecc0eeaa3f916b396b9f5fdee04cf306658.tar.gz llvm-b430cecc0eeaa3f916b396b9f5fdee04cf306658.tar.bz2 llvm-b430cecc0eeaa3f916b396b9f5fdee04cf306658.tar.xz |
Add MIPS DSP register classes. Set actions of DSP vector operations and override
TargetLowering's callback functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsISelLowering.h')
-rw-r--r-- | lib/Target/Mips/MipsISelLowering.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.h b/lib/Target/Mips/MipsISelLowering.h index c2dadd12d4..a19b4fbbbd 100644 --- a/lib/Target/Mips/MipsISelLowering.h +++ b/lib/Target/Mips/MipsISelLowering.h @@ -146,9 +146,19 @@ namespace llvm { virtual bool allowsUnalignedMemoryAccesses (EVT VT) const; + virtual void LowerOperationWrapper(SDNode *N, + SmallVectorImpl<SDValue> &Results, + SelectionDAG &DAG) const; + /// LowerOperation - Provide custom lowering hooks for some operations. virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; + /// ReplaceNodeResults - Replace the results of node with an illegal result + /// type with new values built out of custom code. + /// + virtual void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue>&Results, + SelectionDAG &DAG) const; + /// getTargetNodeName - This method returns the name of a target specific // DAG node. virtual const char *getTargetNodeName(unsigned Opcode) const; |