Lines Matching refs:InstResult
196 Constant *InstResult = nullptr;
274 InstResult = ConstantExpr::get(BO->getOpcode(),
277 DEBUG(dbgs() << "Found a BinaryOperator! Simplifying: " << *InstResult
280 InstResult = ConstantExpr::getCompare(CI->getPredicate(),
283 DEBUG(dbgs() << "Found a CmpInst! Simplifying: " << *InstResult
286 InstResult = ConstantExpr::getCast(CI->getOpcode(),
289 DEBUG(dbgs() << "Found a Cast! Simplifying: " << *InstResult
292 InstResult = ConstantExpr::getSelect(getVal(SI->getOperand(0)),
295 DEBUG(dbgs() << "Found a Select! Simplifying: " << *InstResult
298 InstResult = ConstantExpr::getExtractValue(
300 DEBUG(dbgs() << "Found an ExtractValueInst! Simplifying: " << *InstResult
303 InstResult = ConstantExpr::getInsertValue(
306 DEBUG(dbgs() << "Found an InsertValueInst! Simplifying: " << *InstResult
314 InstResult =
317 DEBUG(dbgs() << "Found a GEP! Simplifying: " << *InstResult
332 InstResult = ComputeLoadResult(Ptr);
333 if (!InstResult) {
339 DEBUG(dbgs() << "Evaluated load: " << *InstResult << "\n");
349 InstResult = AllocaTmps.back().get();
350 DEBUG(dbgs() << "Found an alloca. Result: " << *InstResult << "\n");
442 InstResult = C;
444 *InstResult << "\n");
463 InstResult = RetVal;
465 if (InstResult) {
467 << *InstResult << "\n\n");
515 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(InstResult))
516 InstResult = ConstantFoldConstantExpression(CE, DL, TLI);
518 setVal(&*CurInst, InstResult);