Home
last modified time | relevance | path

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

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