Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1546 unsigned WidthDiff = BitWidth - SrcWidth; in visitLShr() local
1549 if (ShAmtC >= WidthDiff) { in visitLShr()
1551 Value *NewShift = Builder.CreateLShr(NarrowSwap, ShAmtC - WidthDiff); in visitLShr()
1556 Constant *ShiftDiff = ConstantInt::get(Ty, WidthDiff - ShAmtC); in visitLShr()
H A DInstCombineCasts.cpp887 Value *WidthDiff = ConstantInt::get(A->getType(), SrcWidth - AWidth); in visitTrunc() local
890 return BinaryOperator::CreateAdd(NarrowCtlz, WidthDiff); in visitTrunc()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp7415 TypeSize WidthDiff = WidenWidth - LdWidth; in GenWidenVectorLoads()
7424 WidthDiff.getKnownMinValue()); in GenWidenVectorLoads()
7443 WidenVT, LdAlign, WidthDiff.getKnownMinValue()); in GenWidenVectorLoads()
7411 TypeSize WidthDiff = WidenWidth - LdWidth; GenWidenVectorLoads() local