summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcISelLowering.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-04-14 01:33:32 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-04-14 01:33:32 +0000
commit0ec587e26cd7e048b3150f89fa6d6245d5728cec (patch)
treeb6ac578f07b7f601e8dd4cf97b9e77df253ee60f /lib/Target/Sparc/SparcISelLowering.h
parent63496f66c5b528a48f8da7714ee3f635f8aadd18 (diff)
downloadllvm-0ec587e26cd7e048b3150f89fa6d6245d5728cec.tar.gz
llvm-0ec587e26cd7e048b3150f89fa6d6245d5728cec.tar.bz2
llvm-0ec587e26cd7e048b3150f89fa6d6245d5728cec.tar.xz
Add target flags to SPARC address operands.
SDNodes and MachineOperands get target flags representing the %hi() and %lo() assembly annotations that eventually become relocations. Also define flags to be used by the 64-bit code models. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcISelLowering.h')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.h b/lib/Target/Sparc/SparcISelLowering.h
index 8a50f6890a..3ccdf7a973 100644
--- a/lib/Target/Sparc/SparcISelLowering.h
+++ b/lib/Target/Sparc/SparcISelLowering.h
@@ -121,6 +121,9 @@ namespace llvm {
SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG) const;
unsigned getSRetArgSize(SelectionDAG &DAG, SDValue Callee) const;
+ SDValue withTargetFlags(SDValue Op, unsigned TF, SelectionDAG &DAG) const;
+ SDValue makeHiLoPair(SDValue Op, unsigned HiTF, unsigned LoTF,
+ SelectionDAG &DAG) const;
};
} // end namespace llvm