Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1622 Instruction *And1 = dyn_cast<Instruction>(I->getOperand(1)); in setupPreSimplifier() local
1623 if (!And0 || !And1) in setupPreSimplifier()
1626 And1->getOpcode() != Instruction::And) in setupPreSimplifier()
1628 if (And0->getOperand(1) != And1->getOperand(1)) in setupPreSimplifier()
1631 return B.CreateAnd(B.CreateXor(And0->getOperand(0), And1->getOperand(0)), in setupPreSimplifier()
1754 Instruction *And1 = dyn_cast<Instruction>(Xor->getOperand(1)); in setupPostSimplifier() local
1757 std::swap(And0, And1); in setupPostSimplifier()
1766 return B.CreateAnd(B.CreateXor(And0->getOperand(0), And1), C0); in setupPostSimplifier()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp544 Value *And1 = in expandIToFP() local
546 Value *Or1 = Builder.CreateOr(Shl1, And1); in expandIToFP()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp886 SDValue And0 = N->getOperand(0), And1 = N->getOperand(1); in performORCombine() local
899 if (And1.getOpcode() == ISD::AND && in performORCombine()
900 And1.getOperand(0).getOpcode() == ISD::SHL) { in performORCombine()
902 if (!(CN = dyn_cast<ConstantSDNode>(And1.getOperand(1))) || in performORCombine()
910 SDValue Shl = And1.getOperand(0); in performORCombine()
937 bool isConstCase = And1.getOpcode() != ISD::AND; in performORCombine()
938 if (And1.getOpcode() == ISD::AND) { in performORCombine()
939 if (!(CN1 = dyn_cast<ConstantSDNode>(And1->getOperand(1)))) in performORCombine()
956 SrlX = DAG.getNode(ISD::SRL, DL, And1->getValueType(0), And1, Const1); in performORCombine()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp624 Instruction *And1 = BinaryOperator::CreateAnd(I->getOperand(0), One); in SimplifyDemandedUseBits() local
625 return InsertNewInstWith(And1, I->getIterator()); in SimplifyDemandedUseBits()
H A DInstCombineCasts.cpp999 Value *And1 = Builder.CreateAnd(Lshr, ConstantInt::get(X->getType(), 1)); in transformZExtICmp() local
1000 return replaceInstUsesWith(Zext, And1); in transformZExtICmp()
H A DInstCombineCompares.cpp5299 Value *And1 = Builder.CreateAnd(BO0->getOperand(0), Mask); in foldICmpBinOp() local
5301 return new ICmpInst(Pred, And1, And2); in foldICmpBinOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp3626 SDValue And1 = N->getOperand(1); in tryBitfieldInsertOpFromOr() local
3627 if (And0.hasOneUse() && And1.hasOneUse() && in tryBitfieldInsertOpFromOr()
3629 isOpcWithIntImmediate(And1.getNode(), ISD::AND, Mask1Imm) && in tryBitfieldInsertOpFromOr()
3637 std::swap(And0, And1); in tryBitfieldInsertOpFromOr()
3641 SDValue Src = And1->getOperand(0); in tryBitfieldInsertOpFromOr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7318 Register And1; in lowerFCopySign() local
7320 And1 = MIRBuilder.buildAnd(Src1Ty, Src1, SignBitMask).getReg(0); in lowerFCopySign()
7325 And1 = MIRBuilder.buildAnd(Src0Ty, Shift, SignBitMask).getReg(0); in lowerFCopySign()
7330 And1 = MIRBuilder.buildAnd(Src0Ty, Trunc, SignBitMask).getReg(0); in lowerFCopySign()
7341 MIRBuilder.buildOr(Dst, And0, And1, Flags); in lowerFCopySign()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2799 SDValue And1 = TLO.DAG.getNode(ISD::AND, dl, VT, Op.getOperand(0), One); in SimplifyDemandedBits() local
2800 return TLO.CombineTo(Op, And1); in SimplifyDemandedBits()
H A DDAGCombiner.cpp6765 SDValue And0 = And->getOperand(0), And1 = And->getOperand(1); in combineShiftAnd1ToBitTest() local
6768 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest()