Lines Matching refs:Engine
11 // engine, which structurally compares global values within a module.
113 /// A function-scope difference engine.
115 DifferenceEngine &Engine;
161 Engine.logf("successor %l cannot be equivalent to %r; "
175 DifferenceEngine::Context C(Engine, L, R);
192 DifferenceEngine::Context C(Engine, L, R);
229 if (Complain) Engine.log("called functions differ");
233 if (Complain) Engine.log("argument counts differ");
239 Engine.logf("arguments %l and %r differ")
251 if (Complain) Engine.log("different instruction types");
258 if (Complain) Engine.log("different predicates");
269 if (Complain) Engine.log("different phi types");
292 if (Complain) Engine.log("branch conditionality differs");
298 if (Complain) Engine.log("branch conditions differ");
310 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());