diff options
author | Duncan Sands <baldrick@free.fr> | 2008-06-15 20:00:14 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-06-15 20:00:14 +0000 |
commit | 7d0d8460646d1a06ff561775d40123a4cf65bf4d (patch) | |
tree | 5808f02d1bfc436c66c36f4397f4c28869c9a94c /lib/CodeGen/SelectionDAG/LegalizeTypes.h | |
parent | 8a08769bad43a22fae2845bb0ba0fd1266cd55c8 (diff) |
LegalizeTypes support for INSERT_VECTOR_ELT with
a non-constant index.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.h')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeTypes.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.h b/lib/CodeGen/SelectionDAG/LegalizeTypes.h index 09ccfe9938..ba8f106935 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeTypes.h +++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.h @@ -169,14 +169,18 @@ private: void ExpungeNode(SDOperand N); // Common routines. - SDOperand BitConvertToInteger(SDOperand Op); SDOperand CreateStackStoreLoad(SDOperand Op, MVT DestVT); + SDOperand MakeLibCall(RTLIB::Libcall LC, MVT RetVT, + const SDOperand *Ops, unsigned NumOps, bool isSigned); + + SDOperand BitConvertToInteger(SDOperand Op); SDOperand JoinIntegers(SDOperand Lo, SDOperand Hi); void SplitInteger(SDOperand Op, SDOperand &Lo, SDOperand &Hi); void SplitInteger(SDOperand Op, MVT LoVT, MVT HiVT, SDOperand &Lo, SDOperand &Hi); - SDOperand MakeLibCall(RTLIB::Libcall LC, MVT RetVT, - const SDOperand *Ops, unsigned NumOps, bool isSigned); + + SDOperand GetVectorElementPointer(SDOperand VecPtr, MVT EltVT, + SDOperand Index); //===--------------------------------------------------------------------===// // Promotion Support: LegalizeTypesPromote.cpp |