Home
last modified time | relevance | path

Searched refs:NewBits (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeEmitterGen.cpp45 SmallVector<Init *, 16> NewBits(numBits); in reverseBits() local
51 NewBits[bit] = BitSwap; in reverseBits()
52 NewBits[bitSwapIdx] = OrigBit; in reverseBits()
56 NewBits[middle] = BI->getBit(middle); in reverseBits()
59 BitsInit *NewBI = BitsInit::get(NewBits); in reverseBits()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp129 SmallVector<Init *, 16> NewBits(Size); in convertValue() local
132 NewBits[i] = UnsetInit::get(); in convertValue()
134 return BitsInit::get(NewBits); in convertValue()
159 SmallVector<Init *, 16> NewBits(Size); in convertValue() local
162 NewBits[i] = BitInit::get(Value & (1LL << i)); in convertValue()
164 return BitsInit::get(NewBits); in convertValue()
177 SmallVector<Init *, 16> NewBits(Size); in convertValue() local
180 NewBits[i] = VarBitInit::get(VI, i); in convertValue()
181 return BitsInit::get(NewBits); in convertValue()
201 SmallVector<Init *, 16> NewBits(Size); in convertValue() local
[all …]
DTGParser.cpp119 SmallVector<Init *, 16> NewBits(CurVal->getNumBits()); in SetValue() local
124 if (NewBits[Bit]) in SetValue()
127 NewBits[Bit] = BInit->getBit(i); in SetValue()
131 if (NewBits[i] == 0) in SetValue()
132 NewBits[i] = CurVal->getBit(i); in SetValue()
134 V = BitsInit::get(NewBits); in SetValue()
1133 SmallVector<Init *, 16> NewBits(Vals.size()); in ParseSimpleValue() local
1142 NewBits[Vals.size()-i-1] = Bit; in ParseSimpleValue()
1144 return BitsInit::get(NewBits); in ParseSimpleValue()
/external/llvm/lib/TableGen/
DRecord.cpp221 SmallVector<Init *, 16> NewBits(BRT->getNumBits()); in convertInitializerTo() local
224 NewBits[i] = UnsetInit::get(); in convertInitializerTo()
226 return BitsInit::get(NewBits); in convertInitializerTo()
316 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() local
321 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange()
323 return BitsInit::get(NewBits); in convertInitializerBitRange()
352 SmallVector<Init *, 16> NewBits(getNumBits()); in resolveReferences() local
362 NewBits[i] = CurBit; in resolveReferences()
367 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
385 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
[all …]
DTGParser.cpp114 SmallVector<Init *, 16> NewBits(CurVal->getNumBits()); in SetValue() local
119 if (NewBits[Bit]) in SetValue()
122 NewBits[Bit] = BInit->getBit(i); in SetValue()
126 if (!NewBits[i]) in SetValue()
127 NewBits[i] = CurVal->getBit(i); in SetValue()
129 V = BitsInit::get(NewBits); in SetValue()
1266 SmallVector<Init *, 16> NewBits; in ParseSimpleValue() local
1278 NewBits.push_back(BI->getBit((e - i) - 1)); in ParseSimpleValue()
1285 NewBits.push_back(VI->getBit((e - i) - 1)); in ParseSimpleValue()
1297 NewBits.push_back(Bit); in ParseSimpleValue()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DSmallBitVector.h129 void setSmallBits(uintptr_t NewBits) { in setSmallBits() argument
130 setSmallRawBits((NewBits & ~(~uintptr_t(0) << getSmallSize())) | in setSmallBits()
250 uintptr_t NewBits = t ? ~uintptr_t(0) << getSmallSize() : 0; variable
252 setSmallBits(NewBits | getSmallBits());
DBitVector.h352 BitWord *NewBits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
353 std::memcpy(NewBits, RHS.Bits, Capacity * sizeof(BitWord));
357 Bits = NewBits;
/external/llvm/utils/TableGen/
DCodeGenTarget.cpp356 SmallVector<Init *, 16> NewBits(numBits); in reverseBitsForLittleEndianEncoding() local
362 NewBits[bit] = BitSwap; in reverseBitsForLittleEndianEncoding()
363 NewBits[bitSwapIdx] = OrigBit; in reverseBitsForLittleEndianEncoding()
367 NewBits[middle] = BI->getBit(middle); in reverseBitsForLittleEndianEncoding()
370 BitsInit *NewBI = BitsInit::get(NewBits); in reverseBitsForLittleEndianEncoding()
/external/llvm/include/llvm/ADT/
DSmallBitVector.h133 void setSmallBits(uintptr_t NewBits) { in setSmallBits() argument
134 setSmallRawBits((NewBits & ~(~uintptr_t(0) << getSmallSize())) | in setSmallBits()
245 uintptr_t NewBits = t ? ~uintptr_t(0) << getSmallSize() : 0; variable
247 setSmallBits(NewBits | getSmallBits());
DBitVector.h439 BitWord *NewBits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
440 std::memcpy(NewBits, RHS.Bits, Capacity * sizeof(BitWord));
444 Bits = NewBits;
/external/swiftshader/third_party/subzero/src/
DIceBitVector.h674 BitWord *NewBits = Alloc.allocate(Capacity);
675 std::memcpy(NewBits, RHS.Bits, Capacity * sizeof(BitWord));
679 Bits = NewBits;
770 auto *NewBits = Alloc.allocate(Capacity); in grow() local
771 std::memcpy(Bits, NewBits, OldCapacity * sizeof(BitWord)); in grow()
773 Bits = NewBits; in grow()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DBitVector.h439 BitWord *NewBits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
440 std::memcpy(NewBits, RHS.Bits, Capacity * sizeof(BitWord));
444 Bits = NewBits;
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp447 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits() local
450 if ((NewBits & DemandedMask) != 0) in SimplifyDemandedUseBits()
469 if (KnownZero[SrcBitWidth-1] || (NewBits & ~DemandedMask) == NewBits) { in SimplifyDemandedUseBits()
474 KnownOne |= NewBits; in SimplifyDemandedUseBits()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1595 APInt NewBits = in SimplifyDemandedBits() local
1600 if ((NewBits & NewMask) == 0) in SimplifyDemandedBits()
1628 KnownOne |= NewBits; in SimplifyDemandedBits()
1629 KnownZero &= ~NewBits; in SimplifyDemandedBits()
1631 KnownZero &= ~NewBits; in SimplifyDemandedBits()
1632 KnownOne &= ~NewBits; in SimplifyDemandedBits()
1642 APInt NewBits = in SimplifyDemandedBits() local
1644 if (!NewBits.intersects(NewMask)) in SimplifyDemandedBits()
1655 KnownZero |= NewBits; in SimplifyDemandedBits()
1663 APInt NewBits = ~InMask & NewMask; in SimplifyDemandedBits() local
[all …]
DSelectionDAG.cpp1823 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits) & Mask; in ComputeMaskedBits() local
1831 if (NewBits.getBoolValue()) in ComputeMaskedBits()
1841 KnownZero |= NewBits; in ComputeMaskedBits()
1842 KnownOne &= ~NewBits; in ComputeMaskedBits()
1844 KnownOne |= NewBits; in ComputeMaskedBits()
1845 KnownZero &= ~NewBits; in ComputeMaskedBits()
1847 KnownZero &= ~NewBits; in ComputeMaskedBits()
1848 KnownOne &= ~NewBits; in ComputeMaskedBits()
1872 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits) & Mask; in ComputeMaskedBits() local
1879 KnownZero |= NewBits; in ComputeMaskedBits()
[all …]
DDAGCombiner.cpp5169 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR() local
5173 NewBits <<= SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
5178 NewBits |= cast<ConstantSDNode>(Op)->getAPIntValue(). in ConstantFoldBITCASTofBUILD_VECTOR()
5185 Ops.push_back(DAG.getConstant(NewBits, DstEltVT)); in ConstantFoldBITCASTofBUILD_VECTOR()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp493 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits() local
496 if ((NewBits & DemandedMask) != 0) in SimplifyDemandedUseBits()
515 if (KnownZero[SrcBitWidth-1] || (NewBits & ~DemandedMask) == NewBits) { in SimplifyDemandedUseBits()
520 KnownOne |= NewBits; in SimplifyDemandedUseBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp893 APInt NewBits = in SimplifyDemandedBits() local
898 if ((NewBits & NewMask) == 0) in SimplifyDemandedBits()
926 KnownOne |= NewBits; in SimplifyDemandedBits()
927 KnownZero &= ~NewBits; in SimplifyDemandedBits()
929 KnownZero &= ~NewBits; in SimplifyDemandedBits()
930 KnownOne &= ~NewBits; in SimplifyDemandedBits()
965 APInt NewBits = in SimplifyDemandedBits() local
967 if (!NewBits.intersects(NewMask)) in SimplifyDemandedBits()
978 KnownZero |= NewBits; in SimplifyDemandedBits()
986 APInt NewBits = ~InMask & NewMask; in SimplifyDemandedBits() local
[all …]
DSelectionDAG.cpp2214 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits); in computeKnownBits() local
2222 if (NewBits.getBoolValue()) in computeKnownBits()
2232 KnownZero |= NewBits; in computeKnownBits()
2233 KnownOne &= ~NewBits; in computeKnownBits()
2235 KnownOne |= NewBits; in computeKnownBits()
2236 KnownZero &= ~NewBits; in computeKnownBits()
2238 KnownZero &= ~NewBits; in computeKnownBits()
2239 KnownOne &= ~NewBits; in computeKnownBits()
2269 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits); in computeKnownBits() local
2275 KnownZero |= NewBits; in computeKnownBits()
[all …]
DDAGCombiner.cpp7707 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR() local
7711 NewBits <<= SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
7716 NewBits |= cast<ConstantSDNode>(Op)->getAPIntValue(). in ConstantFoldBITCASTofBUILD_VECTOR()
7723 Ops.push_back(DAG.getConstant(NewBits, DL, DstEltVT)); in ConstantFoldBITCASTofBUILD_VECTOR()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp913 unsigned NewBits = getTypeSizeInBits(Ty); in getZeroExtendExpr() local
914 if (CR.truncate(TruncBits).zeroExtend(NewBits).contains( in getZeroExtendExpr()
915 CR.zextOrTrunc(NewBits))) in getZeroExtendExpr()
1179 unsigned NewBits = getTypeSizeInBits(Ty); in getSignExtendExpr() local
1180 if (CR.truncate(TruncBits).signExtend(NewBits).contains( in getSignExtendExpr()
1181 CR.sextOrTrunc(NewBits))) in getSignExtendExpr()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1437 unsigned NewBits = getTypeSizeInBits(Ty); in getZeroExtendExpr() local
1438 if (CR.truncate(TruncBits).zeroExtend(NewBits).contains( in getZeroExtendExpr()
1439 CR.zextOrTrunc(NewBits))) in getZeroExtendExpr()
1637 unsigned NewBits = getTypeSizeInBits(Ty); in getSignExtendExpr() local
1638 if (CR.truncate(TruncBits).signExtend(NewBits).contains( in getSignExtendExpr()
1639 CR.sextOrTrunc(NewBits))) in getSignExtendExpr()