Searched refs:AndC (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 277 Constant *AndC = Constant::getIntegerValue(VTy, in SimplifyDemandedUseBits() local 279 Instruction *And = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits() 301 Constant *AndC = in SimplifyDemandedUseBits() local 303 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits()
|
D | InstCombineAndOrXor.cpp | 1222 ConstantInt *AndC, *SmallC = nullptr, *BigC = nullptr; in foldAndOfICmps() local 1227 match(LHS0, m_And(m_Specific(V), m_ConstantInt(AndC)))) { in foldAndOfICmps() 1231 match(RHS0, m_And(m_Specific(V), m_ConstantInt(AndC)))) { in foldAndOfICmps() 1242 if ((Low & AndC->getValue()).isNullValue() && in foldAndOfICmps() 1244 Value *NewAnd = Builder.CreateAnd(V, Low | AndC->getValue()); in foldAndOfICmps() 1246 Value *NewVal = ConstantInt::get(AndC->getType()->getContext(), N); in foldAndOfICmps()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 5856 auto *AndC = dyn_cast<ConstantInt>(I->getOperand(1)); in optimizeLoadExt() local 5857 if (!AndC) in optimizeLoadExt() 5859 APInt AndBits = AndC->getValue(); in optimizeLoadExt()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 620 bool isAndLoadExtLoad(ConstantSDNode *AndC, LoadSDNode *LoadN, 4768 bool DAGCombiner::isAndLoadExtLoad(ConstantSDNode *AndC, LoadSDNode *LoadN, in isAndLoadExtLoad() argument 4770 if (!AndC->getAPIntValue().isMask()) in isAndLoadExtLoad() 4773 unsigned ActiveBits = AndC->getAPIntValue().countTrailingOnes(); in isAndLoadExtLoad() 10014 auto *AndC = cast<ConstantSDNode>(N0.getOperand(1)); in visitZERO_EXTEND() local 10015 EVT LoadResultTy = AndC->getValueType(0); in visitZERO_EXTEND() 10017 if (isAndLoadExtLoad(AndC, LN00, LoadResultTy, ExtVT)) in visitZERO_EXTEND() 10397 auto AndC = dyn_cast<ConstantSDNode>(N->getOperand(1)); in ReduceLoadWidth() local 10398 if (!AndC) in ReduceLoadWidth() 10401 const APInt &Mask = AndC->getAPIntValue(); in ReduceLoadWidth()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 14170 const APInt *AndC = isPowerOf2Constant(And->getOperand(1)); in PerformCMOVToBFICombine() local 14171 if (!AndC) in PerformCMOVToBFICombine() 14210 unsigned BitInX = AndC->logBase2(); in PerformCMOVToBFICombine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 39474 auto *AndC = dyn_cast<ConstantSDNode>(N0.getOperand(1)); in combineShiftRightLogical() local 39475 if (!ShiftC || !AndC) in combineShiftRightLogical() 39481 APInt MaskVal = AndC->getAPIntValue(); in combineShiftRightLogical()
|