Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp541 Value *And1 = in expandIToFP() local
543 Value *Or1 = Builder.CreateOr(Shl1, And1); in expandIToFP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp870 SDValue And0 = N->getOperand(0), And1 = N->getOperand(1); in performORCombine() local
883 if (And1.getOpcode() == ISD::AND && in performORCombine()
884 And1.getOperand(0).getOpcode() == ISD::SHL) { in performORCombine()
886 if (!(CN = dyn_cast<ConstantSDNode>(And1.getOperand(1))) || in performORCombine()
894 SDValue Shl = And1.getOperand(0); in performORCombine()
921 bool isConstCase = And1.getOpcode() != ISD::AND; in performORCombine()
922 if (And1.getOpcode() == ISD::AND) { in performORCombine()
923 if (!(CN1 = dyn_cast<ConstantSDNode>(And1->getOperand(1)))) in performORCombine()
940 SrlX = DAG.getNode(ISD::SRL, DL, And1->getValueType(0), And1, Const1); in performORCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp626 Instruction *And1 = BinaryOperator::CreateAnd(I->getOperand(0), One); in SimplifyDemandedUseBits() local
627 return InsertNewInstWith(And1, I->getIterator()); in SimplifyDemandedUseBits()
H A DInstCombineCasts.cpp965 Value *And1 = Builder.CreateAnd(Lshr, ConstantInt::get(X->getType(), 1)); in transformZExtICmp() local
966 return replaceInstUsesWith(Zext, And1); in transformZExtICmp()
H A DInstCombineCompares.cpp4968 Value *And1 = Builder.CreateAnd(BO0->getOperand(0), Mask); in foldICmpBinOp() local
4970 return new ICmpInst(Pred, And1, And2); in foldICmpBinOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp3471 SDValue And1 = N->getOperand(1); in tryBitfieldInsertOpFromOr() local
3472 if (And0.hasOneUse() && And1.hasOneUse() && in tryBitfieldInsertOpFromOr()
3474 isOpcWithIntImmediate(And1.getNode(), ISD::AND, Mask1Imm) && in tryBitfieldInsertOpFromOr()
3482 std::swap(And0, And1); in tryBitfieldInsertOpFromOr()
3486 SDValue Src = And1->getOperand(0); in tryBitfieldInsertOpFromOr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp6924 Register And1; in lowerFCopySign() local
6926 And1 = MIRBuilder.buildAnd(Src1Ty, Src1, SignBitMask).getReg(0); in lowerFCopySign()
6931 And1 = MIRBuilder.buildAnd(Src0Ty, Shift, SignBitMask).getReg(0); in lowerFCopySign()
6936 And1 = MIRBuilder.buildAnd(Src0Ty, Trunc, SignBitMask).getReg(0); in lowerFCopySign()
6943 MIRBuilder.buildOr(Dst, And0, And1, Flags); in lowerFCopySign()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2767 SDValue And1 = TLO.DAG.getNode(ISD::AND, dl, VT, Op.getOperand(0), One); in SimplifyDemandedBits() local
2768 return TLO.CombineTo(Op, And1); in SimplifyDemandedBits()
H A DDAGCombiner.cpp6761 SDValue And0 = And->getOperand(0), And1 = And->getOperand(1); in combineShiftAnd1ToBitTest() local
6764 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest()