Searched refs:KnownOne (Results 26 - 45 of 45) sorted by relevance

12

/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp648 APInt KnownOne = KnownOne0 & KnownOne1; local
649 if ((KnownZero | KnownOne).isAllOnesValue()) {
650 return ConstantInt::get(Op0->getType(), KnownOne);
H A DInstructionSimplify.cpp4083 APInt KnownOne(BitWidth, 0);
4084 computeKnownBits(I, KnownZero, KnownOne, DL, /*Depth*/0, AC, I, DT);
4085 if ((KnownZero | KnownOne).isAllOnesValue())
4086 Result = ConstantInt::get(I->getContext(), KnownOne);
H A DScalarEvolution.cpp4594 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
4595 computeKnownBits(U->getOperand(0), KnownZero, KnownOne, getDataLayout(),
5754 bool KnownZero, KnownOne;
5755 ComputeSignBit(FirstValue, KnownZero, KnownOne, DL, 0, nullptr,
5760 else if (KnownOne)
/freebsd-11.0-release/contrib/llvm/include/llvm/Target/
H A DTargetLowering.h2151 /// expression and return a mask of KnownOne and KnownZero bits for the
2155 APInt &KnownZero, APInt &KnownOne,
2159 /// or one and return them in the KnownZero/KnownOne bitsets.
2162 APInt &KnownOne,
/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1583 APInt KnownOne(BitWidth, 0);
1584 computeKnownBits(&I, KnownZero, KnownOne, 0, &I);
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/
H A DLocal.cpp1003 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
1004 computeKnownBits(V, KnownZero, KnownOne, DL, 0, AC, CxtI, DT);
H A DSimplifyCFG.cpp3807 APInt KnownZero(Bits, 0), KnownOne(Bits, 0);
3808 computeKnownBits(Cond, KnownZero, KnownOne, DL, 0, AC, SI);
3814 (I.getCaseValue()->getValue() & KnownOne) != KnownOne) {
3828 (KnownZero.Or(KnownOne)).countPopulation();
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp10458 APInt &KnownOne) {
10462 computeKnownBits(DAG, Op.getOperand(0), KnownZero, KnownOne);
10469 KnownOne &= Mask;
10474 APInt KO2(KnownOne.getBitWidth(), 0);
10475 computeKnownBits(DAG, Op.getOperand(1), KnownZero, KnownOne);
10479 KnownOne &= KO2;
10482 return DAG.computeKnownBits(Op, KnownZero, KnownOne);
10545 APInt KnownZero, KnownOne;
10546 computeKnownBits(DAG, Y, KnownZero, KnownOne);
10630 APInt KnownZero, KnownOne; local
10457 computeKnownBits(SelectionDAG &DAG, SDValue Op, APInt &KnownZero, APInt &KnownOne) argument
10631 DAG.computeKnownBits(SDValue(N,0), KnownZero, KnownOne); local
11244 computeKnownBitsForTargetNode(const SDValue Op, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, unsigned Depth) const argument
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.h724 /// zero or one and return them in the KnownZero/KnownOne bitsets.
727 APInt &KnownOne,
H A DX86ISelDAGToDAG.cpp1066 APInt KnownZero, KnownOne; local
1067 DAG.computeKnownBits(X, KnownZero, KnownOne);
H A DX86ISelLowering.cpp22900 APInt &KnownOne,
22912 KnownZero = KnownOne = APInt(BitWidth, 0); // Don't know anything.
24792 APInt KnownZero, KnownOne;
24796 TLI.SimplifyDemandedBits(Cond, DemandedMask, KnownZero, KnownOne,
[all...]
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1525 APInt KnownZero, KnownOne; local
1526 DAG.computeKnownBits(N->getOperand(1), KnownZero, KnownOne);
1529 if (((KnownZero|KnownOne) & HighBitMask) == 0)
1538 if (KnownOne.intersects(HighBitMask)) {
H A DDAGCombiner.cpp926 APInt KnownZero, KnownOne; local
927 if (!TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO))
4827 APInt KnownZero, KnownOne; local
4828 DAG.computeKnownBits(N0.getOperand(0), KnownZero, KnownOne);
4830 // If any of the input bits are KnownOne, then the input couldn't be all
4832 if (KnownOne.getBoolValue()) return DAG.getConstant(0, SDLoc(N0), VT);
6187 APInt KnownOne; local
6190 DAG.computeKnownBits(Op, KnownZero, KnownOne);
6209 DAG.computeKnownBits(Op, KnownZero, KnownOne);
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1923 APInt KnownZero, KnownOne; local
1924 CurDAG->computeKnownBits(Op, KnownZero, KnownOne);
2049 APInt KnownZero, KnownOne; local
2050 CurDAG->computeKnownBits(OrOpd1Val, KnownZero, KnownOne);
H A DAArch64ISelLowering.cpp734 /// KnownZero/KnownOne bitsets.
736 const SDValue Op, APInt &KnownZero, APInt &KnownOne,
743 DAG.computeKnownBits(Op->getOperand(0), KnownZero, KnownOne, Depth + 1);
746 KnownOne &= KnownOne2;
756 unsigned BitWidth = KnownOne.getBitWidth();
8762 APInt KnownZero, KnownOne; local
8766 if (TLI.SimplifyDemandedBits(Addr, DemandedMask, KnownZero, KnownOne, TLO)) {
735 computeKnownBitsForTargetNode( const SDValue Op, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, unsigned Depth) const argument
/freebsd-11.0-release/contrib/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1818 APInt &KnownOne,
1822 KnownZero = KnownOne = APInt(KnownZero.getBitWidth(), 0);
1829 DAG.computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1);
1833 KnownOne &= KnownOne2;
1815 computeKnownBitsForTargetNode(const SDValue Op, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, unsigned Depth) const argument
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1185 /// them in the KnownZero/KnownOne bitsets. Targets can implement the
1188 void computeKnownBits(SDValue Op, APInt &KnownZero, APInt &KnownOne,
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp2129 APInt KnownZero, KnownOne; local
2134 TLI.SimplifyDemandedBits(Src, Demanded, KnownZero, KnownOne, TLO)) {
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp2908 APInt KnownZero[2], KnownOne[2];
2909 DAG.computeKnownBits(Ops[0], KnownZero[0], KnownOne[0]);
2910 DAG.computeKnownBits(Ops[1], KnownZero[1], KnownOne[1]);
3000 APInt KnownZero, KnownOne;
3001 DAG.computeKnownBits(Op, KnownZero, KnownOne);
/freebsd-11.0-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp10756 APInt &KnownOne,
10759 KnownZero = KnownOne = APInt(KnownZero.getBitWidth(), 0);
10754 computeKnownBitsForTargetNode(const SDValue Op, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, unsigned Depth) const argument

Completed in 704 milliseconds

12