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.cpp1573 unsigned WidthDiff = BitWidth - SrcWidth; in visitLShr() local
1576 if (ShAmtC >= WidthDiff) { in visitLShr()
1578 Value *NewShift = Builder.CreateLShr(NarrowSwap, ShAmtC - WidthDiff); in visitLShr()
1583 Constant *ShiftDiff = ConstantInt::get(Ty, WidthDiff - ShAmtC); in visitLShr()
H A DInstCombineCasts.cpp932 Value *WidthDiff = ConstantInt::get(A->getType(), SrcWidth - AWidth); in visitTrunc() local
935 return BinaryOperator::CreateAdd(NarrowCtlz, WidthDiff); in visitTrunc()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp7934 TypeSize WidthDiff = WidenWidth - LdWidth; in GenWidenVectorLoads() local
7943 WidthDiff.getKnownMinValue()); in GenWidenVectorLoads()
7962 WidenVT, LdAlign, WidthDiff.getKnownMinValue()); in GenWidenVectorLoads()