Searched refs:Op0C (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1779 const APInt *Op0C; in visitSub() local 1780 if (match(Op0, m_APInt(Op0C))) { in visitSub() 1782 if (Op0C->isNullValue()) { in visitSub() 1831 if (Op0C->isMask()) { in visitSub() 1833 if ((*Op0C | RHSKnown.Zero).isAllOnesValue()) in visitSub()
|
D | InstCombineShifts.cpp | 844 const APInt *Op0C; in FoldShiftByConstant() local 845 if (match(Op0BO->getOperand(1), m_APInt(Op0C))) { in FoldShiftByConstant() 863 match(Op0BO->getOperand(0), m_APInt(Op0C))) { in FoldShiftByConstant()
|
D | InstCombineCalls.cpp | 4353 ConstantInt *Op0C = dyn_cast<ConstantInt>(Call.getOperand(0)); in annotateAnyAllocSite() local 4357 if ((Op0C && Op0C->isNullValue()) || (Op1C && Op1C->isNullValue())) in annotateAnyAllocSite() 4360 if (isMallocLikeFn(&Call, TLI) && Op0C) { in annotateAnyAllocSite() 4364 Call.getContext(), Op0C->getZExtValue())); in annotateAnyAllocSite() 4368 Call.getContext(), Op0C->getZExtValue())); in annotateAnyAllocSite() 4373 } else if (isCallocLikeFn(&Call, TLI) && Op0C && Op1C) { in annotateAnyAllocSite() 4375 const APInt &N = Op0C->getValue(); in annotateAnyAllocSite()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 2603 ConstantFP *Op0C = dyn_cast<ConstantFP>(Call->getArgOperand(0)); in isMathLibCallNoop() local 2605 if (Op0C && Op1C) { in isMathLibCallNoop() 2606 const APFloat &Op0 = Op0C->getValueAPF(); in isMathLibCallNoop() 2615 Type *Ty = Op0C->getType(); in isMathLibCallNoop() 2618 double Op0V = getValueAsDouble(Op0C); in isMathLibCallNoop()
|
D | ValueTracking.cpp | 2852 if (Constant *Op0C = dyn_cast<Constant>(Op0)) in ComputeMultiple() local 2854 if (Op0C->getType()->getPrimitiveSizeInBits() < in ComputeMultiple() 2856 Op0C = ConstantExpr::getZExt(Op0C, MulC->getType()); in ComputeMultiple() 2857 if (Op0C->getType()->getPrimitiveSizeInBits() > in ComputeMultiple() 2859 MulC = ConstantExpr::getZExt(MulC, Op0C->getType()); in ComputeMultiple() 2862 Multiple = ConstantExpr::getMul(MulC, Op0C); in ComputeMultiple()
|