Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp206 Type *NarrowestTy = OuterShift->getType(); in dropRedundantMaskingOfLeftShiftInput() local
208 bool HadTrunc = WidestTy != NarrowestTy; in dropRedundantMaskingOfLeftShiftInput()
312 NewMask = ConstantExpr::getTrunc(NewMask, NarrowestTy); in dropRedundantMaskingOfLeftShiftInput()
330 X = Builder.CreateTrunc(X, NarrowestTy); in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombineCompares.cpp4520 Type *NarrowestTy = NarrowestShift->getType(); in foldShiftIntoShiftInAnotherHandOfAndInICmp() local
4521 assert(NarrowestTy == I.getOperand(0)->getType() && in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4571 (NarrowestTy->getScalarSizeInBits() - 1); in foldShiftIntoShiftInAnotherHandOfAndInICmp()