Home
last modified time | relevance | path

Searched refs:CurrentTruncInst (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp82 Worklist.push_back(CurrentTruncInst->getOperand(0)); in buildTruncExpressionDag()
153 Value *Src = CurrentTruncInst->getOperand(0); in getMinBitWidth()
154 Type *DstTy = CurrentTruncInst->getType(); in getMinBitWidth()
256 if (UI != CurrentTruncInst && !InstInfoMap.count(UI)) { in getBestTruncatedType()
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()
[all …]
H A DAggressiveInstCombineInternal.h60 TruncInst *CurrentTruncInst; variable
80 : TLI(TLI), DL(DL), DT(DT), CurrentTruncInst(nullptr) {} in TruncInstCombine()