Searched refs:Cast1 (Results 1 – 8 of 8) sorted by relevance
1554 CastInst *Cast1 = dyn_cast<CastInst>(Op1); in foldCastedBitwiseLogic() local1555 if (!Cast1) in foldCastedBitwiseLogic()1561 if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic()1565 Value *Cast1Src = Cast1->getOperand(0); in foldCastedBitwiseLogic()1568 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()
1542 CastInst *Cast1 = dyn_cast<CastInst>(Op1); in foldCastedBitwiseLogic() local1543 if (!Cast1) in foldCastedBitwiseLogic()1549 if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic()1553 Value *Cast1Src = Cast1->getOperand(0); in foldCastedBitwiseLogic()1556 if (shouldOptimizeCast(Cast0) && shouldOptimizeCast(Cast1)) { 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()
1839 auto *Cast1 = dyn_cast<CastInst>(Op1); in simplifyAndOrOfCmps() local1840 if (Cast0 && Cast1 && Cast0->getOpcode() == Cast1->getOpcode() && in simplifyAndOrOfCmps()1841 Cast0->getSrcTy() == Cast1->getSrcTy()) { in simplifyAndOrOfCmps()1843 Op1 = Cast1->getOperand(0); in simplifyAndOrOfCmps()
5137 auto *Cast1 = dyn_cast<CastInst>(V1); in lookThroughCast() local5138 if (!Cast1) in lookThroughCast()5141 *CastOp = Cast1->getOpcode(); in lookThroughCast()5142 Type *SrcTy = Cast1->getSrcTy(); in lookThroughCast()
1899 auto *Cast1 = dyn_cast<CastInst>(Op1); in simplifyAndOrOfCmps() local1900 if (Cast0 && Cast1 && Cast0->getOpcode() == Cast1->getOpcode() && in simplifyAndOrOfCmps()1901 Cast0->getSrcTy() == Cast1->getSrcTy()) { in simplifyAndOrOfCmps()1903 Op1 = Cast1->getOperand(0); in simplifyAndOrOfCmps()
5770 auto *Cast1 = dyn_cast<CastInst>(V1); in lookThroughCast() local5771 if (!Cast1) in lookThroughCast()5774 *CastOp = Cast1->getOpcode(); in lookThroughCast()5775 Type *SrcTy = Cast1->getSrcTy(); in lookThroughCast()