| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |