Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Side by Side Diff: src/IceTargetLoweringX86Base.h

Issue 1458713002: Compute out arguments size (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Merge 32 and 64 bit argument size Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 lowering ----*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 lowering ----*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 void lowerInsertElement(const InstInsertElement *Inst) override; 175 void lowerInsertElement(const InstInsertElement *Inst) override;
176 void lowerLoad(const InstLoad *Inst) override; 176 void lowerLoad(const InstLoad *Inst) override;
177 void lowerPhi(const InstPhi *Inst) override; 177 void lowerPhi(const InstPhi *Inst) override;
178 void lowerSelect(const InstSelect *Inst) override; 178 void lowerSelect(const InstSelect *Inst) override;
179 void lowerStore(const InstStore *Inst) override; 179 void lowerStore(const InstStore *Inst) override;
180 void lowerSwitch(const InstSwitch *Inst) override; 180 void lowerSwitch(const InstSwitch *Inst) override;
181 void lowerUnreachable(const InstUnreachable *Inst) override; 181 void lowerUnreachable(const InstUnreachable *Inst) override;
182 void lowerOther(const Inst *Instr) override; 182 void lowerOther(const Inst *Instr) override;
183 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW); 183 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW);
184 void prelowerPhis() override; 184 void prelowerPhis() override;
185 uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) override { 185 uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) override;
186 (void)Instr;
187 return 0;
188 }
189 void genTargetHelperCallFor(Inst *Instr) override { (void)Instr; } 186 void genTargetHelperCallFor(Inst *Instr) override { (void)Instr; }
190 void doAddressOptLoad() override; 187 void doAddressOptLoad() override;
191 void doAddressOptStore() override; 188 void doAddressOptStore() override;
192 void doMockBoundsCheck(Operand *Opnd) override; 189 void doMockBoundsCheck(Operand *Opnd) override;
193 void randomlyInsertNop(float Probability, 190 void randomlyInsertNop(float Probability,
194 RandomNumberGenerator &RNG) override; 191 RandomNumberGenerator &RNG) override;
195 192
196 /// Naive lowering of cmpxchg. 193 /// Naive lowering of cmpxchg.
197 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected, 194 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected,
198 Operand *Desired); 195 Operand *Desired);
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 lowerIcmp64(const InstIcmp *Icmp, const InstBr *Br); 773 lowerIcmp64(const InstIcmp *Icmp, const InstBr *Br);
777 774
778 BoolFolding FoldingInfo; 775 BoolFolding FoldingInfo;
779 }; 776 };
780 } // end of namespace X86Internal 777 } // end of namespace X86Internal
781 } // end of namespace Ice 778 } // end of namespace Ice
782 779
783 #include "IceTargetLoweringX86BaseImpl.h" 780 #include "IceTargetLoweringX86BaseImpl.h"
784 781
785 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 782 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698