blob: 63696025cbb43e0c52498ed34dc7e4e308fdc3ed [file] [log] [blame]
Chris Lattner946b2552004-04-18 05:20:17 +00001//===-- LoopUnroll.cpp - Loop unroller pass -------------------------------===//
Misha Brukmanb1c93172005-04-21 23:48:37 +00002//
Chris Lattner946b2552004-04-18 05:20:17 +00003// The LLVM Compiler Infrastructure
4//
5// This file was developed by the LLVM research group and is distributed under
6// the University of Illinois Open Source License. See LICENSE.TXT for details.
Misha Brukmanb1c93172005-04-21 23:48:37 +00007//
Chris Lattner946b2552004-04-18 05:20:17 +00008//===----------------------------------------------------------------------===//
9//
10// This pass implements a simple loop unroller. It works best when loops have
11// been canonicalized by the -indvars pass, allowing it to determine the trip
12// counts of loops easily.
13//
Owen Andersone001d812006-08-24 21:28:19 +000014// This pass will multi-block loops only if they contain no non-unrolled
15// subloops. The process of unrolling can produce extraneous basic blocks
16// linked with unconditional branches. This will be corrected in the future.
Chris Lattner946b2552004-04-18 05:20:17 +000017//
18//===----------------------------------------------------------------------===//
19
20#define DEBUG_TYPE "loop-unroll"
21#include "llvm/Transforms/Scalar.h"
22#include "llvm/Constants.h"
23#include "llvm/Function.h"
24#include "llvm/Instructions.h"
Chris Lattner024f4ab2007-01-30 23:46:24 +000025#include "llvm/Analysis/ConstantFolding.h"
Chris Lattner946b2552004-04-18 05:20:17 +000026#include "llvm/Analysis/LoopInfo.h"
Devang Patel9779e562007-03-07 01:38:05 +000027#include "llvm/Analysis/LoopPass.h"
Chris Lattner946b2552004-04-18 05:20:17 +000028#include "llvm/Transforms/Utils/Cloning.h"
29#include "llvm/Transforms/Utils/Local.h"
Owen Anderson62c84fe2006-08-28 02:09:46 +000030#include "llvm/Support/CFG.h"
Reid Spencer557ab152007-02-05 23:32:05 +000031#include "llvm/Support/Compiler.h"
Reid Spencer7c16caa2004-09-01 22:55:40 +000032#include "llvm/Support/CommandLine.h"
33#include "llvm/Support/Debug.h"
34#include "llvm/ADT/Statistic.h"
35#include "llvm/ADT/STLExtras.h"
Chris Lattner1bfc7ab2007-02-03 00:08:31 +000036#include "llvm/ADT/SmallPtrSet.h"
Chris Lattner6d048a02004-11-22 17:18:36 +000037#include "llvm/IntrinsicInst.h"
Chris Lattner946b2552004-04-18 05:20:17 +000038#include <cstdio>
Reid Spencerce078332004-10-18 14:38:48 +000039#include <algorithm>
Chris Lattner946b2552004-04-18 05:20:17 +000040using namespace llvm;
41
Chris Lattner79a42ac2006-12-19 21:40:18 +000042STATISTIC(NumUnrolled, "Number of loops completely unrolled");
Chris Lattner946b2552004-04-18 05:20:17 +000043
Chris Lattner79a42ac2006-12-19 21:40:18 +000044namespace {
Chris Lattner946b2552004-04-18 05:20:17 +000045 cl::opt<unsigned>
Chris Lattnerd1525022004-04-18 18:06:14 +000046 UnrollThreshold("unroll-threshold", cl::init(100), cl::Hidden,
Chris Lattner946b2552004-04-18 05:20:17 +000047 cl::desc("The cut-off point for loop unrolling"));
48
Devang Patel9779e562007-03-07 01:38:05 +000049 class VISIBILITY_HIDDEN LoopUnroll : public LoopPass {
Chris Lattner946b2552004-04-18 05:20:17 +000050 LoopInfo *LI; // The current loop information
51 public:
Devang Patel9779e562007-03-07 01:38:05 +000052 bool runOnLoop(Loop *L, LPPassManager &LPM);
Owen Anderson62c84fe2006-08-28 02:09:46 +000053 BasicBlock* FoldBlockIntoPredecessor(BasicBlock* BB);
Chris Lattner946b2552004-04-18 05:20:17 +000054
55 /// This transformation requires natural loop information & requires that
56 /// loop preheaders be inserted into the CFG...
57 ///
58 virtual void getAnalysisUsage(AnalysisUsage &AU) const {
Chris Lattner946b2552004-04-18 05:20:17 +000059 AU.addRequiredID(LoopSimplifyID);
Owen Andersone001d812006-08-24 21:28:19 +000060 AU.addRequiredID(LCSSAID);
Chris Lattner946b2552004-04-18 05:20:17 +000061 AU.addRequired<LoopInfo>();
Owen Andersone001d812006-08-24 21:28:19 +000062 AU.addPreservedID(LCSSAID);
Chris Lattnerf2cc8412004-04-18 05:38:37 +000063 AU.addPreserved<LoopInfo>();
Chris Lattner946b2552004-04-18 05:20:17 +000064 }
65 };
Chris Lattnerc2d3d312006-08-27 22:42:52 +000066 RegisterPass<LoopUnroll> X("loop-unroll", "Unroll loops");
Chris Lattner946b2552004-04-18 05:20:17 +000067}
68
Devang Patel9779e562007-03-07 01:38:05 +000069LoopPass *llvm::createLoopUnrollPass() { return new LoopUnroll(); }
Chris Lattner946b2552004-04-18 05:20:17 +000070
71/// ApproximateLoopSize - Approximate the size of the loop after it has been
72/// unrolled.
73static unsigned ApproximateLoopSize(const Loop *L) {
74 unsigned Size = 0;
75 for (unsigned i = 0, e = L->getBlocks().size(); i != e; ++i) {
76 BasicBlock *BB = L->getBlocks()[i];
77 Instruction *Term = BB->getTerminator();
78 for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; ++I) {
79 if (isa<PHINode>(I) && BB == L->getHeader()) {
80 // Ignore PHI nodes in the header.
81 } else if (I->hasOneUse() && I->use_back() == Term) {
82 // Ignore instructions only used by the loop terminator.
Reid Spencerde46e482006-11-02 20:25:50 +000083 } else if (isa<DbgInfoIntrinsic>(I)) {
Jeff Cohen82639852005-04-23 21:38:35 +000084 // Ignore debug instructions
Chris Lattner946b2552004-04-18 05:20:17 +000085 } else {
86 ++Size;
87 }
88
89 // TODO: Ignore expressions derived from PHI and constants if inval of phi
90 // is a constant, or if operation is associative. This will get induction
91 // variables.
92 }
93 }
94
95 return Size;
96}
97
Misha Brukmanb1c93172005-04-21 23:48:37 +000098// RemapInstruction - Convert the instruction operands from referencing the
Chris Lattner946b2552004-04-18 05:20:17 +000099// current values into those specified by ValueMap.
100//
Misha Brukmanb1c93172005-04-21 23:48:37 +0000101static inline void RemapInstruction(Instruction *I,
Chris Lattner1bfc7ab2007-02-03 00:08:31 +0000102 DenseMap<const Value *, Value*> &ValueMap) {
Chris Lattner946b2552004-04-18 05:20:17 +0000103 for (unsigned op = 0, E = I->getNumOperands(); op != E; ++op) {
104 Value *Op = I->getOperand(op);
Chris Lattner1bfc7ab2007-02-03 00:08:31 +0000105 DenseMap<const Value *, Value*>::iterator It = ValueMap.find(Op);
Chris Lattner946b2552004-04-18 05:20:17 +0000106 if (It != ValueMap.end()) Op = It->second;
107 I->setOperand(op, Op);
108 }
109}
110
Owen Anderson62c84fe2006-08-28 02:09:46 +0000111// FoldBlockIntoPredecessor - Folds a basic block into its predecessor if it
112// only has one predecessor, and that predecessor only has one successor.
113// Returns the new combined block.
114BasicBlock* LoopUnroll::FoldBlockIntoPredecessor(BasicBlock* BB) {
115 // Merge basic blocks into their predecessor if there is only one distinct
116 // pred, and if there is only one distinct successor of the predecessor, and
117 // if there are no PHI nodes.
118 //
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000119 BasicBlock *OnlyPred = BB->getSinglePredecessor();
120 if (!OnlyPred) return 0;
Owen Anderson62c84fe2006-08-28 02:09:46 +0000121
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000122 if (OnlyPred->getTerminator()->getNumSuccessors() != 1)
123 return 0;
124
Bill Wendling5dbf43c2006-11-26 09:46:52 +0000125 DOUT << "Merging: " << *BB << "into: " << *OnlyPred;
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000126
127 // Resolve any PHI nodes at the start of the block. They are all
128 // guaranteed to have exactly one entry if they exist, unless there are
129 // multiple duplicate (but guaranteed to be equal) entries for the
130 // incoming edges. This occurs when there are multiple edges from
131 // OnlyPred to OnlySucc.
132 //
133 while (PHINode *PN = dyn_cast<PHINode>(&BB->front())) {
134 PN->replaceAllUsesWith(PN->getIncomingValue(0));
135 BB->getInstList().pop_front(); // Delete the phi node...
Owen Anderson62c84fe2006-08-28 02:09:46 +0000136 }
137
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000138 // Delete the unconditional branch from the predecessor...
139 OnlyPred->getInstList().pop_back();
Owen Anderson62c84fe2006-08-28 02:09:46 +0000140
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000141 // Move all definitions in the successor to the predecessor...
142 OnlyPred->getInstList().splice(OnlyPred->end(), BB->getInstList());
Owen Anderson62c84fe2006-08-28 02:09:46 +0000143
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000144 // Make all PHI nodes that referred to BB now refer to Pred as their
145 // source...
146 BB->replaceAllUsesWith(OnlyPred);
Owen Anderson62c84fe2006-08-28 02:09:46 +0000147
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000148 std::string OldName = BB->getName();
Owen Anderson62c84fe2006-08-28 02:09:46 +0000149
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000150 // Erase basic block from the function...
151 LI->removeBlock(BB);
152 BB->eraseFromParent();
Owen Anderson62c84fe2006-08-28 02:09:46 +0000153
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000154 // Inherit predecessors name if it exists...
155 if (!OldName.empty() && !OnlyPred->hasName())
156 OnlyPred->setName(OldName);
Owen Anderson62c84fe2006-08-28 02:09:46 +0000157
Owen Andersona8a2e5c2006-08-29 06:10:56 +0000158 return OnlyPred;
Owen Anderson62c84fe2006-08-28 02:09:46 +0000159}
160
Devang Patel9779e562007-03-07 01:38:05 +0000161bool LoopUnroll::runOnLoop(Loop *L, LPPassManager &LPM) {
Chris Lattner946b2552004-04-18 05:20:17 +0000162 bool Changed = false;
Devang Patel9779e562007-03-07 01:38:05 +0000163 LI = &getAnalysis<LoopInfo>();
Chris Lattner946b2552004-04-18 05:20:17 +0000164
Owen Andersone001d812006-08-24 21:28:19 +0000165 BasicBlock* Header = L->getHeader();
166 BasicBlock* LatchBlock = L->getLoopLatch();
Chris Lattner946b2552004-04-18 05:20:17 +0000167
Owen Andersone001d812006-08-24 21:28:19 +0000168 BranchInst *BI = dyn_cast<BranchInst>(LatchBlock->getTerminator());
Chris Lattner946b2552004-04-18 05:20:17 +0000169 if (BI == 0) return Changed; // Must end in a conditional branch
170
171 ConstantInt *TripCountC = dyn_cast_or_null<ConstantInt>(L->getTripCount());
172 if (!TripCountC) return Changed; // Must have constant trip count!
173
Reid Spencer29fe20a2007-03-02 23:31:34 +0000174 // Guard against huge trip counts. This also guards against assertions in
175 // APInt from the use of getZExtValue, below.
176 if (TripCountC->getValue().getActiveBits() > 32)
Chris Lattner946b2552004-04-18 05:20:17 +0000177 return Changed; // More than 2^32 iterations???
178
Reid Spencer29fe20a2007-03-02 23:31:34 +0000179 uint64_t TripCountFull = TripCountC->getZExtValue();
180 if (TripCountFull == 0)
181 return Changed; // Zero iteraitons?
182
Chris Lattner946b2552004-04-18 05:20:17 +0000183 unsigned LoopSize = ApproximateLoopSize(L);
Bill Wendling5dbf43c2006-11-26 09:46:52 +0000184 DOUT << "Loop Unroll: F[" << Header->getParent()->getName()
185 << "] Loop %" << Header->getName() << " Loop Size = "
186 << LoopSize << " Trip Count = " << TripCountFull << " - ";
Chris Lattner47f395c2005-01-08 19:37:20 +0000187 uint64_t Size = (uint64_t)LoopSize*TripCountFull;
Chris Lattnerc12c9452004-05-13 20:43:31 +0000188 if (Size > UnrollThreshold) {
Bill Wendling5dbf43c2006-11-26 09:46:52 +0000189 DOUT << "TOO LARGE: " << Size << ">" << UnrollThreshold << "\n";
Chris Lattner946b2552004-04-18 05:20:17 +0000190 return Changed;
191 }
Bill Wendling5dbf43c2006-11-26 09:46:52 +0000192 DOUT << "UNROLLING!\n";
Misha Brukmanb1c93172005-04-21 23:48:37 +0000193
Owen Andersone001d812006-08-24 21:28:19 +0000194 std::vector<BasicBlock*> LoopBlocks = L->getBlocks();
195
Chris Lattner47f395c2005-01-08 19:37:20 +0000196 unsigned TripCount = (unsigned)TripCountFull;
197
Owen Andersone001d812006-08-24 21:28:19 +0000198 BasicBlock *LoopExit = BI->getSuccessor(L->contains(BI->getSuccessor(0)));
Chris Lattner946b2552004-04-18 05:20:17 +0000199
200 // For the first iteration of the loop, we should use the precloned values for
201 // PHI nodes. Insert associations now.
Chris Lattner1bfc7ab2007-02-03 00:08:31 +0000202 DenseMap<const Value*, Value*> LastValueMap;
Chris Lattner946b2552004-04-18 05:20:17 +0000203 std::vector<PHINode*> OrigPHINode;
Owen Andersone001d812006-08-24 21:28:19 +0000204 for (BasicBlock::iterator I = Header->begin(); isa<PHINode>(I); ++I) {
Reid Spencer66149462004-09-15 17:06:42 +0000205 PHINode *PN = cast<PHINode>(I);
Chris Lattner946b2552004-04-18 05:20:17 +0000206 OrigPHINode.push_back(PN);
Owen Andersone001d812006-08-24 21:28:19 +0000207 if (Instruction *I =
208 dyn_cast<Instruction>(PN->getIncomingValueForBlock(LatchBlock)))
209 if (L->contains(I->getParent()))
Chris Lattner946b2552004-04-18 05:20:17 +0000210 LastValueMap[I] = I;
211 }
212
213 // Remove the exit branch from the loop
Owen Andersone001d812006-08-24 21:28:19 +0000214 LatchBlock->getInstList().erase(BI);
215
216 std::vector<BasicBlock*> Headers;
217 std::vector<BasicBlock*> Latches;
218 Headers.push_back(Header);
219 Latches.push_back(LatchBlock);
Chris Lattner946b2552004-04-18 05:20:17 +0000220
221 assert(TripCount != 0 && "Trip count of 0 is impossible!");
222 for (unsigned It = 1; It != TripCount; ++It) {
223 char SuffixBuffer[100];
224 sprintf(SuffixBuffer, ".%d", It);
Owen Andersone001d812006-08-24 21:28:19 +0000225
226 std::vector<BasicBlock*> NewBlocks;
227
228 for (std::vector<BasicBlock*>::iterator BB = LoopBlocks.begin(),
229 E = LoopBlocks.end(); BB != E; ++BB) {
Chris Lattner1bfc7ab2007-02-03 00:08:31 +0000230 DenseMap<const Value*, Value*> ValueMap;
Owen Andersone001d812006-08-24 21:28:19 +0000231 BasicBlock *New = CloneBasicBlock(*BB, ValueMap, SuffixBuffer);
232 Header->getParent()->getBasicBlockList().push_back(New);
Chris Lattner946b2552004-04-18 05:20:17 +0000233
Owen Andersone001d812006-08-24 21:28:19 +0000234 // Loop over all of the PHI nodes in the block, changing them to use the
235 // incoming values from the previous block.
236 if (*BB == Header)
237 for (unsigned i = 0, e = OrigPHINode.size(); i != e; ++i) {
238 PHINode *NewPHI = cast<PHINode>(ValueMap[OrigPHINode[i]]);
239 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock);
240 if (Instruction *InValI = dyn_cast<Instruction>(InVal))
241 if (It > 1 && L->contains(InValI->getParent()))
242 InVal = LastValueMap[InValI];
243 ValueMap[OrigPHINode[i]] = InVal;
244 New->getInstList().erase(NewPHI);
245 }
246
247 // Update our running map of newest clones
248 LastValueMap[*BB] = New;
Chris Lattner1bfc7ab2007-02-03 00:08:31 +0000249 for (DenseMap<const Value*, Value*>::iterator VI = ValueMap.begin(),
Owen Andersone001d812006-08-24 21:28:19 +0000250 VE = ValueMap.end(); VI != VE; ++VI)
251 LastValueMap[VI->first] = VI->second;
252
253 L->addBasicBlockToLoop(New, *LI);
254
255 // Add phi entries for newly created values to all exit blocks except
256 // the successor of the latch block. The successor of the exit block will
257 // be updated specially after unrolling all the way.
258 if (*BB != LatchBlock)
259 for (Value::use_iterator UI = (*BB)->use_begin(), UE = (*BB)->use_end();
260 UI != UE; ++UI) {
261 Instruction* UseInst = cast<Instruction>(*UI);
262 if (isa<PHINode>(UseInst) && !L->contains(UseInst->getParent())) {
263 PHINode* phi = cast<PHINode>(UseInst);
264 Value* Incoming = phi->getIncomingValueForBlock(*BB);
265 if (isa<Instruction>(Incoming))
266 Incoming = LastValueMap[Incoming];
267
268 phi->addIncoming(Incoming, New);
269 }
270 }
271
272 // Keep track of new headers and latches as we create them, so that
273 // we can insert the proper branches later.
274 if (*BB == Header)
275 Headers.push_back(New);
276 if (*BB == LatchBlock)
277 Latches.push_back(New);
278
279 NewBlocks.push_back(New);
Chris Lattner946b2552004-04-18 05:20:17 +0000280 }
Owen Andersone001d812006-08-24 21:28:19 +0000281
282 // Remap all instructions in the most recent iteration
283 for (unsigned i = 0; i < NewBlocks.size(); ++i)
284 for (BasicBlock::iterator I = NewBlocks[i]->begin(),
285 E = NewBlocks[i]->end(); I != E; ++I)
Chris Lattner230bcb62004-04-18 17:32:39 +0000286 RemapInstruction(I, LastValueMap);
Chris Lattner230bcb62004-04-18 17:32:39 +0000287 }
Chris Lattner946b2552004-04-18 05:20:17 +0000288
Owen Andersone001d812006-08-24 21:28:19 +0000289
Owen Andersone001d812006-08-24 21:28:19 +0000290
291 // Update PHI nodes that reference the final latch block
292 if (TripCount > 1) {
Chris Lattner1bfc7ab2007-02-03 00:08:31 +0000293 SmallPtrSet<PHINode*, 8> Users;
Owen Andersone001d812006-08-24 21:28:19 +0000294 for (Value::use_iterator UI = LatchBlock->use_begin(),
295 UE = LatchBlock->use_end(); UI != UE; ++UI)
296 if (PHINode* phi = dyn_cast<PHINode>(*UI))
297 Users.insert(phi);
298
Chris Lattner1bfc7ab2007-02-03 00:08:31 +0000299 for (SmallPtrSet<PHINode*,8>::iterator SI = Users.begin(), SE = Users.end();
Owen Andersone001d812006-08-24 21:28:19 +0000300 SI != SE; ++SI) {
301 Value* InVal = (*SI)->getIncomingValueForBlock(LatchBlock);
302 if (isa<Instruction>(InVal))
303 InVal = LastValueMap[InVal];
304 (*SI)->removeIncomingValue(LatchBlock, false);
Owen Anderson403b95a2006-08-25 22:13:55 +0000305 if (InVal)
306 (*SI)->addIncoming(InVal, cast<BasicBlock>(LastValueMap[LatchBlock]));
Devang Patelabdff3f2007-04-16 23:03:45 +0000307 if ((*SI)->getNumIncomingValues() == 0) {
308 // Remove this phi node.
309 // If anyone is using this PHI, make them use a dummy value instead...
310 (*SI)->replaceAllUsesWith(UndefValue::get((*SI)->getType()));
311 (*SI)->eraseFromParent();
312 }
Owen Andersone001d812006-08-24 21:28:19 +0000313 }
314 }
Chris Lattner946b2552004-04-18 05:20:17 +0000315
316 // Now loop over the PHI nodes in the original block, setting them to their
317 // incoming values.
318 BasicBlock *Preheader = L->getLoopPreheader();
319 for (unsigned i = 0, e = OrigPHINode.size(); i != e; ++i) {
320 PHINode *PN = OrigPHINode[i];
321 PN->replaceAllUsesWith(PN->getIncomingValueForBlock(Preheader));
Owen Andersone001d812006-08-24 21:28:19 +0000322 Header->getInstList().erase(PN);
Owen Anderson62c84fe2006-08-28 02:09:46 +0000323 }
324
325 // Insert the branches that link the different iterations together
326 for (unsigned i = 0; i < Latches.size()-1; ++i) {
327 new BranchInst(Headers[i+1], Latches[i]);
328 if(BasicBlock* Fold = FoldBlockIntoPredecessor(Headers[i+1])) {
329 std::replace(Latches.begin(), Latches.end(), Headers[i+1], Fold);
330 std::replace(Headers.begin(), Headers.end(), Headers[i+1], Fold);
331 }
332 }
333
334 // Finally, add an unconditional branch to the block to continue into the exit
335 // block.
336 new BranchInst(LoopExit, Latches[Latches.size()-1]);
337 FoldBlockIntoPredecessor(LoopExit);
338
Chris Lattner946b2552004-04-18 05:20:17 +0000339 // At this point, the code is well formed. We now do a quick sweep over the
340 // inserted code, doing constant propagation and dead code elimination as we
341 // go.
Owen Andersone001d812006-08-24 21:28:19 +0000342 const std::vector<BasicBlock*> &NewLoopBlocks = L->getBlocks();
343 for (std::vector<BasicBlock*>::const_iterator BB = NewLoopBlocks.begin(),
Owen Anderson62c84fe2006-08-28 02:09:46 +0000344 BBE = NewLoopBlocks.end(); BB != BBE; ++BB)
Owen Andersone001d812006-08-24 21:28:19 +0000345 for (BasicBlock::iterator I = (*BB)->begin(), E = (*BB)->end(); I != E; ) {
346 Instruction *Inst = I++;
Misha Brukmanb1c93172005-04-21 23:48:37 +0000347
Owen Andersone001d812006-08-24 21:28:19 +0000348 if (isInstructionTriviallyDead(Inst))
349 (*BB)->getInstList().erase(Inst);
350 else if (Constant *C = ConstantFoldInstruction(Inst)) {
351 Inst->replaceAllUsesWith(C);
352 (*BB)->getInstList().erase(Inst);
353 }
Chris Lattner946b2552004-04-18 05:20:17 +0000354 }
Chris Lattner946b2552004-04-18 05:20:17 +0000355
Chris Lattnerf2cc8412004-04-18 05:38:37 +0000356 // Update the loop information for this loop.
Chris Lattnerf2cc8412004-04-18 05:38:37 +0000357 // Remove the loop from the parent.
Devang Patel9779e562007-03-07 01:38:05 +0000358 LPM.deleteLoopFromQueue(L);
Chris Lattnerf2cc8412004-04-18 05:38:37 +0000359
Chris Lattner946b2552004-04-18 05:20:17 +0000360 ++NumUnrolled;
361 return true;
362}