Home
last modified time | relevance | path

Searched refs:Cast1 (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1554 CastInst *Cast1 = dyn_cast<CastInst>(Op1); in foldCastedBitwiseLogic() local
1555 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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1227 CastInst *Cast1 = dyn_cast<CastInst>(Op1); in foldCastedBitwiseLogic() local
1228 if (!Cast1) in foldCastedBitwiseLogic()
1234 if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic()
1238 Value *Cast1Src = Cast1->getOperand(0); in foldCastedBitwiseLogic()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1542 CastInst *Cast1 = dyn_cast<CastInst>(Op1); in foldCastedBitwiseLogic() local
1543 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()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1628 auto *Cast1 = dyn_cast<CastInst>(Op1); in SimplifyAndInst() local
1629 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp1839 auto *Cast1 = dyn_cast<CastInst>(Op1); in simplifyAndOrOfCmps() local
1840 if (Cast0 && Cast1 && Cast0->getOpcode() == Cast1->getOpcode() && in simplifyAndOrOfCmps()
1841 Cast0->getSrcTy() == Cast1->getSrcTy()) { in simplifyAndOrOfCmps()
1843 Op1 = Cast1->getOperand(0); in simplifyAndOrOfCmps()
DValueTracking.cpp5137 auto *Cast1 = dyn_cast<CastInst>(V1); in lookThroughCast() local
5138 if (!Cast1) in lookThroughCast()
5141 *CastOp = Cast1->getOpcode(); in lookThroughCast()
5142 Type *SrcTy = Cast1->getSrcTy(); in lookThroughCast()
/external/llvm-project/llvm/lib/Analysis/
DInstructionSimplify.cpp1899 auto *Cast1 = dyn_cast<CastInst>(Op1); in simplifyAndOrOfCmps() local
1900 if (Cast0 && Cast1 && Cast0->getOpcode() == Cast1->getOpcode() && in simplifyAndOrOfCmps()
1901 Cast0->getSrcTy() == Cast1->getSrcTy()) { in simplifyAndOrOfCmps()
1903 Op1 = Cast1->getOperand(0); in simplifyAndOrOfCmps()
DValueTracking.cpp5770 auto *Cast1 = dyn_cast<CastInst>(V1); in lookThroughCast() local
5771 if (!Cast1) in lookThroughCast()
5774 *CastOp = Cast1->getOpcode(); in lookThroughCast()
5775 Type *SrcTy = Cast1->getSrcTy(); in lookThroughCast()