Lines Matching refs:Edge
58 typedef std::pair<const BType*, const BType*> Edge;
59 typedef std::pair<Edge, double> EdgeWeight;
60 typedef std::map<Edge, double> EdgeWeights;
87 // getFunction() - Returns the Function for an Edge, checking for validity.
88 static const FType* getFunction(Edge e) {
93 llvm_unreachable("Invalid ProfileInfo::Edge");
96 // getEdge() - Creates an Edge from two BasicBlocks.
97 static Edge getEdge(const BType *Src, const BType *Dest) {
112 double getEdgeWeight(Edge e) const {
123 void setEdgeWeight(Edge e, double w) {
125 dbgs() << "Creating Edge " << e
130 void addEdgeWeight(Edge e, double w);
141 void removeEdge(Edge e);
143 void replaceEdge(const Edge &, const Edge &);
155 void divertFlow(const Edge &, const Edge &);
222 bool CalculateMissingEdge(const BType *BB, Edge &removed, bool assumeEmptyExit = false);