Home
last modified time | relevance | path

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

/external/llvm/lib/TableGen/
DRecord.cpp223 SmallVector<Init *, 16> NewBits(BRT->getNumBits()); in convertInitializerTo() local
226 NewBits[i] = UnsetInit::get(); in convertInitializerTo()
228 return BitsInit::get(NewBits); in convertInitializerTo()
315 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() local
320 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange()
322 return BitsInit::get(NewBits); in convertInitializerBitRange()
351 SmallVector<Init *, 16> NewBits(getNumBits()); in resolveReferences() local
361 NewBits[i] = CurBit; in resolveReferences()
366 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
384 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
[all …]
DTGParser.cpp115 SmallVector<Init *, 16> NewBits(CurVal->getNumBits()); in SetValue() local
120 if (NewBits[Bit]) in SetValue()
123 NewBits[Bit] = BInit->getBit(i); in SetValue()
127 if (!NewBits[i]) in SetValue()
128 NewBits[i] = CurVal->getBit(i); in SetValue()
130 V = BitsInit::get(NewBits); in SetValue()
1271 SmallVector<Init *, 16> NewBits; in ParseSimpleValue() local
1283 NewBits.push_back(BI->getBit((e - i) - 1)); in ParseSimpleValue()
1290 NewBits.push_back(VI->getBit((e - i) - 1)); in ParseSimpleValue()
1302 NewBits.push_back(Bit); in ParseSimpleValue()
[all …]
/external/llvm/utils/TableGen/
DCodeGenTarget.cpp361 SmallVector<Init *, 16> NewBits(numBits); in reverseBitsForLittleEndianEncoding() local
367 NewBits[bit] = BitSwap; in reverseBitsForLittleEndianEncoding()
368 NewBits[bitSwapIdx] = OrigBit; in reverseBitsForLittleEndianEncoding()
372 NewBits[middle] = BI->getBit(middle); in reverseBitsForLittleEndianEncoding()
375 BitsInit *NewBI = BitsInit::get(NewBits); in reverseBitsForLittleEndianEncoding()
/external/llvm/include/llvm/ADT/
DSmallBitVector.h136 void setSmallBits(uintptr_t NewBits) { in setSmallBits() argument
137 setSmallRawBits((NewBits & ~(~uintptr_t(0) << getSmallSize())) | in setSmallBits()
249 uintptr_t NewBits = t ? ~uintptr_t(0) << getSmallSize() : 0; variable
251 setSmallBits(NewBits | getSmallBits());
DBitVector.h438 BitWord *NewBits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
439 std::memcpy(NewBits, RHS.Bits, Capacity * sizeof(BitWord));
443 Bits = NewBits;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp494 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits() local
497 if ((NewBits & DemandedMask) != 0) in SimplifyDemandedUseBits()
516 if (KnownZero[SrcBitWidth-1] || (NewBits & ~DemandedMask) == NewBits) { in SimplifyDemandedUseBits()
521 KnownOne |= NewBits; in SimplifyDemandedUseBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp852 APInt NewBits = in SimplifyDemandedBits() local
857 if ((NewBits & NewMask) == 0) in SimplifyDemandedBits()
885 KnownOne |= NewBits; in SimplifyDemandedBits()
886 KnownZero &= ~NewBits; in SimplifyDemandedBits()
888 KnownZero &= ~NewBits; in SimplifyDemandedBits()
889 KnownOne &= ~NewBits; in SimplifyDemandedBits()
924 APInt NewBits = in SimplifyDemandedBits() local
926 if (!NewBits.intersects(NewMask)) in SimplifyDemandedBits()
937 KnownZero |= NewBits; in SimplifyDemandedBits()
945 APInt NewBits = ~InMask & NewMask; in SimplifyDemandedBits() local
[all …]
DSelectionDAG.cpp2240 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits); in computeKnownBits() local
2248 if (NewBits.getBoolValue()) in computeKnownBits()
2258 KnownZero |= NewBits; in computeKnownBits()
2259 KnownOne &= ~NewBits; in computeKnownBits()
2261 KnownOne |= NewBits; in computeKnownBits()
2262 KnownZero &= ~NewBits; in computeKnownBits()
2264 KnownZero &= ~NewBits; in computeKnownBits()
2265 KnownOne &= ~NewBits; in computeKnownBits()
2295 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits); in computeKnownBits() local
2301 KnownZero |= NewBits; in computeKnownBits()
[all …]
DDAGCombiner.cpp7577 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR() local
7581 NewBits <<= SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
7586 NewBits |= cast<ConstantSDNode>(Op)->getAPIntValue(). in ConstantFoldBITCASTofBUILD_VECTOR()
7593 Ops.push_back(DAG.getConstant(NewBits, DL, DstEltVT)); in ConstantFoldBITCASTofBUILD_VECTOR()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1436 unsigned NewBits = getTypeSizeInBits(Ty); in getZeroExtendExpr() local
1437 if (CR.truncate(TruncBits).zeroExtend(NewBits).contains( in getZeroExtendExpr()
1438 CR.zextOrTrunc(NewBits))) in getZeroExtendExpr()
1622 unsigned NewBits = getTypeSizeInBits(Ty); in getSignExtendExpr() local
1623 if (CR.truncate(TruncBits).signExtend(NewBits).contains( in getSignExtendExpr()
1624 CR.sextOrTrunc(NewBits))) in getSignExtendExpr()