Searched refs:Cast1 (Results 1 – 5 of 5) sorted by relevance
1234 CastInst *Cast1 = dyn_cast<CastInst>(Op1); in foldCastedBitwiseLogic() local1235 if (!Cast1) in foldCastedBitwiseLogic()1241 if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic()1245 Value *Cast1Src = Cast1->getOperand(0); in foldCastedBitwiseLogic()1248 if (shouldOptimizeCast(Cast0) && shouldOptimizeCast(Cast1)) { in foldCastedBitwiseLogic()
1227 CastInst *Cast1 = dyn_cast<CastInst>(Op1); in foldCastedBitwiseLogic() local1228 if (!Cast1) in foldCastedBitwiseLogic()1234 if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic()1238 Value *Cast1Src = Cast1->getOperand(0); in foldCastedBitwiseLogic()
1628 auto *Cast1 = dyn_cast<CastInst>(Op1); in SimplifyAndInst() local1629 if (Cast0 && Cast1 && Cast0->getOpcode() == Cast1->getOpcode() && in SimplifyAndInst()1630 Cast0->getSrcTy() == Cast1->getSrcTy()) { in SimplifyAndInst()1632 auto *Cmp1 = dyn_cast<ICmpInst>(Cast1->getOperand(0)); in SimplifyAndInst()
1737 auto *Cast1 = dyn_cast<CastInst>(Op1); in simplifyAndOrOfCmps() local1738 if (Cast0 && Cast1 && Cast0->getOpcode() == Cast1->getOpcode() && in simplifyAndOrOfCmps()1739 Cast0->getSrcTy() == Cast1->getSrcTy()) { in simplifyAndOrOfCmps()1741 Op1 = Cast1->getOperand(0); in simplifyAndOrOfCmps()
4712 auto *Cast1 = dyn_cast<CastInst>(V1); in lookThroughCast() local4713 if (!Cast1) in lookThroughCast()4716 *CastOp = Cast1->getOpcode(); in lookThroughCast()4717 Type *SrcTy = Cast1->getSrcTy(); in lookThroughCast()