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

Side by Side Diff: src/IceOperand.cpp

Issue 1216963007: Doxygenize the documentation comments (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase to master Created 5 years, 5 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/IceOperand.h ('k') | src/IceRNG.h » ('j') | 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/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 // This file implements the Operand class and its target-independent 10 /// \file
11 // subclasses, primarily for the methods of the Variable class. 11 /// This file implements the Operand class and its target-independent
12 // 12 /// subclasses, primarily for the methods of the Variable class.
13 ///
13 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
14 15
15 #include "IceOperand.h" 16 #include "IceOperand.h"
16 17
17 #include "IceCfg.h" 18 #include "IceCfg.h"
18 #include "IceCfgNode.h" 19 #include "IceCfgNode.h"
19 #include "IceInst.h" 20 #include "IceInst.h"
20 #include "IceTargetLowering.h" // dumping stack/frame pointer register 21 #include "IceTargetLowering.h" // dumping stack/frame pointer register
21 22
22 namespace Ice { 23 namespace Ice {
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 if (getType() != IceType_i32 && getType() != IceType_i16 && 509 if (getType() != IceType_i32 && getType() != IceType_i16 &&
509 getType() != IceType_i8) 510 getType() != IceType_i8)
510 return false; 511 return false;
511 // The Following checks if the signed representation of Value is between 512 // The Following checks if the signed representation of Value is between
512 // -Threshold/2 and +Threshold/2 513 // -Threshold/2 and +Threshold/2
513 bool largerThanThreshold = Threshold / 2 + Value >= Threshold; 514 bool largerThanThreshold = Threshold / 2 + Value >= Threshold;
514 return largerThanThreshold; 515 return largerThanThreshold;
515 } 516 }
516 517
517 } // end of namespace Ice 518 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceOperand.h ('k') | src/IceRNG.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698