aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/LoopUtils.h
blob: 4745eba079aee97e22ac4460665c850dfc6d7e76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===- llvm/Transforms/Utils/LoopUtils.h - Loop utilities -*- C++ -*-=========//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file defines some loop transformation utilities.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_TRANSFORMS_UTILS_LOOPUTILS_H
#define LLVM_TRANSFORMS_UTILS_LOOPUTILS_H

namespace llvm {

class Loop;
class Pass;

BasicBlock *InsertPreheaderForLoop(Loop *L, Pass *P);

}

#endif