OLD | NEW |
---|---|
1 //===- subzero/src/IceOperand.cpp - High-level operand implementation -----===// | 1 //===- subzero/src/IceOperand.cpp - High-level operand implementation -----===// |
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 the Operand class and its target-independent | 11 /// \brief Implements the Operand class and its target-independent |
Jim Stichnoth
2015/12/01 18:41:16
Reflow to 80-col.
rkotlerimgtec
2015/12/02 01:32:48
Done.
| |
12 /// subclasses, primarily for the methods of the Variable class. | 12 /// subclasses, primarily for the methods of the Variable class. |
13 /// | 13 /// |
14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
15 | 15 |
16 #include "IceOperand.h" | 16 #include "IceOperand.h" |
17 | 17 |
18 #include "IceCfg.h" | 18 #include "IceCfg.h" |
19 #include "IceCfgNode.h" | 19 #include "IceCfgNode.h" |
20 #include "IceInst.h" | 20 #include "IceInst.h" |
21 #include "IceInstVarIter.h" | 21 #include "IceInstVarIter.h" |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
547 if (getType() != IceType_i32 && getType() != IceType_i16 && | 547 if (getType() != IceType_i32 && getType() != IceType_i16 && |
548 getType() != IceType_i8) | 548 getType() != IceType_i8) |
549 return false; | 549 return false; |
550 // The Following checks if the signed representation of Value is between | 550 // The Following checks if the signed representation of Value is between |
551 // -Threshold/2 and +Threshold/2 | 551 // -Threshold/2 and +Threshold/2 |
552 bool largerThanThreshold = Threshold / 2 + Value >= Threshold; | 552 bool largerThanThreshold = Threshold / 2 + Value >= Threshold; |
553 return largerThanThreshold; | 553 return largerThanThreshold; |
554 } | 554 } |
555 | 555 |
556 } // end of namespace Ice | 556 } // end of namespace Ice |
OLD | NEW |