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

Side by Side Diff: src/IceTargetLowering.h

Issue 1897243002: Subzero. Rematerializes shufflevector instructions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 4 years, 8 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/IceInst.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 /// \file 10 /// \file
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 virtual void lowerCast(const InstCast *Instr) = 0; 380 virtual void lowerCast(const InstCast *Instr) = 0;
381 virtual void lowerFcmp(const InstFcmp *Instr) = 0; 381 virtual void lowerFcmp(const InstFcmp *Instr) = 0;
382 virtual void lowerExtractElement(const InstExtractElement *Instr) = 0; 382 virtual void lowerExtractElement(const InstExtractElement *Instr) = 0;
383 virtual void lowerIcmp(const InstIcmp *Instr) = 0; 383 virtual void lowerIcmp(const InstIcmp *Instr) = 0;
384 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0; 384 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0;
385 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0; 385 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0;
386 virtual void lowerLoad(const InstLoad *Instr) = 0; 386 virtual void lowerLoad(const InstLoad *Instr) = 0;
387 virtual void lowerPhi(const InstPhi *Instr) = 0; 387 virtual void lowerPhi(const InstPhi *Instr) = 0;
388 virtual void lowerRet(const InstRet *Instr) = 0; 388 virtual void lowerRet(const InstRet *Instr) = 0;
389 virtual void lowerSelect(const InstSelect *Instr) = 0; 389 virtual void lowerSelect(const InstSelect *Instr) = 0;
390 virtual void lowerShuffleVector(const InstShuffleVector *Instr) = 0;
390 virtual void lowerStore(const InstStore *Instr) = 0; 391 virtual void lowerStore(const InstStore *Instr) = 0;
391 virtual void lowerSwitch(const InstSwitch *Instr) = 0; 392 virtual void lowerSwitch(const InstSwitch *Instr) = 0;
392 virtual void lowerUnreachable(const InstUnreachable *Instr) = 0; 393 virtual void lowerUnreachable(const InstUnreachable *Instr) = 0;
393 virtual void lowerOther(const Inst *Instr); 394 virtual void lowerOther(const Inst *Instr);
394 395
395 virtual void genTargetHelperCallFor(Inst *Instr) = 0; 396 virtual void genTargetHelperCallFor(Inst *Instr) = 0;
396 virtual uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) = 0; 397 virtual uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) = 0;
397 398
398 virtual void doAddressOptLoad() {} 399 virtual void doAddressOptLoad() {}
399 virtual void doAddressOptStore() {} 400 virtual void doAddressOptStore() {}
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 virtual void lower() {} 619 virtual void lower() {}
619 620
620 protected: 621 protected:
621 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} 622 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {}
622 GlobalContext *Ctx; 623 GlobalContext *Ctx;
623 }; 624 };
624 625
625 } // end of namespace Ice 626 } // end of namespace Ice
626 627
627 #endif // SUBZERO_SRC_ICETARGETLOWERING_H 628 #endif // SUBZERO_SRC_ICETARGETLOWERING_H
OLDNEW
« no previous file with comments | « src/IceInst.cpp ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698