aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-03-27 20:23:40 +0000
committerDuncan Sands <baldrick@free.fr>2008-03-27 20:23:40 +0000
commit14ea39cf3c62fad781b8a00cda9e4a15e61520dc (patch)
tree91b26d7e4ab2c4445d696be90eeb50e778d7838a /include/llvm
parent86e1ebf9bbde7408a1d7859ea207981457e11cc2 (diff)
downloadexternal_llvm-14ea39cf3c62fad781b8a00cda9e4a15e61520dc.zip
external_llvm-14ea39cf3c62fad781b8a00cda9e4a15e61520dc.tar.gz
external_llvm-14ea39cf3c62fad781b8a00cda9e4a15e61520dc.tar.bz2
Implement LegalizeTypes support for softfloat LOAD.
In order to handle indexed nodes I had to introduce a new constructor, and since I was there I factorized the code in the various load constructors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index 5434fb6..d0e03d4 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -379,6 +379,11 @@ public:
unsigned Alignment=0);
SDOperand getIndexedLoad(SDOperand OrigLoad, SDOperand Base,
SDOperand Offset, ISD::MemIndexedMode AM);
+ SDOperand getAnyLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType,
+ MVT::ValueType VT, SDOperand Chain,
+ SDOperand Ptr, SDOperand Offset,
+ const Value *SV, int SVOffset, MVT::ValueType EVT,
+ bool isVolatile=false, unsigned Alignment=0);
/// getStore - Helper function to build ISD::STORE nodes.
///