OLD | NEW |
---|---|
1 //===- subzero/src/IceInstX8632.h - Low-level x86 instructions --*- C++ -*-===// | 1 //===- subzero/src/IceInstX8632.h - Low-level x86 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 InstX8632 and OperandX8632 classes and | 10 // This file declares the InstX8632 and OperandX8632 classes and |
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1176 virtual void dump(const Cfg *Func) const; | 1176 virtual void dump(const Cfg *Func) const; |
1177 static bool classof(const Inst *Inst) { return isClassof(Inst, Xchg); } | 1177 static bool classof(const Inst *Inst) { return isClassof(Inst, Xchg); } |
1178 | 1178 |
1179 private: | 1179 private: |
1180 InstX8632Xchg(Cfg *Func, Operand *Dest, Variable *Source); | 1180 InstX8632Xchg(Cfg *Func, Operand *Dest, Variable *Source); |
1181 InstX8632Xchg(const InstX8632Xchg &) LLVM_DELETED_FUNCTION; | 1181 InstX8632Xchg(const InstX8632Xchg &) LLVM_DELETED_FUNCTION; |
1182 InstX8632Xchg &operator=(const InstX8632Xchg &) LLVM_DELETED_FUNCTION; | 1182 InstX8632Xchg &operator=(const InstX8632Xchg &) LLVM_DELETED_FUNCTION; |
1183 virtual ~InstX8632Xchg() {} | 1183 virtual ~InstX8632Xchg() {} |
1184 }; | 1184 }; |
1185 | 1185 |
1186 // Declare partial template specializations of emit() methods that | |
1187 // already have default implementations. Without this, there is the | |
1188 // possibility of ODR violations and link errors. | |
1189 template <> void InstX8632Addss::emit(const Cfg *Func) const; | |
1190 template <> void InstX8632Div::emit(const Cfg *Func) const; | |
1191 template <> void InstX8632Divss::emit(const Cfg *Func) const; | |
1192 template <> void InstX8632Idiv::emit(const Cfg *Func) const; | |
1193 template <> void InstX8632Imul::emit(const Cfg *Func) const; | |
1194 template <> void InstX8632Lea::emit(const Cfg *Func) const; | |
1195 template <> void InstX8632Mulss::emit(const Cfg *Func) const; | |
1196 template <> void InstX8632Padd::emit(const Cfg *Func) const; | |
1197 template <> void InstX8632Pcmpeq::emit(const Cfg *Func) const; | |
1198 template <> void InstX8632Pcmpgt::emit(const Cfg *Func) const; | |
1199 template <> void InstX8632Pextrw::emit(const Cfg *Func) const; | |
1200 template <> void InstX8632Pinsrw::emit(const Cfg *Func) const; | |
1201 template <> void InstX8632Pmullw::emit(const Cfg *Func) const; | |
1202 template <> void InstX8632Pmuludq::emit(const Cfg *Func) const; | |
1203 template <> void InstX8632Psll::emit(const Cfg *Func) const; | |
1204 template <> void InstX8632Psra::emit(const Cfg *Func) const; | |
1205 template <> void InstX8632Psub::emit(const Cfg *Func) const; | |
1206 template <> void InstX8632Sqrtss::emit(const Cfg *Func) const; | |
1207 template <> void InstX8632Subss::emit(const Cfg *Func) const; | |
wala
2014/07/30 19:51:00
InstX8632Pblendvb, InstX8632Blendvps, InstX8632Pin
Jim Stichnoth
2014/07/30 21:45:11
Thanks. There were a couple of class name changes
| |
1208 | |
1186 } // end of namespace Ice | 1209 } // end of namespace Ice |
1187 | 1210 |
1188 #endif // SUBZERO_SRC_ICEINSTX8632_H | 1211 #endif // SUBZERO_SRC_ICEINSTX8632_H |
OLD | NEW |