Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
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()
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()
[all …]
DAggressiveInstCombineInternal.h59 TruncInst *CurrentTruncInst; variable
79 : TLI(TLI), DL(DL), DT(DT), CurrentTruncInst(nullptr) {} in TruncInstCombine()