summaryrefslogtreecommitdiff
path: root/lib/Target/Hexagon/HexagonISelLowering.h
diff options
context:
space:
mode:
authorSirish Pande <spande@codeaurora.org>2012-04-16 17:05:06 +0000
committerSirish Pande <spande@codeaurora.org>2012-04-16 17:05:06 +0000
commit87eb92d913c2e3cdeb08b0a22250cd6c3214a3ff (patch)
tree91864143b0763c9812c345e6e1c694dc29e4a333 /lib/Target/Hexagon/HexagonISelLowering.h
parent57ca13ecc4bde825fce2987132a078c4b6b68ed5 (diff)
downloadllvm-87eb92d913c2e3cdeb08b0a22250cd6c3214a3ff.tar.gz
llvm-87eb92d913c2e3cdeb08b0a22250cd6c3214a3ff.tar.bz2
llvm-87eb92d913c2e3cdeb08b0a22250cd6c3214a3ff.tar.xz
Hexagon V5 (Floating Point) Support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonISelLowering.h')
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Hexagon/HexagonISelLowering.h b/lib/Target/Hexagon/HexagonISelLowering.h
index 4208bcb2fd..b7e5055998 100644
--- a/lib/Target/Hexagon/HexagonISelLowering.h
+++ b/lib/Target/Hexagon/HexagonISelLowering.h
@@ -27,6 +27,7 @@ namespace llvm {
CONST32,
CONST32_GP, // For marking data present in GP.
+ FCONST32,
SETCC,
ADJDYNALLOC,
ARGEXTEND,
@@ -48,6 +49,7 @@ namespace llvm {
BR_JT, // Jump table.
BARRIER, // Memory barrier.
WrapperJT,
+ WrapperCP,
TC_RETURN
};
}
@@ -128,6 +130,7 @@ namespace llvm {
MachineBasicBlock *BB) const;
SDValue LowerVASTART(SDValue Op, SelectionDAG &DAG) const;
+ SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG) const;
virtual EVT getSetCCResultType(EVT VT) const {
return MVT::i1;
}
@@ -150,6 +153,7 @@ namespace llvm {
/// mode is legal for a load/store of any legal type.
/// TODO: Handle pre/postinc as well.
virtual bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const;
+ virtual bool isFPImmLegal(const APFloat &Imm, EVT VT) const;
/// isLegalICmpImmediate - Return true if the specified immediate is legal
/// icmp immediate, that is the target has icmp instructions which can