LLVM API Documentation

LoopInfo.cpp File Reference

#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Constants.h"
#include "llvm/Instructions.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/CFG.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include <algorithm>
#include <iostream>

Include dependency graph for LoopInfo.cpp:

Go to the source code of this file.

Functions

static bool isNotAlreadyContainedIn (Loop *SubLoop, Loop *ParentLoop)
template<typename T>
static void RemoveFromVector (std::vector< T * > &V, T *N)

Variables

static RegisterAnalysis< LoopInfoX ("loops","Natural Loop Construction", true)


Function Documentation

static bool isNotAlreadyContainedIn ( Loop SubLoop,
Loop ParentLoop 
) [static]

Definition at line 132 of file LoopInfo.cpp.

References llvm::Loop::getParentLoop().

template<typename T>
static void RemoveFromVector ( std::vector< T * > &  V,
T N 
) [static]

Definition at line 535 of file LoopInfo.cpp.

Referenced by llvm::Loop::removeBlockFromLoop().


Variable Documentation

RegisterAnalysis<LoopInfo> X("loops","Natural Loop Construction", true) [static]