Lines Matching refs:CurrentTruncInst
82 Worklist.push_back(CurrentTruncInst->getOperand(0)); in buildTruncExpressionDag()
153 Value *Src = CurrentTruncInst->getOperand(0); in getMinBitWidth()
154 Type *DstTy = CurrentTruncInst->getType(); in getMinBitWidth()
157 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getMinBitWidth()
256 if (UI != CurrentTruncInst && !InstInfoMap.count(UI)) { in getBestTruncatedType()
271 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getBestTruncatedType()
283 return IntegerType::get(CurrentTruncInst->getContext(), MinBitWidth); in getBestTruncatedType()
381 Value *Res = getReducedOperand(CurrentTruncInst->getOperand(0), SclTy); in ReduceExpressionDag()
382 Type *DstTy = CurrentTruncInst->getType(); in ReduceExpressionDag()
384 IRBuilder<> Builder(CurrentTruncInst); in ReduceExpressionDag()
387 ResI->takeName(CurrentTruncInst); in ReduceExpressionDag()
389 CurrentTruncInst->replaceAllUsesWith(Res); in ReduceExpressionDag()
395 CurrentTruncInst->eraseFromParent(); in ReduceExpressionDag()
422 CurrentTruncInst = Worklist.pop_back_val(); in run()
428 << CurrentTruncInst << '\n'); in run()