Lines Matching refs:TruncInst
9 // TruncInstCombine - looks for expression graphs post-dominated by TruncInst
14 // 2. Supported leaves: ZExtInst, SExtInst, TruncInst and Constant value.
402 assert(!isa<TruncInst>(I) && "Cannot reach here with TruncInst");
413 // 1. Update Old-TruncInst -> New-TruncInst.
414 // 2. Remove Old-TruncInst (if New node is not TruncInst).
415 // 3. Add New-TruncInst (if Old node was not TruncInst).
418 if (auto *NewCI = dyn_cast<TruncInst>(Res))
422 } else if (auto *NewCI = dyn_cast<TruncInst>(Res))
528 // Collect all TruncInst in the function into the Worklist for evaluating.
534 if (auto *CI = dyn_cast<TruncInst>(&I))
538 // Process all TruncInst in the Worklist, for each instruction: