Searched refs:AndC (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 267 Constant *AndC = Constant::getIntegerValue(VTy, in SimplifyDemandedUseBits() local 269 Instruction *And = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits() 300 Constant *AndC = in SimplifyDemandedUseBits() local 302 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits()
|
| H A D | InstCombineAddSub.cpp | 2095 const APInt *AddC, *AndC; in visitSub() local 2097 match(Op1, m_And(m_Specific(X), m_APInt(AndC)))) { in visitSub() 2101 if ((HighMask & *AndC).isNullValue()) in visitSub() 2102 return BinaryOperator::CreateAnd(Op0, ConstantInt::get(Ty, ~(*AndC))); in visitSub()
|
| H A D | InstCombineAndOrXor.cpp | 1293 ConstantInt *AndC, *SmallC = nullptr, *BigC = nullptr; in foldAndOfICmps() local 1298 match(LHS0, m_And(m_Specific(V), m_ConstantInt(AndC)))) { in foldAndOfICmps() 1302 match(RHS0, m_And(m_Specific(V), m_ConstantInt(AndC)))) { in foldAndOfICmps() 1313 if ((Low & AndC->getValue()).isNullValue() && in foldAndOfICmps() 1315 Value *NewAnd = Builder.CreateAnd(V, Low | AndC->getValue()); in foldAndOfICmps() 1317 Value *NewVal = ConstantInt::get(AndC->getType()->getContext(), N); in foldAndOfICmps()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 6474 auto *AndC = dyn_cast<ConstantInt>(I->getOperand(1)); in optimizeLoadExt() local 6475 if (!AndC) in optimizeLoadExt() 6477 APInt AndBits = AndC->getValue(); in optimizeLoadExt()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 675 bool isAndLoadExtLoad(ConstantSDNode *AndC, LoadSDNode *LoadN, 5191 bool DAGCombiner::isAndLoadExtLoad(ConstantSDNode *AndC, LoadSDNode *LoadN, in isAndLoadExtLoad() argument 5193 if (!AndC->getAPIntValue().isMask()) in isAndLoadExtLoad() 5196 unsigned ActiveBits = AndC->getAPIntValue().countTrailingOnes(); in isAndLoadExtLoad() 11210 auto *AndC = cast<ConstantSDNode>(N0.getOperand(1)); in visitZERO_EXTEND() local 11211 EVT LoadResultTy = AndC->getValueType(0); in visitZERO_EXTEND() 11213 if (isAndLoadExtLoad(AndC, LN00, LoadResultTy, ExtVT)) in visitZERO_EXTEND() 11642 auto AndC = dyn_cast<ConstantSDNode>(N->getOperand(1)); in ReduceLoadWidth() local 11643 if (!AndC) in ReduceLoadWidth() 11646 const APInt &Mask = AndC->getAPIntValue(); in ReduceLoadWidth()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 16462 const APInt *AndC = isPowerOf2Constant(And->getOperand(1)); in PerformCMOVToBFICombine() local 16463 if (!AndC) in PerformCMOVToBFICombine() 16502 unsigned BitInX = AndC->logBase2(); in PerformCMOVToBFICombine()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 43445 auto *AndC = dyn_cast<ConstantSDNode>(N0.getOperand(1)); in combineShiftRightLogical() local 43446 if (!ShiftC || !AndC) in combineShiftRightLogical() 43452 APInt MaskVal = AndC->getAPIntValue(); in combineShiftRightLogical()
|