LLVM API Documentation

CompilationGraph.cpp File Reference

#include "llvm/CompilerDriver/BuiltinOptions.h"
#include "llvm/CompilerDriver/CompilationGraph.h"
#include "llvm/CompilerDriver/Error.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/DOTGraphTraits.h"
#include "llvm/Support/GraphWriter.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cstring>
#include <iterator>
#include <limits>
#include <queue>
#include <stdexcept>

Include dependency graph for CompilationGraph.cpp:

Go to the source code of this file.

Namespaces

namespace  llvmc
namespace  llvm

Classes

struct  llvm::DOTGraphTraits< llvmc::CompilationGraph * >

Functions

template<class C>
const Edge * ChooseEdge (const C &EdgesContainer, const InputLanguagesSet &InLangs, const std::string &NodeName="root")
 ChooseEdge - Return the edge with the maximum weight.
bool NotJoinNode (const Node *N)


Function Documentation

template<class C>
const Edge* @702::ChooseEdge ( const C &  EdgesContainer,
const InputLanguagesSet &  InLangs,
const std::string &  NodeName = "root" 
) [inline, static]

ChooseEdge - Return the edge with the maximum weight.

Definition at line 47 of file CompilationGraph.cpp.

References E, and llvmc::Edge::Weight().

Referenced by llvmc::CompilationGraph::Build().

bool @702::NotJoinNode ( const Node *  N  )  [static]

Definition at line 280 of file CompilationGraph.cpp.

References llvmc::Node::ToolPtr.