Lines Matching refs:Engine
11 // engine, which structurally compares global values within a module.
116 /// A function-scope difference engine.
118 DifferenceEngine &Engine;
164 Engine.logf("successor %l cannot be equivalent to %r; "
178 DifferenceEngine::Context C(Engine, L, R);
195 DifferenceEngine::Context C(Engine, L, R);
233 if (Complain) Engine.log("called functions differ");
237 if (Complain) Engine.log("argument counts differ");
243 Engine.logf("arguments %l and %r differ")
255 if (Complain) Engine.log("different instruction types");
262 if (Complain) Engine.log("different predicates");
273 if (Complain) Engine.log("different phi types");
296 if (Complain) Engine.log("branch conditionality differs");
302 if (Complain) Engine.log("branch conditions differ");
314 if (Complain) Engine.log("switch conditions differ");
332 Engine.logf("right switch has extra case %r") << CaseValue;
340 Engine.logf("left switch has extra case %l") << I->first;
349 if (Complain) Engine.log("instructions have different operand counts");
356 if (Complain) Engine.logf("operands %l and %r differ") << LO << RO;
372 // Ask the engine about global values.
374 return Engine.equivalentAsOperands(cast<GlobalValue>(L),
456 FunctionDifferenceEngine(DifferenceEngine &Engine) :
457 Engine(Engine), Queue(QueueSorter(*this_())) {}
461 Engine.log("different argument counts");
547 DiffLogBuilder Diff(Engine.getConsumer());