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 /// \file | 10 /// \file |
11 /// This file implements the CfgNode class, including the complexities of | 11 /// \brief Implements the CfgNode class, including the complexities |
Jim Stichnoth
2015/12/01 18:41:16
Reflow to 80-col.
rkotlerimgtec
2015/12/02 01:32:48
Done.
| |
12 /// instruction insertion and in-edge calculation. | 12 /// of instruction insertion and in-edge calculation. |
13 /// | 13 /// |
14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
15 | 15 |
16 #include "IceCfgNode.h" | 16 #include "IceCfgNode.h" |
17 | 17 |
18 #include "IceAssembler.h" | 18 #include "IceAssembler.h" |
19 #include "IceCfg.h" | 19 #include "IceCfg.h" |
20 #include "IceGlobalInits.h" | 20 #include "IceGlobalInits.h" |
21 #include "IceInst.h" | 21 #include "IceInst.h" |
22 #include "IceInstVarIter.h" | 22 #include "IceInstVarIter.h" |
(...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1407 InstIntrinsicCall *Inst = InstIntrinsicCall::create( | 1407 InstIntrinsicCall *Inst = InstIntrinsicCall::create( |
1408 Func, 5, Func->makeVariable(IceType_i64), RMWI64Name, Info->Info); | 1408 Func, 5, Func->makeVariable(IceType_i64), RMWI64Name, Info->Info); |
1409 Inst->addArg(AtomicRMWOp); | 1409 Inst->addArg(AtomicRMWOp); |
1410 Inst->addArg(Counter); | 1410 Inst->addArg(Counter); |
1411 Inst->addArg(One); | 1411 Inst->addArg(One); |
1412 Inst->addArg(OrderAcquireRelease); | 1412 Inst->addArg(OrderAcquireRelease); |
1413 Insts.push_front(Inst); | 1413 Insts.push_front(Inst); |
1414 } | 1414 } |
1415 | 1415 |
1416 } // end of namespace Ice | 1416 } // end of namespace Ice |
OLD | NEW |