Lines Matching refs:CurrentTruncInst
71 Worklist.push_back(CurrentTruncInst->getOperand(0)); in buildTruncExpressionDag()
142 Value *Src = CurrentTruncInst->getOperand(0); in getMinBitWidth()
143 Type *DstTy = CurrentTruncInst->getType(); in getMinBitWidth()
146 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getMinBitWidth()
245 if (UI != CurrentTruncInst && !InstInfoMap.count(UI)) { in getBestTruncatedType()
260 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getBestTruncatedType()
272 return IntegerType::get(CurrentTruncInst->getContext(), MinBitWidth); in getBestTruncatedType()
364 Value *Res = getReducedOperand(CurrentTruncInst->getOperand(0), SclTy); in ReduceExpressionDag()
365 Type *DstTy = CurrentTruncInst->getType(); in ReduceExpressionDag()
367 IRBuilder<> Builder(CurrentTruncInst); in ReduceExpressionDag()
370 ResI->takeName(CurrentTruncInst); in ReduceExpressionDag()
372 CurrentTruncInst->replaceAllUsesWith(Res); in ReduceExpressionDag()
378 CurrentTruncInst->eraseFromParent(); in ReduceExpressionDag()
405 CurrentTruncInst = Worklist.pop_back_val(); in run()
411 << CurrentTruncInst << '\n'); in run()