Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion llvm/include/llvm/IR/CycleInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@

namespace llvm {

using CycleInfo = GenericCycleInfo<SSAContext>;
// Use class instead of using to allow forward declarations.
class CycleInfo : public GenericCycleInfo<SSAContext> {};

using Cycle = CycleInfo::CycleT;

} // namespace llvm
Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/CycleInfo.h"
#include "llvm/IR/Dominators.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Printable.h"
#include <cassert>

namespace llvm {
class CondBrInst;
class CycleInfo;
class LandingPadInst;
class Loop;
class PHINode;
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Transforms/Utils/ControlFlowUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/CycleInfo.h"

namespace llvm {

Expand Down
1 change: 1 addition & 0 deletions llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/CycleInfo.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/Dominators.h"
Expand Down