Lines Matching refs:DEBUG
198 DEBUG(dbgs() << "Evaluating Instruction: " << *CurInst << "\n"); in EvaluateBlock()
202 DEBUG(dbgs() << "Store is not simple! Can not evaluate.\n"); in EvaluateBlock()
207 DEBUG(dbgs() << "Folding constant ptr expression: " << *Ptr); in EvaluateBlock()
209 DEBUG(dbgs() << "; To: " << *Ptr << "\n"); in EvaluateBlock()
213 DEBUG(dbgs() << "Pointer is too complex for us to evaluate store."); in EvaluateBlock()
222 DEBUG(dbgs() << "Store value is too complex to evaluate store. " << *Val in EvaluateBlock()
229 DEBUG(dbgs() << "Attempting to resolve bitcast on constant ptr.\n"); in EvaluateBlock()
258 DEBUG(dbgs() << "Failed to bitcast constant ptr, can not " in EvaluateBlock()
268 DEBUG(dbgs() << "Evaluated bitcast: " << *Val << "\n"); in EvaluateBlock()
277 DEBUG(dbgs() << "Found a BinaryOperator! Simplifying: " << *InstResult in EvaluateBlock()
283 DEBUG(dbgs() << "Found a CmpInst! Simplifying: " << *InstResult in EvaluateBlock()
289 DEBUG(dbgs() << "Found a Cast! Simplifying: " << *InstResult in EvaluateBlock()
295 DEBUG(dbgs() << "Found a Select! Simplifying: " << *InstResult in EvaluateBlock()
300 DEBUG(dbgs() << "Found an ExtractValueInst! Simplifying: " << *InstResult in EvaluateBlock()
306 DEBUG(dbgs() << "Found an InsertValueInst! Simplifying: " << *InstResult in EvaluateBlock()
317 DEBUG(dbgs() << "Found a GEP! Simplifying: " << *InstResult in EvaluateBlock()
322 DEBUG(dbgs() << "Found a Load! Not a simple load, can not evaluate.\n"); in EvaluateBlock()
329 DEBUG(dbgs() << "Found a constant pointer expression, constant " in EvaluateBlock()
334 DEBUG(dbgs() << "Failed to compute load result. Can not evaluate load." in EvaluateBlock()
339 DEBUG(dbgs() << "Evaluated load: " << *InstResult << "\n"); in EvaluateBlock()
342 DEBUG(dbgs() << "Found an array alloca. Can not evaluate.\n"); in EvaluateBlock()
350 DEBUG(dbgs() << "Found an alloca. Result: " << *InstResult << "\n"); in EvaluateBlock()
356 DEBUG(dbgs() << "Ignoring debug info.\n"); in EvaluateBlock()
363 DEBUG(dbgs() << "Found inline asm, can not evaluate.\n"); in EvaluateBlock()
370 DEBUG(dbgs() << "Can not optimize a volatile memset " << in EvaluateBlock()
379 DEBUG(dbgs() << "Ignoring no-op memset.\n"); in EvaluateBlock()
387 DEBUG(dbgs() << "Ignoring lifetime intrinsic.\n"); in EvaluateBlock()
396 DEBUG(dbgs() << "Found unused invariant_start. Can't evaluate.\n"); in EvaluateBlock()
408 DEBUG(dbgs() << "Found a global var that is an invariant: " << *GV in EvaluateBlock()
411 DEBUG(dbgs() << "Found a global var, but can not treat it as an " in EvaluateBlock()
419 DEBUG(dbgs() << "Skipping assume intrinsic.\n"); in EvaluateBlock()
424 DEBUG(dbgs() << "Unknown intrinsic. Can not evaluate.\n"); in EvaluateBlock()
431 DEBUG(dbgs() << "Can not resolve function pointer.\n"); in EvaluateBlock()
443 DEBUG(dbgs() << "Constant folded function call. Result: " << in EvaluateBlock()
446 DEBUG(dbgs() << "Can not constant fold function call.\n"); in EvaluateBlock()
451 DEBUG(dbgs() << "Can not constant fold vararg function call.\n"); in EvaluateBlock()
459 DEBUG(dbgs() << "Failed to evaluate function.\n"); in EvaluateBlock()
466 DEBUG(dbgs() << "Successfully evaluated function. Result: " in EvaluateBlock()
469 DEBUG(dbgs() << "Successfully evaluated function. Result: 0\n\n"); in EvaluateBlock()
473 DEBUG(dbgs() << "Found a terminator instruction.\n"); in EvaluateBlock()
500 DEBUG(dbgs() << "Can not handle terminator."); in EvaluateBlock()
505 DEBUG(dbgs() << "Successfully evaluated block.\n"); in EvaluateBlock()
509 DEBUG(dbgs() << "Failed to evaluate block due to unhandled instruction." in EvaluateBlock()
524 DEBUG(dbgs() << "Found an invoke instruction. Finished Block.\n\n"); in EvaluateBlock()
563 DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n"); in EvaluateFunction()