Searched refs:isLeftShift (Results 1 – 1 of 1) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 594 static Value *getShiftedValue(Value *V, unsigned NumBits, bool isLeftShift, in getShiftedValue() argument 598 if (isLeftShift) in getShiftedValue() 614 0, getShiftedValue(I->getOperand(0), NumBits, isLeftShift, IC, DL)); in getShiftedValue() 621 return foldShiftedShift(cast<BinaryOperator>(I), NumBits, isLeftShift, in getShiftedValue() 637 isLeftShift, IC, DL)); in getShiftedValue() 664 bool isLeftShift = I.getOpcode() == Instruction::Shl; in FoldShiftByConstant() local 744 if (isLeftShift && Op0BO->getOperand(1)->hasOneUse() && in FoldShiftByConstant() 760 if (isLeftShift && Op0BOOp1->hasOneUse() && in FoldShiftByConstant() 776 if (isLeftShift && Op0BO->getOperand(0)->hasOneUse() && in FoldShiftByConstant() 791 if (isLeftShift && Op0BO->getOperand(0)->hasOneUse() && in FoldShiftByConstant() [all …]
|