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

Side by Side Diff: src/IceTypes.h

Issue 1655313002: Subzero: ARM32: lowering of vector insert and extract. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 //===- subzero/src/IceTypes.h - Primitive ICE types -------------*- C++ -*-===// 1 //===- subzero/src/IceTypes.h - Primitive ICE types -------------*- 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 X86InstructionSet_End, 70 X86InstructionSet_End,
71 ARM32InstructionSet_Begin, 71 ARM32InstructionSet_Begin,
72 ARM32InstructionSet_Neon = ARM32InstructionSet_Begin, 72 ARM32InstructionSet_Neon = ARM32InstructionSet_Begin,
73 ARM32InstructionSet_HWDivArm, 73 ARM32InstructionSet_HWDivArm,
74 ARM32InstructionSet_End, 74 ARM32InstructionSet_End,
75 }; 75 };
76 76
77 enum OptLevel { Opt_m1, Opt_0, Opt_1, Opt_2 }; 77 enum OptLevel { Opt_m1, Opt_0, Opt_1, Opt_2 };
78 78
79 size_t typeWidthInBytes(Type Ty); 79 size_t typeWidthInBytes(Type Ty);
80 size_t typeWidthInBits(Type Ty);
80 int8_t typeWidthInBytesLog2(Type Ty); 81 int8_t typeWidthInBytesLog2(Type Ty);
81 size_t typeAlignInBytes(Type Ty); 82 size_t typeAlignInBytes(Type Ty);
82 size_t typeNumElements(Type Ty); 83 size_t typeNumElements(Type Ty);
83 Type typeElementType(Type Ty); 84 Type typeElementType(Type Ty);
84 const char *typeString(Type Ty); 85 const char *typeString(Type Ty);
85 const char *regClassString(RegClass C); 86 const char *regClassString(RegClass C);
86 87
87 inline Type getPointerType() { return IceType_i32; } 88 inline Type getPointerType() { return IceType_i32; }
88 89
89 bool isVectorType(Type Ty); 90 bool isVectorType(Type Ty);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 }; 183 };
183 184
184 inline Ostream &operator<<(Ostream &Stream, const FuncSigType &Sig) { 185 inline Ostream &operator<<(Ostream &Stream, const FuncSigType &Sig) {
185 Sig.dump(Stream); 186 Sig.dump(Stream);
186 return Stream; 187 return Stream;
187 } 188 }
188 189
189 } // end of namespace Ice 190 } // end of namespace Ice
190 191
191 #endif // SUBZERO_SRC_ICETYPES_H 192 #endif // SUBZERO_SRC_ICETYPES_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698