Home
last modified time | relevance | path

Searched refs:LowBits (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/llvm/lib/Support/
DKnownBits.cpp395 APInt LowBits = RHS.getConstant() - 1; in urem() local
396 Known.Zero = LHS.Zero | ~LowBits; in urem()
397 Known.One = LHS.One & LowBits; in urem()
416 APInt LowBits = RHS.getConstant() - 1; in srem() local
417 Known.Zero = LHS.Zero & LowBits; in srem()
418 Known.One = LHS.One & LowBits; in srem()
422 if (LHS.isNonNegative() || LowBits.isSubsetOf(LHS.Zero)) in srem()
423 Known.Zero |= ~LowBits; in srem()
427 if (LHS.isNegative() && LowBits.intersects(LHS.One)) in srem()
428 Known.One |= ~LowBits; in srem()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp684 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
685 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in SimplifyDemandedUseBits()
691 KnownZero = LHSKnownZero & LowBits; in SimplifyDemandedUseBits()
692 KnownOne = LHSKnownOne & LowBits; in SimplifyDemandedUseBits()
696 if (LHSKnownZero[BitWidth-1] || ((LHSKnownZero & LowBits) == LowBits)) in SimplifyDemandedUseBits()
697 KnownZero |= ~LowBits; in SimplifyDemandedUseBits()
701 if (LHSKnownOne[BitWidth-1] && ((LHSKnownOne & LowBits) != 0)) in SimplifyDemandedUseBits()
702 KnownOne |= ~LowBits; in SimplifyDemandedUseBits()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp684 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
685 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
690 Known.Zero = LHSKnown.Zero & LowBits; in SimplifyDemandedUseBits()
691 Known.One = LHSKnown.One & LowBits; in SimplifyDemandedUseBits()
695 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits()
696 Known.Zero |= ~LowBits; in SimplifyDemandedUseBits()
700 if (LHSKnown.isNegative() && LowBits.intersects(LHSKnown.One)) in SimplifyDemandedUseBits()
701 Known.One |= ~LowBits; in SimplifyDemandedUseBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp136 int LowBits = Offset < Start ? (Start - Offset) * 8 : 0; in applyMemSet() local
137 if (LowBits) in applyMemSet()
138 Cst = (Cst >> LowBits) << LowBits; in applyMemSet()
DAArch64ISelLowering.cpp7812 APInt LowBits(EltTy.getSizeInBits(), in NormalizeBuildVector() local
7814 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32); in NormalizeBuildVector()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp149 int LowBits = Offset < Start ? (Start - Offset) * 8 : 0; in applyMemSet() local
150 if (LowBits) in applyMemSet()
151 Cst = (Cst >> LowBits) << LowBits; in applyMemSet()
DAArch64ISelLowering.cpp9296 APInt LowBits(EltTy.getSizeInBits(), in NormalizeBuildVector() local
9298 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32); in NormalizeBuildVector()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp641 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
642 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
647 Known.Zero = LHSKnown.Zero & LowBits; in SimplifyDemandedUseBits()
648 Known.One = LHSKnown.One & LowBits; in SimplifyDemandedUseBits()
652 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits()
653 Known.Zero |= ~LowBits; in SimplifyDemandedUseBits()
657 if (LHSKnown.isNegative() && LowBits.intersects(LHSKnown.One)) in SimplifyDemandedUseBits()
658 Known.One |= ~LowBits; in SimplifyDemandedUseBits()
/external/llvm-project/llvm/include/llvm/IR/
DFixedPointBuilder.h55 Value *LowBits = ConstantInt::get( in Convert() local
57 Value *Rounded = B.CreateAdd(Result, LowBits); in Convert()
/external/llvm/lib/Analysis/
DValueTracking.cpp1087 APInt LowBits = RA - 1; in computeKnownBitsFromOperator() local
1092 KnownZero = KnownZero2 & LowBits; in computeKnownBitsFromOperator()
1093 KnownOne = KnownOne2 & LowBits; in computeKnownBitsFromOperator()
1097 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in computeKnownBitsFromOperator()
1098 KnownZero |= ~LowBits; in computeKnownBitsFromOperator()
1102 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in computeKnownBitsFromOperator()
1103 KnownOne |= ~LowBits; in computeKnownBitsFromOperator()
1125 APInt LowBits = (RA - 1); in computeKnownBitsFromOperator() local
1127 KnownZero |= ~LowBits; in computeKnownBitsFromOperator()
1128 KnownOne &= LowBits; in computeKnownBitsFromOperator()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp1305 APInt LowBits = RA - 1; in computeKnownBitsFromOperator() local
1309 Known.Zero = Known2.Zero & LowBits; in computeKnownBitsFromOperator()
1310 Known.One = Known2.One & LowBits; in computeKnownBitsFromOperator()
1314 if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero)) in computeKnownBitsFromOperator()
1315 Known.Zero |= ~LowBits; in computeKnownBitsFromOperator()
1319 if (Known2.isNegative() && LowBits.intersects(Known2.One)) in computeKnownBitsFromOperator()
1320 Known.One |= ~LowBits; in computeKnownBitsFromOperator()
1339 APInt LowBits = (RA - 1); in computeKnownBitsFromOperator() local
1341 Known.Zero |= ~LowBits; in computeKnownBitsFromOperator()
1342 Known.One &= LowBits; in computeKnownBitsFromOperator()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2248 unsigned LowBits = Log2_32(BitWidth)+1; in computeKnownBits() local
2249 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits); in computeKnownBits()
2395 APInt LowBits = RA - 1; in computeKnownBits() local
2399 KnownZero = KnownZero2 & LowBits; in computeKnownBits()
2400 KnownOne = KnownOne2 & LowBits; in computeKnownBits()
2404 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in computeKnownBits()
2405 KnownZero |= ~LowBits; in computeKnownBits()
2409 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in computeKnownBits()
2410 KnownOne |= ~LowBits; in computeKnownBits()
2419 APInt LowBits = (RA - 1); in computeKnownBits() local
[all …]
DDAGCombiner.cpp4648 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local
4649 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), LowBits); in visitSRA()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2993 unsigned LowBits = Log2_32(PossibleTZ) + 1; in computeKnownBits() local
2994 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
3002 unsigned LowBits = Log2_32(PossibleLZ) + 1; in computeKnownBits() local
3003 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
3187 APInt LowBits = RA - 1; in computeKnownBits() local
3191 Known.Zero = Known2.Zero & LowBits; in computeKnownBits()
3192 Known.One = Known2.One & LowBits; in computeKnownBits()
3196 if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero)) in computeKnownBits()
3197 Known.Zero |= ~LowBits; in computeKnownBits()
3201 if (Known2.isNegative() && LowBits.intersects(Known2.One)) in computeKnownBits()
[all …]
DDAGCombiner.cpp7731 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local
7732 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), LowBits); in visitSRA()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp1541 unsigned LowBits = Log2_32(PossibleLZ)+1; in computeKnownBitsFromOperator() local
1542 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
1552 unsigned LowBits = Log2_32(PossibleTZ)+1; in computeKnownBitsFromOperator() local
1553 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
1561 unsigned LowBits = Log2_32(BitsPossiblySet)+1; in computeKnownBitsFromOperator() local
1562 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3012 unsigned LowBits = Log2_32(PossibleTZ) + 1; in computeKnownBits() local
3013 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
3021 unsigned LowBits = Log2_32(PossibleLZ) + 1; in computeKnownBits() local
3022 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
DDAGCombiner.cpp8375 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local
8376 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), LowBits); in visitSRA()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6060 APInt LowBits(EltTy.getSizeInBits(), in NormalizeBuildVector() local
6062 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32); in NormalizeBuildVector()