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

Side by Side Diff: src/IceDefs.h

Issue 870653002: Subzero: Initial implementation of multithreaded translation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix getErrorStatus() usage in BitcodeMunger Created 5 years, 11 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/IceDefs.h - Common Subzero declaraions -------*- C++ -*-===// 1 //===- subzero/src/IceDefs.h - Common Subzero declaraions -------*- 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 various useful types and classes that have 10 // This file declares various useful types and classes that have
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class FunctionDeclaration; 49 class FunctionDeclaration;
50 class GlobalContext; 50 class GlobalContext;
51 class GlobalDeclaration; 51 class GlobalDeclaration;
52 class Inst; 52 class Inst;
53 class InstAssign; 53 class InstAssign;
54 class InstPhi; 54 class InstPhi;
55 class InstTarget; 55 class InstTarget;
56 class LiveRange; 56 class LiveRange;
57 class Liveness; 57 class Liveness;
58 class Operand; 58 class Operand;
59 class TargetGlobalLowering;
59 class TargetLowering; 60 class TargetLowering;
60 class Variable; 61 class Variable;
61 class VariableDeclaration; 62 class VariableDeclaration;
62 class VariablesMetadata; 63 class VariablesMetadata;
63 64
64 template <size_t SlabSize = 1024 * 1024> 65 template <size_t SlabSize = 1024 * 1024>
65 using ArenaAllocator = 66 using ArenaAllocator =
66 llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, SlabSize>; 67 llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, SlabSize>;
67 68
68 ArenaAllocator<> *getCurrentCfgAllocator(); 69 ArenaAllocator<> *getCurrentCfgAllocator();
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 return llvm::make_range(Container.rbegin(), Container.rend()); 169 return llvm::make_range(Container.rbegin(), Container.rend());
169 } 170 }
170 template <typename T> 171 template <typename T>
171 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { 172 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) {
172 return llvm::make_range(Container.rbegin(), Container.rend()); 173 return llvm::make_range(Container.rbegin(), Container.rend());
173 } 174 }
174 175
175 } // end of namespace Ice 176 } // end of namespace Ice
176 177
177 #endif // SUBZERO_SRC_ICEDEFS_H 178 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW
« no previous file with comments | « src/IceConverter.cpp ('k') | src/IceGlobalContext.h » ('j') | src/IceGlobalContext.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698