Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp691 Value *Cast1 = IRB.CreateIntCast(M->getArgOperand(1), IRB.getInt32Ty(), false); in instrumentMemIntrinsic() local
696 Cast1, in instrumentMemIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2612 auto *Cast1 = dyn_cast<CastInst>(Shuf.getOperand(1)); in foldCastShuffle() local
2614 if (!Cast1 || Cast0->getOpcode() != Cast1->getOpcode() || in foldCastShuffle()
2615 Cast0->getSrcTy() != Cast1->getSrcTy()) in foldCastShuffle()
2625 if (!Cast0->hasOneUse() && !Cast1->hasOneUse()) in foldCastShuffle()
2630 Value *Y = Cast1->getOperand(0); in foldCastShuffle()
H A DInstCombineAndOrXor.cpp1835 CastInst *Cast1 = dyn_cast<CastInst>(Op1); in foldCastedBitwiseLogic() local
1836 if (!Cast1) in foldCastedBitwiseLogic()
1842 if (CastOpcode != Cast1->getOpcode()) in foldCastedBitwiseLogic()
1846 if (!Cast0->hasOneUse() && !Cast1->hasOneUse()) in foldCastedBitwiseLogic()
1851 match(Cast1, m_ZExtOrSExt(m_Value(Y)))) { in foldCastedBitwiseLogic()
1858 if (!Cast0->hasOneUse() || !Cast1->hasOneUse()) in foldCastedBitwiseLogic()
1880 if (SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic()
1884 Value *Cast1Src = Cast1->getOperand(0); in foldCastedBitwiseLogic()
1887 if (shouldOptimizeCast(Cast0) && shouldOptimizeCast(Cast1)) { in foldCastedBitwiseLogic()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1860 auto *Cast1 = dyn_cast<CastInst>(Op1); in simplifyAndOrOfCmps() local
1861 if (Cast0 && Cast1 && Cast0->getOpcode() == Cast1->getOpcode() && in simplifyAndOrOfCmps()
1862 Cast0->getSrcTy() == Cast1->getSrcTy()) { in simplifyAndOrOfCmps()
1864 Op1 = Cast1->getOperand(0); in simplifyAndOrOfCmps()
H A DValueTracking.cpp8886 auto *Cast1 = dyn_cast<CastInst>(V1); in lookThroughCast() local
8887 if (!Cast1) in lookThroughCast()
8890 *CastOp = Cast1->getOpcode(); in lookThroughCast()
8891 Type *SrcTy = Cast1->getSrcTy(); in lookThroughCast()
8917 assert(V2->getType() == Cast1->getType() && in lookThroughCast()