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

Side by Side Diff: lib/Bitcode/NaCl/Writer/NaClValueEnumerator.h

Issue 1151093004: Changes from 3.7 merge to files not in upstream (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 7 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 //===-- Bitcode/NaCl/Writer/NaClValueEnumerator.h - ----------*- C++ -*-===// 1 //===-- Bitcode/NaCl/Writer/NaClValueEnumerator.h - ----------*- C++ -*-===//
2 // Number values. 2 // Number values.
3 // 3 //
4 // The LLVM Compiler Infrastructure 4 // The LLVM Compiler Infrastructure
5 // 5 //
6 // This file is distributed under the University of Illinois Open Source 6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details. 7 // License. See LICENSE.TXT for details.
8 // 8 //
9 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===//
10 // 10 //
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 SmallSet<unsigned, 32> FnForwardTypeRefs; 77 SmallSet<unsigned, 32> FnForwardTypeRefs;
78 78
79 // The index of the first global variable ID in the bitcode file. 79 // The index of the first global variable ID in the bitcode file.
80 unsigned FirstGlobalVarID; 80 unsigned FirstGlobalVarID;
81 // The number of global variable IDs defined in the bitcode file. 81 // The number of global variable IDs defined in the bitcode file.
82 unsigned NumGlobalVarIDs; 82 unsigned NumGlobalVarIDs;
83 83
84 /// \brief Integer type use for PNaCl conversion of pointers. 84 /// \brief Integer type use for PNaCl conversion of pointers.
85 Type *IntPtrType; 85 Type *IntPtrType;
86 86
87 NaClValueEnumerator(const NaClValueEnumerator &) LLVM_DELETED_FUNCTION; 87 NaClValueEnumerator(const NaClValueEnumerator &) = delete;
88 void operator=(const NaClValueEnumerator &) LLVM_DELETED_FUNCTION; 88 void operator=(const NaClValueEnumerator &) = delete;
89 public: 89 public:
90 NaClValueEnumerator(const Module *M); 90 NaClValueEnumerator(const Module *M);
91 91
92 void dump() const; 92 void dump() const;
93 void print(raw_ostream &OS, const ValueMapType &Map, const char *Name) const; 93 void print(raw_ostream &OS, const ValueMapType &Map, const char *Name) const;
94 94
95 unsigned getFirstGlobalVarID() const { 95 unsigned getFirstGlobalVarID() const {
96 return FirstGlobalVarID; 96 return FirstGlobalVarID;
97 } 97 }
98 98
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 void EnumerateValue(const Value *V); 160 void EnumerateValue(const Value *V);
161 void EnumerateType(Type *T, bool InsideOptimizeTypes=false); 161 void EnumerateType(Type *T, bool InsideOptimizeTypes=false);
162 void EnumerateOperandType(const Value *V); 162 void EnumerateOperandType(const Value *V);
163 163
164 void EnumerateValueSymbolTable(const ValueSymbolTable &ST); 164 void EnumerateValueSymbolTable(const ValueSymbolTable &ST);
165 }; 165 };
166 166
167 } // End llvm namespace 167 } // End llvm namespace
168 168
169 #endif 169 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698