Lines Matching defs:source
5 // This file is distributed under the University of Illinois Open Source
111 BLInstrumentationEdge(BLInstrumentationNode* source,
145 // Returns the successor number of this edge in the source.
208 // Removes phony edges from the successor list of the source, and the
228 // necessary. Parameters source and target will have been created by
232 BallLarusNode* source, BallLarusNode* target, unsigned edgeNumber);
294 // Inserts source's pathNumber Value* into target. Target may or may not
298 BLInstrumentationNode* source, BLInstrumentationNode* target);
300 // Inserts source's pathNumber Value* into the appropriate slot of
303 BLInstrumentationNode* target, BLInstrumentationNode* source);
323 // Pre: The edge's source node has pathNumber set if edge is non zero
409 BLInstrumentationEdge::BLInstrumentationEdge(BLInstrumentationNode* source,
411 : BallLarusEdge(source, target, 0),
481 // Returns the successor number of this edge in the source.
485 BasicBlock* source = sourceNode->getBlock();
488 if(source == NULL || target == NULL)
491 TerminatorInst* terminator = source->getTerminator();
647 // Removes phony edges from the successor list of the source, and the
734 BallLarusEdge* BLInstrumentationDag::createEdge(BallLarusNode* source,
738 return( new BLInstrumentationEdge((BLInstrumentationNode*)source,
825 BallLarusNode* source;
827 source = edge->getSource();
828 if(source->getNumberSuccEdges() > 1 || source == getRoot()
832 for(BLEdgeIterator previous = source->predBegin(),
833 end = source->predEnd(); previous != end; previous++) {
951 // Inserts source's pathNumber Value* into target. Target may or may not
954 void PathProfiler::pushValueIntoNode(BLInstrumentationNode* source,
963 target->setStartingPathNumber(source->getEndingPathNumber());
964 target->setEndingPathNumber(source->getEndingPathNumber());
966 << (source->getEndingPathNumber() ? "" : " (null)")
974 pushValueIntoPHI(target, source);
980 // Inserts source's pathNumber Value* into the appropriate slot of
983 BLInstrumentationNode* source) {
987 phi->removeIncomingValue(source->getBlock(), false);
988 phi->addIncoming(source->getEndingPathNumber(), source->getBlock());
1070 // Pre: The edge's source node has pathNumber set if edge is non zero
1094 // Source node has only 1 successor so any information can be simply