summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit1fb08a8b0825aa00a27c403d91f020be40b0ba9b (patch)
treedda6503b90750e3b6565225c603cc80669c23c10 /llvm/lib/Target/Sparc/SparcISelLowering.h
parentf3b02b17af0794a0a354cbd48c91abd4f3463d1e (diff)
downloadbcm5719-llvm-1fb08a8b0825aa00a27c403d91f020be40b0ba9b.tar.gz
bcm5719-llvm-1fb08a8b0825aa00a27c403d91f020be40b0ba9b.zip
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. llvm-svn: 179468
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelLowering.h')
-rw-r--r--llvm/lib/Target/Sparc/SparcISelLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.h b/llvm/lib/Target/Sparc/SparcISelLowering.h
index 8a50f6890a0..3ccdf7a973d 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.h
+++ b/llvm/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
OpenPOWER on IntegriCloud