summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.h
diff options
context:
space:
mode:
authorNicolas Geoffray <nicolas.geoffray@lip6.fr>2007-04-03 13:59:52 +0000
committerNicolas Geoffray <nicolas.geoffray@lip6.fr>2007-04-03 13:59:52 +0000
commit23710a7da3ea7599faed90066c91acd0948e0c23 (patch)
tree7b58ea603d93c8bfd704815ec5307b69b9077405 /llvm/lib/Target/PowerPC/PPCISelLowering.h
parentb3e99a18eec0fc82eef1884c0676612f0a879e1b (diff)
downloadbcm5719-llvm-23710a7da3ea7599faed90066c91acd0948e0c23.tar.gz
bcm5719-llvm-23710a7da3ea7599faed90066c91acd0948e0c23.zip
Starting implementation of the ELF32 ABI specification of varargs handling.
LowerVASTART emits the right code if the subtarget is ELF32, the other intrinsics (VAARG, VACOPY and VAEND) are not yet implemented. llvm-svn: 35625
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h
index 593400c2686..684a366f215 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.h
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h
@@ -173,6 +173,12 @@ namespace llvm {
class PPCTargetLowering : public TargetLowering {
int VarArgsFrameIndex; // FrameIndex for start of varargs area.
+ int VarArgsStackOffset; // StackOffset for start of stack
+ // arguments.
+ unsigned VarArgsNumGPR; // Index of the first unused integer
+ // register for parameter passing.
+ unsigned VarArgsNumFPR; // Index of the first unused double
+ // register for parameter passing.
int ReturnAddrIndex; // FrameIndex for return slot.
const PPCSubtarget &PPCSubTarget;
public:
OpenPOWER on IntegriCloud