Home
last modified time | relevance | path

Searched refs:WidthDiff (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1449 unsigned WidthDiff = BitWidth - SrcWidth; in visitLShr() local
1452 if (ShAmtC >= WidthDiff) { in visitLShr()
1454 Value *NewShift = Builder.CreateLShr(NarrowSwap, ShAmtC - WidthDiff); in visitLShr()
1459 Constant *ShiftDiff = ConstantInt::get(Ty, WidthDiff - ShAmtC); in visitLShr()
H A DInstCombineCasts.cpp866 Value *WidthDiff = ConstantInt::get(A->getType(), SrcWidth - AWidth); in visitTrunc() local
869 return BinaryOperator::CreateAdd(NarrowCtlz, WidthDiff); in visitTrunc()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp7020 TypeSize WidthDiff = WidenWidth - LdWidth; in GenWidenVectorLoads() local
7029 WidthDiff.getKnownMinValue()); in GenWidenVectorLoads()
7048 WidenVT, LdAlign, WidthDiff.getKnownMinValue()); in GenWidenVectorLoads()