Searched refs:isLeftShift (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 258 static Value *getShiftedValue(Value *V, unsigned NumBits, bool isLeftShift, in getShiftedValue() argument 262 if (isLeftShift) in getShiftedValue() 284 0, getShiftedValue(I->getOperand(0), NumBits, isLeftShift, IC, DL)); in getShiftedValue() 291 return foldShiftedShift(cast<BinaryOperator>(I), NumBits, isLeftShift, in getShiftedValue() 307 isLeftShift, IC, DL)); in getShiftedValue() 349 bool isLeftShift = I.getOpcode() == Instruction::Shl; in FoldShiftByConstant() local 436 if (isLeftShift && Op0BO->getOperand(1)->hasOneUse() && in FoldShiftByConstant() 455 if (isLeftShift && Op0BOOp1->hasOneUse() && in FoldShiftByConstant() 471 if (isLeftShift && Op0BO->getOperand(0)->hasOneUse() && in FoldShiftByConstant() 489 if (isLeftShift && Op0BO->getOperand(0)->hasOneUse() && in FoldShiftByConstant() [all …]
|