| OLD | NEW |
| 1 //===- subzero/src/IceCfgNode.cpp - Basic block (node) implementation -----===// | 1 //===- subzero/src/IceCfgNode.cpp - Basic block (node) 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 CfgNode class, including the complexities | 10 /// \file |
| 11 // of instruction insertion and in-edge calculation. | 11 /// This file implements the CfgNode class, including the complexities |
| 12 // | 12 /// of instruction insertion and in-edge calculation. |
| 13 /// |
| 13 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
| 14 | 15 |
| 15 #include "IceCfgNode.h" | 16 #include "IceCfgNode.h" |
| 16 | 17 |
| 17 #include "IceAssembler.h" | 18 #include "IceAssembler.h" |
| 18 #include "IceCfg.h" | 19 #include "IceCfg.h" |
| 19 #include "IceGlobalInits.h" | 20 #include "IceGlobalInits.h" |
| 20 #include "IceInst.h" | 21 #include "IceInst.h" |
| 21 #include "IceLiveness.h" | 22 #include "IceLiveness.h" |
| 22 #include "IceOperand.h" | 23 #include "IceOperand.h" |
| (...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1267 InstIntrinsicCall *Inst = InstIntrinsicCall::create( | 1268 InstIntrinsicCall *Inst = InstIntrinsicCall::create( |
| 1268 Func, 5, Func->makeVariable(IceType_i64), RMWI64Name, Info->Info); | 1269 Func, 5, Func->makeVariable(IceType_i64), RMWI64Name, Info->Info); |
| 1269 Inst->addArg(AtomicRMWOp); | 1270 Inst->addArg(AtomicRMWOp); |
| 1270 Inst->addArg(Counter); | 1271 Inst->addArg(Counter); |
| 1271 Inst->addArg(One); | 1272 Inst->addArg(One); |
| 1272 Inst->addArg(OrderAcquireRelease); | 1273 Inst->addArg(OrderAcquireRelease); |
| 1273 Insts.push_front(Inst); | 1274 Insts.push_front(Inst); |
| 1274 } | 1275 } |
| 1275 | 1276 |
| 1276 } // end of namespace Ice | 1277 } // end of namespace Ice |
| OLD | NEW |