Home | History | Annotate | Download | only in llvm-diff

Lines Matching refs:Function

1 //===-- DifferenceEngine.cpp - Structural function/module comparison ------===//
22 #include "llvm/IR/Function.h"
114 /// A function-scope difference engine.
461 void diff(Function *L, Function *R) {
466 for (Function::arg_iterator
635 void DifferenceEngine::diff(Function *L, Function *R) {
646 log("left function is declaration, right function is definition");
648 log("right function is declaration, left function is definition");
655 SmallVector<std::pair<Function*,Function*>, 20> Queue;
658 Function *LFn = &*I;
661 if (Function *RFn = R->getFunction(LFn->getName()))
664 logf("function %l exists only in left module") << LFn;
668 Function *RFn = &*I;
670 logf("function %r exists only in right module") << RFn;
673 for (SmallVectorImpl<std::pair<Function*,Function*> >::iterator