Home
last modified time | relevance | path

Searched refs:And1 (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1628 Instruction *And1 = dyn_cast<Instruction>(I->getOperand(1)); in setupPreSimplifier() local
1629 if (!And0 || !And1) in setupPreSimplifier()
1632 And1->getOpcode() != Instruction::And) in setupPreSimplifier()
1634 if (And0->getOperand(1) != And1->getOperand(1)) in setupPreSimplifier()
1637 return B.CreateAnd(B.CreateXor(And0->getOperand(0), And1->getOperand(0)), in setupPreSimplifier()
1760 Instruction *And1 = dyn_cast<Instruction>(Xor->getOperand(1)); in setupPostSimplifier() local
1763 std::swap(And0, And1); in setupPostSimplifier()
1772 return B.CreateAnd(B.CreateXor(And0->getOperand(0), And1), C0); in setupPostSimplifier()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp857 SDValue And0 = N->getOperand(0), And1 = N->getOperand(1); in performORCombine() local
870 if (And1.getOpcode() == ISD::AND && in performORCombine()
871 And1.getOperand(0).getOpcode() == ISD::SHL) { in performORCombine()
873 if (!(CN = dyn_cast<ConstantSDNode>(And1.getOperand(1))) || in performORCombine()
881 SDValue Shl = And1.getOperand(0); in performORCombine()
908 bool isConstCase = And1.getOpcode() != ISD::AND; in performORCombine()
909 if (And1.getOpcode() == ISD::AND) { in performORCombine()
910 if (!(CN1 = dyn_cast<ConstantSDNode>(And1->getOperand(1)))) in performORCombine()
927 SrlX = DAG.getNode(ISD::SRL, DL, And1->getValueType(0), And1, Const1); in performORCombine()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp546 Instruction *And1 = BinaryOperator::CreateAnd(I->getOperand(0), One); in SimplifyDemandedUseBits() local
547 return InsertNewInstWith(And1, *I); in SimplifyDemandedUseBits()
H A DInstCombineCasts.cpp1073 Value *And1 = Builder.CreateAnd(Lshr, ConstantInt::get(X->getType(), 1)); in transformZExtICmp() local
1074 return replaceInstUsesWith(Zext, And1); in transformZExtICmp()
H A DInstCombineCompares.cpp4443 Value *And1 = Builder.CreateAnd(BO0->getOperand(0), Mask); in foldICmpBinOp() local
4445 return new ICmpInst(Pred, And1, And2); in foldICmpBinOp()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2768 SDValue And1 = N->getOperand(1); in tryBitfieldInsertOpFromOr() local
2769 if (And0.hasOneUse() && And1.hasOneUse() && in tryBitfieldInsertOpFromOr()
2771 isOpcWithIntImmediate(And1.getNode(), ISD::AND, Mask1Imm) && in tryBitfieldInsertOpFromOr()
2779 std::swap(And0, And1); in tryBitfieldInsertOpFromOr()
2783 SDValue Src = And1->getOperand(0); in tryBitfieldInsertOpFromOr()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp6354 Register And1; in lowerFCopySign() local
6356 And1 = MIRBuilder.buildAnd(Src1Ty, Src1, SignBitMask).getReg(0); in lowerFCopySign()
6361 And1 = MIRBuilder.buildAnd(Src0Ty, Shift, SignBitMask).getReg(0); in lowerFCopySign()
6366 And1 = MIRBuilder.buildAnd(Src0Ty, Trunc, SignBitMask).getReg(0); in lowerFCopySign()
6373 MIRBuilder.buildOr(Dst, And0, And1, Flags); in lowerFCopySign()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2576 SDValue And1 = TLO.DAG.getNode(ISD::AND, dl, VT, Op.getOperand(0), One); in SimplifyDemandedBits() local
2577 return TLO.CombineTo(Op, And1); in SimplifyDemandedBits()
H A DDAGCombiner.cpp5999 SDValue And0 = And->getOperand(0), And1 = And->getOperand(1); in combineShiftAnd1ToBitTest() local
6002 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest()