Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:dyn_cast

34     if (SelectInst *SI = dyn_cast<SelectInst>(Op1))
38 if (Constant *CUI = dyn_cast<Constant>(Op1))
67 auto *SecondShiftConst = dyn_cast<ConstantInt>(SecondShift->getOperand(1));
121 Instruction *I = dyn_cast<Instruction>(V);
191 if (Constant *C = dyn_cast<Constant>(V)) {
197 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V))
243 if (Instruction *VI = dyn_cast<Instruction>(V)) {
285 if (Instruction *VI = dyn_cast<Instruction>(V)) {
327 if (ConstantDataVector *CV = dyn_cast<ConstantDataVector>(Op1))
329 else if (ConstantVector *CV = dyn_cast<ConstantVector>(Op1))
332 COp1 = dyn_cast<ConstantInt>(Op1);
356 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0))
358 if (Constant *BOOp = dyn_cast<Constant>(BO->getOperand(1)))
363 if (SelectInst *SI = dyn_cast<SelectInst>(Op0))
371 if (TruncInst *TI = dyn_cast<TruncInst>(Op0)) {
372 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0));
415 if (BinaryOperator *Op0BO = dyn_cast<BinaryOperator>(Op0)) {
439 if (VectorType *VT = dyn_cast<VectorType>(X->getType()))
475 if (VectorType *VT = dyn_cast<VectorType>(X->getType()))
501 if (ConstantInt *Op0C = dyn_cast<ConstantInt>(Op0BO->getOperand(1))) {
543 BinaryOperator *ShiftOp = dyn_cast<BinaryOperator>(Op0);
708 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(I.getOperand(1))) {
751 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) {
754 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Op0)) {
795 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) {
807 if (ZExtInst *ZI = dyn_cast<ZExtInst>(X)) {