Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1232 const auto &LHSBits = *getValueBits(V.getOperand(0), NumBits).second; in getValueBits() local
1235 Bits[i] = LHSBits[i < RotAmt ? i + (NumBits - RotAmt) : i - RotAmt]; in getValueBits()
1244 const auto &LHSBits = *getValueBits(V.getOperand(0), NumBits).second; in getValueBits() local
1247 Bits[i] = LHSBits[i - ShiftAmt]; in getValueBits()
1259 const auto &LHSBits = *getValueBits(V.getOperand(0), NumBits).second; in getValueBits() local
1262 Bits[i] = LHSBits[i + ShiftAmt]; in getValueBits()
1274 const SmallVector<ValueBit, 64> *LHSBits; in getValueBits() local
1279 std::tie(Interesting, LHSBits) = getValueBits(V.getOperand(0), NumBits); in getValueBits()
1283 Bits[i] = (*LHSBits)[i]; in getValueBits()
1287 if ((*LHSBits)[i].isZero()) in getValueBits()
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1190 const auto &LHSBits = *getValueBits(V.getOperand(0), NumBits).second; in getValueBits() local
1193 Bits[i] = LHSBits[i < RotAmt ? i + (NumBits - RotAmt) : i - RotAmt]; in getValueBits()
1203 const auto &LHSBits = *getValueBits(V.getOperand(0), NumBits).second; in getValueBits() local
1206 Bits[i] = LHSBits[i - ShiftAmt]; in getValueBits()
1219 const auto &LHSBits = *getValueBits(V.getOperand(0), NumBits).second; in getValueBits() local
1222 Bits[i] = LHSBits[i + ShiftAmt]; in getValueBits()
1234 const SmallVector<ValueBit, 64> *LHSBits; in getValueBits() local
1239 std::tie(Interesting, LHSBits) = getValueBits(V.getOperand(0), NumBits); in getValueBits()
1243 Bits[i] = (*LHSBits)[i]; in getValueBits()
1247 if ((*LHSBits)[i].isZero()) in getValueBits()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp925 SmallVector<ValueBit, 64> LHSBits(Bits.size()); in getValueBits() local
926 getValueBits(V.getOperand(0), LHSBits); in getValueBits()
929 Bits[i] = LHSBits[i < RotAmt ? i + (Bits.size() - RotAmt) : i - RotAmt]; in getValueBits()
938 SmallVector<ValueBit, 64> LHSBits(Bits.size()); in getValueBits() local
939 getValueBits(V.getOperand(0), LHSBits); in getValueBits()
942 Bits[i] = LHSBits[i - ShiftAmt]; in getValueBits()
954 SmallVector<ValueBit, 64> LHSBits(Bits.size()); in getValueBits() local
955 getValueBits(V.getOperand(0), LHSBits); in getValueBits()
958 Bits[i] = LHSBits[i + ShiftAmt]; in getValueBits()
970 SmallVector<ValueBit, 64> LHSBits(Bits.size()); in getValueBits() local
[all …]
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp2864 KnownBits LHSBits = KB->getKnownBits(LHS); in matchRedundantAnd() local
2874 (LHSBits.Zero | RHSBits.One).isAllOnesValue()) { in matchRedundantAnd()
2881 (LHSBits.One | RHSBits.Zero).isAllOnesValue()) { in matchRedundantAnd()
2910 KnownBits LHSBits = KB->getKnownBits(LHS); in matchRedundantOr() local
2920 (LHSBits.One | RHSBits.Zero).isAllOnesValue()) { in matchRedundantOr()
2927 (LHSBits.Zero | RHSBits.One).isAllOnesValue()) { in matchRedundantOr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp1894 KnownBits LHSBits(BitWidth); in isKnownToBeAPowerOfTwo() local
1895 computeKnownBits(X, LHSBits, Depth, Q); in isKnownToBeAPowerOfTwo()
1902 if ((~(LHSBits.Zero & RHSBits.Zero)).isPowerOf2()) in isKnownToBeAPowerOfTwo()
1905 if (OrZero || RHSBits.One.getBoolValue() || LHSBits.One.getBoolValue()) in isKnownToBeAPowerOfTwo()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp1986 KnownBits LHSBits(BitWidth); in isKnownToBeAPowerOfTwo() local
1987 computeKnownBits(X, LHSBits, Depth, Q); in isKnownToBeAPowerOfTwo()
1994 if ((~(LHSBits.Zero & RHSBits.Zero)).isPowerOf2()) in isKnownToBeAPowerOfTwo()
1997 if (OrZero || RHSBits.One.getBoolValue() || LHSBits.One.getBoolValue()) in isKnownToBeAPowerOfTwo()
/external/llvm-project/clang/lib/AST/
DASTContext.cpp9830 unsigned LHSBits = LHS->castAs<ExtIntType>()->getNumBits(); in mergeTypes() local
9837 if (LHSBits != RHSBits) in mergeTypes()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4082 APInt LHSBits = APInt::getHighBitsSet(EltSizeInBits, RShVal); in MatchRotate() local
4085 DAG.getConstant(LHSBits, DL, VT))); in MatchRotate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6351 SDValue LHSBits = DAG.getNode(ISD::SHL, DL, VT, AllOnes, LHSShiftAmt); in MatchRotate() local
6353 DAG.getNode(ISD::OR, DL, VT, RHSMask, LHSBits)); in MatchRotate()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6850 SDValue LHSBits = DAG.getNode(ISD::SHL, DL, VT, AllOnes, LHSShiftAmt); in MatchRotate() local
6852 DAG.getNode(ISD::OR, DL, VT, RHSMask, LHSBits)); in MatchRotate()