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

Side by Side Diff: src/IceTypeConverter.h

Issue 1803403002: Subzero. Flags refactoring. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 4 years, 9 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
« no previous file with comments | « src/IceTargetLoweringX86BaseImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTypeConverter.h - Convert ICE/LLVM Types --*- C++ -*-===// 1 //===- subzero/src/IceTypeConverter.h - Convert ICE/LLVM 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
11 /// \brief Defines how to convert LLVM types to ICE types, and ICE types to LLVM 11 /// \brief Defines how to convert LLVM types to ICE types, and ICE types to LLVM
12 /// types. 12 /// types.
13 /// 13 ///
14 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
15 15
16 #ifndef SUBZERO_SRC_ICETYPECONVERTER_H 16 #ifndef SUBZERO_SRC_ICETYPECONVERTER_H
17 #define SUBZERO_SRC_ICETYPECONVERTER_H 17 #define SUBZERO_SRC_ICETYPECONVERTER_H
18 18
19 #include "IceDefs.h" 19 #include "IceDefs.h"
20 #include "IceTypes.h" 20 #include "IceTypes.h"
21 21
22 #ifdef __clang__ 22 #ifdef __clang__
23 #pragma clang diagnostic push 23 #pragma clang diagnostic push
24 #pragma clang diagnostic ignored "-Wunused-parameter" 24 #pragma clang diagnostic ignored "-Wunused-parameter"
25 #pragma clang diagnostic ignored "-Wredundant-move"
26 #endif // __clang__ 25 #endif // __clang__
27 26
28 #include "llvm/IR/DerivedTypes.h" 27 #include "llvm/IR/DerivedTypes.h"
29 28
30 #ifdef __clang__ 29 #ifdef __clang__
31 #pragma clang diagnostic pop 30 #pragma clang diagnostic pop
32 #endif // __clang__ 31 #endif // __clang__
33 32
34 namespace llvm { 33 namespace llvm {
35 class LLVMContext; 34 class LLVMContext;
(...skipping 27 matching lines...) Expand all
63 /// Add LLVM/ICE pair to internal tables. 62 /// Add LLVM/ICE pair to internal tables.
64 void addLLVMType(Type Ty, llvm::Type *LLVMTy); 63 void addLLVMType(Type Ty, llvm::Type *LLVMTy);
65 64
66 /// Converts types not in LLVM2IceMap. 65 /// Converts types not in LLVM2IceMap.
67 Type convertToIceTypeOther(llvm::Type *LLVMTy) const; 66 Type convertToIceTypeOther(llvm::Type *LLVMTy) const;
68 }; 67 };
69 68
70 } // end of namespace Ice 69 } // end of namespace Ice
71 70
72 #endif // SUBZERO_SRC_ICETYPECONVERTER_H 71 #endif // SUBZERO_SRC_ICETYPECONVERTER_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringX86BaseImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698