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

Side by Side Diff: src/IceThreading.h

Issue 1147023007: Subzero: Basic Block Profiler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Adds a $ to the profiler generated labels. 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
OLDNEW
1 //===- subzero/src/IceThreading.h - Threading functions ---------*- C++ -*-===// 1 //===- subzero/src/IceThreading.h - Threading functions ---------*- 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 threading-related functions. 10 // This file declares threading-related functions.
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // Constructor for a WI_Nop work item. 183 // Constructor for a WI_Nop work item.
184 explicit EmitterWorkItem(uint32_t Seq); 184 explicit EmitterWorkItem(uint32_t Seq);
185 // Constructor for a WI_GlobalInits work item. 185 // Constructor for a WI_GlobalInits work item.
186 EmitterWorkItem(uint32_t Seq, VariableDeclarationList *D); 186 EmitterWorkItem(uint32_t Seq, VariableDeclarationList *D);
187 // Constructor for a WI_Asm work item. 187 // Constructor for a WI_Asm work item.
188 EmitterWorkItem(uint32_t Seq, Assembler *A); 188 EmitterWorkItem(uint32_t Seq, Assembler *A);
189 // Constructor for a WI_Cfg work item. 189 // Constructor for a WI_Cfg work item.
190 EmitterWorkItem(uint32_t Seq, Cfg *F); 190 EmitterWorkItem(uint32_t Seq, Cfg *F);
191 uint32_t getSequenceNumber() const { return Sequence; } 191 uint32_t getSequenceNumber() const { return Sequence; }
192 ItemKind getKind() const { return Kind; } 192 ItemKind getKind() const { return Kind; }
193 void setGlobalInits(std::unique_ptr<VariableDeclarationList> GloblInits);
193 std::unique_ptr<VariableDeclarationList> getGlobalInits(); 194 std::unique_ptr<VariableDeclarationList> getGlobalInits();
194 std::unique_ptr<Assembler> getAsm(); 195 std::unique_ptr<Assembler> getAsm();
195 std::unique_ptr<Cfg> getCfg(); 196 std::unique_ptr<Cfg> getCfg();
196 197
197 private: 198 private:
198 const uint32_t Sequence; 199 const uint32_t Sequence;
199 const ItemKind Kind; 200 const ItemKind Kind;
200 std::unique_ptr<VariableDeclarationList> GlobalInits; 201 std::unique_ptr<VariableDeclarationList> GlobalInits;
201 std::unique_ptr<Assembler> Function; 202 std::unique_ptr<Assembler> Function;
202 std::unique_ptr<Cfg> RawFunc; 203 std::unique_ptr<Cfg> RawFunc;
203 }; 204 };
204 205
205 } // end of namespace Ice 206 } // end of namespace Ice
206 207
207 #endif // SUBZERO_SRC_ICETHREADING_H 208 #endif // SUBZERO_SRC_ICETHREADING_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698