Lines Matching refs:CurrentTruncInst
94 Worklist.push_back(CurrentTruncInst->getOperand(0)); in buildTruncExpressionGraph()
179 Value *Src = CurrentTruncInst->getOperand(0); in getMinBitWidth()
180 Type *DstTy = CurrentTruncInst->getType(); in getMinBitWidth()
183 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getMinBitWidth()
282 if (UI != CurrentTruncInst && !InstInfoMap.count(UI)) { in getBestTruncatedType()
297 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getBestTruncatedType()
353 return IntegerType::get(CurrentTruncInst->getContext(), MinBitWidth); in getBestTruncatedType()
489 Value *Res = getReducedOperand(CurrentTruncInst->getOperand(0), SclTy); in ReduceExpressionGraph()
490 Type *DstTy = CurrentTruncInst->getType(); in ReduceExpressionGraph()
492 IRBuilder<> Builder(CurrentTruncInst); in ReduceExpressionGraph()
495 ResI->takeName(CurrentTruncInst); in ReduceExpressionGraph()
497 CurrentTruncInst->replaceAllUsesWith(Res); in ReduceExpressionGraph()
501 CurrentTruncInst->eraseFromParent(); in ReduceExpressionGraph()
542 CurrentTruncInst = Worklist.pop_back_val(); in run()
548 << CurrentTruncInst << '\n'); in run()