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

Side by Side Diff: src/IceTargetLowering.h

Issue 1182603004: Subzero: Transform suitable Load/Arith/Store sequences into RMW ops. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 5 years, 6 months 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
« no previous file with comments | « src/IceInstX8632.cpp ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// 1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- 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 // This file declares the TargetLowering, LoweringContext, and 10 // This file declares the TargetLowering, LoweringContext, and
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 virtual void lowerIcmp(const InstIcmp *Inst) = 0; 241 virtual void lowerIcmp(const InstIcmp *Inst) = 0;
242 virtual void lowerInsertElement(const InstInsertElement *Inst) = 0; 242 virtual void lowerInsertElement(const InstInsertElement *Inst) = 0;
243 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Inst) = 0; 243 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Inst) = 0;
244 virtual void lowerLoad(const InstLoad *Inst) = 0; 244 virtual void lowerLoad(const InstLoad *Inst) = 0;
245 virtual void lowerPhi(const InstPhi *Inst) = 0; 245 virtual void lowerPhi(const InstPhi *Inst) = 0;
246 virtual void lowerRet(const InstRet *Inst) = 0; 246 virtual void lowerRet(const InstRet *Inst) = 0;
247 virtual void lowerSelect(const InstSelect *Inst) = 0; 247 virtual void lowerSelect(const InstSelect *Inst) = 0;
248 virtual void lowerStore(const InstStore *Inst) = 0; 248 virtual void lowerStore(const InstStore *Inst) = 0;
249 virtual void lowerSwitch(const InstSwitch *Inst) = 0; 249 virtual void lowerSwitch(const InstSwitch *Inst) = 0;
250 virtual void lowerUnreachable(const InstUnreachable *Inst) = 0; 250 virtual void lowerUnreachable(const InstUnreachable *Inst) = 0;
251 virtual void lowerOther(const Inst *Instr);
251 252
252 virtual void doAddressOptLoad() {} 253 virtual void doAddressOptLoad() {}
253 virtual void doAddressOptStore() {} 254 virtual void doAddressOptStore() {}
254 virtual void randomlyInsertNop(float Probability) = 0; 255 virtual void randomlyInsertNop(float Probability) = 0;
255 // This gives the target an opportunity to post-process the lowered 256 // This gives the target an opportunity to post-process the lowered
256 // expansion before returning. 257 // expansion before returning.
257 virtual void postLower() {} 258 virtual void postLower() {}
258 259
259 // Find two-address non-SSA instructions and set the DestNonKillable flag 260 // Find two-address non-SSA instructions and set the DestNonKillable flag
260 // to keep liveness analysis consistent. 261 // to keep liveness analysis consistent.
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 virtual void lower() {} 414 virtual void lower() {}
414 415
415 protected: 416 protected:
416 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} 417 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {}
417 GlobalContext *Ctx; 418 GlobalContext *Ctx;
418 }; 419 };
419 420
420 } // end of namespace Ice 421 } // end of namespace Ice
421 422
422 #endif // SUBZERO_SRC_ICETARGETLOWERING_H 423 #endif // SUBZERO_SRC_ICETARGETLOWERING_H
OLDNEW
« no previous file with comments | « src/IceInstX8632.cpp ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698