X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FSparcV9%2FSparcV9Internals.h;h=72691a2613fb0b094a4a7cf312c2303c0719bc54;hb=5638bf973f92a6653566cf4195ffe30f490fb7a8;hp=2399a1e68b3971c6873eb6e48845c5f9fa90d040;hpb=04ef49985b83210666c44803ba56491a4f5293fc;p=oota-llvm.git diff --git a/lib/Target/SparcV9/SparcV9Internals.h b/lib/Target/SparcV9/SparcV9Internals.h index 2399a1e68b3..72691a2613f 100644 --- a/lib/Target/SparcV9/SparcV9Internals.h +++ b/lib/Target/SparcV9/SparcV9Internals.h @@ -560,32 +560,32 @@ public: // particular function. The frame contents are obtained from the // MachineCodeInfoForMethod object for the given function. // - int getFirstIncomingArgOffset (MachineCodeForMethod& mcInfo, + int getFirstIncomingArgOffset (MachineFunction& mcInfo, bool& growUp) const { growUp = true; // arguments area grows upwards return FirstIncomingArgOffsetFromFP; } - int getFirstOutgoingArgOffset (MachineCodeForMethod& mcInfo, + int getFirstOutgoingArgOffset (MachineFunction& mcInfo, bool& growUp) const { growUp = true; // arguments area grows upwards return FirstOutgoingArgOffsetFromSP; } - int getFirstOptionalOutgoingArgOffset(MachineCodeForMethod& mcInfo, + int getFirstOptionalOutgoingArgOffset(MachineFunction& mcInfo, bool& growUp)const { growUp = true; // arguments area grows upwards return FirstOptionalOutgoingArgOffsetFromSP; } - int getFirstAutomaticVarOffset (MachineCodeForMethod& mcInfo, + int getFirstAutomaticVarOffset (MachineFunction& mcInfo, bool& growUp) const; - int getRegSpillAreaOffset (MachineCodeForMethod& mcInfo, + int getRegSpillAreaOffset (MachineFunction& mcInfo, bool& growUp) const; - int getTmpAreaOffset (MachineCodeForMethod& mcInfo, + int getTmpAreaOffset (MachineFunction& mcInfo, bool& growUp) const; - int getDynamicAreaOffset (MachineCodeForMethod& mcInfo, + int getDynamicAreaOffset (MachineFunction& mcInfo, bool& growUp) const; // @@ -709,7 +709,6 @@ public: //--------------------------------------------------------------------------- class UltraSparc : public TargetMachine { -private: UltraSparcInstrInfo instrInfo; UltraSparcSchedInfo schedInfo; UltraSparcRegInfo regInfo; @@ -726,6 +725,8 @@ public: virtual const MachineCacheInfo &getCacheInfo() const { return cacheInfo; } virtual const MachineOptInfo &getOptInfo() const { return optInfo; } + virtual void addPassesToEmitAssembly(PassManager &PM, std::ostream &Out); + // getPrologEpilogCodeInserter - Inserts prolog/epilog code. virtual Pass* getPrologEpilogInsertionPass();