Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp93 Worklist.push_back(CurrentTruncInst->getOperand(0)); in buildTruncExpressionGraph()
178 Value *Src = CurrentTruncInst->getOperand(0); in getMinBitWidth()
179 Type *DstTy = CurrentTruncInst->getType(); in getMinBitWidth()
182 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getMinBitWidth()
281 if (UI != CurrentTruncInst && !InstInfoMap.count(UI)) { in getBestTruncatedType()
296 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getBestTruncatedType()
352 return IntegerType::get(CurrentTruncInst->getContext(), MinBitWidth); in getBestTruncatedType()
488 Value *Res = getReducedOperand(CurrentTruncInst->getOperand(0), SclTy); in ReduceExpressionGraph()
489 Type *DstTy = CurrentTruncInst->getType(); in ReduceExpressionGraph()
491 IRBuilder<> Builder(CurrentTruncInst); in ReduceExpressionGraph()
[all …]
H A DAggressiveInstCombineInternal.h62 TruncInst *CurrentTruncInst = nullptr; variable
111 /*CtxI=*/cast<Instruction>(CurrentTruncInst), in computeKnownBits()
117 V, DL, &AC, /*CtxI=*/cast<Instruction>(CurrentTruncInst), &DT); in ComputeNumSignBits()