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

Side by Side Diff: src/IceInst.h

Issue 574133002: Add initial integrated assembler w/ some Xmm ops. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: remove duplicate pxor, and use enum Created 6 years, 3 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/IceFixups.h ('k') | src/IceInst.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/IceInst.h - High-level instructions ----------*- C++ -*-===// 1 //===- subzero/src/IceInst.h - High-level instructions ----------*- 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 Inst class and its target-independent 10 // This file declares the Inst class and its target-independent
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void livenessLightweight(Cfg *Func, llvm::BitVector &Live); 95 void livenessLightweight(Cfg *Func, llvm::BitVector &Live);
96 void liveness(InstNumberT InstNumber, llvm::BitVector &Live, 96 void liveness(InstNumberT InstNumber, llvm::BitVector &Live,
97 Liveness *Liveness, const CfgNode *Node); 97 Liveness *Liveness, const CfgNode *Node);
98 98
99 // Get the number of native instructions that this instruction 99 // Get the number of native instructions that this instruction
100 // ultimately emits. By default, high-level instructions don't 100 // ultimately emits. By default, high-level instructions don't
101 // result in any native instructions, and a target-specific 101 // result in any native instructions, and a target-specific
102 // instruction results in a single native instruction. 102 // instruction results in a single native instruction.
103 virtual uint32_t getEmitInstCount() const { return 0; } 103 virtual uint32_t getEmitInstCount() const { return 0; }
104 virtual void emit(const Cfg *Func) const; 104 virtual void emit(const Cfg *Func) const;
105 virtual void emitIAS(const Cfg *Func) const;
105 virtual void dump(const Cfg *Func) const; 106 virtual void dump(const Cfg *Func) const;
106 virtual void dumpExtras(const Cfg *Func) const; 107 virtual void dumpExtras(const Cfg *Func) const;
107 void dumpDecorated(const Cfg *Func) const; 108 void dumpDecorated(const Cfg *Func) const;
108 void emitSources(const Cfg *Func) const; 109 void emitSources(const Cfg *Func) const;
109 void dumpSources(const Cfg *Func) const; 110 void dumpSources(const Cfg *Func) const;
110 void dumpDest(const Cfg *Func) const; 111 void dumpDest(const Cfg *Func) const;
111 virtual bool isRedundantAssign() const { return false; } 112 virtual bool isRedundantAssign() const { return false; }
112 113
113 virtual ~Inst() {} 114 virtual ~Inst() {}
114 115
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 assert(Kind >= Target); 761 assert(Kind >= Target);
761 } 762 }
762 InstTarget(const InstTarget &) LLVM_DELETED_FUNCTION; 763 InstTarget(const InstTarget &) LLVM_DELETED_FUNCTION;
763 InstTarget &operator=(const InstTarget &) LLVM_DELETED_FUNCTION; 764 InstTarget &operator=(const InstTarget &) LLVM_DELETED_FUNCTION;
764 virtual ~InstTarget() {} 765 virtual ~InstTarget() {}
765 }; 766 };
766 767
767 } // end of namespace Ice 768 } // end of namespace Ice
768 769
769 #endif // SUBZERO_SRC_ICEINST_H 770 #endif // SUBZERO_SRC_ICEINST_H
OLDNEW
« no previous file with comments | « src/IceFixups.h ('k') | src/IceInst.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698