Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1361 unsigned WidthDiff = BitWidth - SrcWidth; in visitLShr() local
1364 if (ShAmtC >= WidthDiff) { in visitLShr()
1366 Value *NewShift = Builder.CreateLShr(NarrowSwap, ShAmtC - WidthDiff); in visitLShr()
1371 Constant *ShiftDiff = ConstantInt::get(Ty, WidthDiff - ShAmtC); in visitLShr()
H A DInstCombineCasts.cpp994 Value *WidthDiff = ConstantInt::get(A->getType(), SrcWidth - AWidth); in visitTrunc() local
997 return BinaryOperator::CreateAdd(NarrowCtlz, WidthDiff); in visitTrunc()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp6737 TypeSize WidthDiff = WidenWidth - LdWidth; in GenWidenVectorLoads() local
6746 WidthDiff.getKnownMinValue()); in GenWidenVectorLoads()
6765 WidenVT, LdAlign, WidthDiff.getKnownMinValue()); in GenWidenVectorLoads()