OLD | NEW |
---|---|
1 //===- subzero/src/IceTypeConverter.cpp - Convert ICE/LLVM Types ----------===// | 1 //===- subzero/src/IceTypeConverter.cpp - Convert ICE/LLVM Types ----------===// |
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 /// This file implements how to convert LLVM types to ICE types, and ICE types | 11 /// \brief Implements how to convert LLVM types to ICE types, and ICE types |
Jim Stichnoth
2015/12/01 18:41:17
Reflow to 80-col.
But maybe it's better stated li
rkotlerimgtec
2015/12/02 01:32:48
Done.
| |
12 /// to LLVM types. | 12 /// to LLVM types. |
13 /// | 13 /// |
14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
15 | 15 |
16 #include "IceTypeConverter.h" | 16 #include "IceTypeConverter.h" |
17 | 17 |
18 #include "llvm/Support/raw_ostream.h" | 18 #include "llvm/Support/raw_ostream.h" |
19 | 19 |
20 namespace Ice { | 20 namespace Ice { |
21 | 21 |
(...skipping 29 matching lines...) Expand all Loading... | |
51 switch (LLVMTy->getTypeID()) { | 51 switch (LLVMTy->getTypeID()) { |
52 case llvm::Type::PointerTyID: | 52 case llvm::Type::PointerTyID: |
53 case llvm::Type::FunctionTyID: | 53 case llvm::Type::FunctionTyID: |
54 return getPointerType(); | 54 return getPointerType(); |
55 default: | 55 default: |
56 return Ice::IceType_NUM; | 56 return Ice::IceType_NUM; |
57 } | 57 } |
58 } | 58 } |
59 | 59 |
60 } // end of Ice namespace. | 60 } // end of Ice namespace. |
OLD | NEW |