/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | CodeEmitterGen.cpp | 45 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/ |
D | Record.cpp | 129 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 …]
|
D | TGParser.cpp | 119 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/ |
D | Record.cpp | 221 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 …]
|
D | TGParser.cpp | 114 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/ |
D | SmallBitVector.h | 129 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());
|
D | BitVector.h | 352 BitWord *NewBits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); 353 std::memcpy(NewBits, RHS.Bits, Capacity * sizeof(BitWord)); 357 Bits = NewBits;
|
/external/llvm/utils/TableGen/ |
D | CodeGenTarget.cpp | 356 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/ |
D | SmallBitVector.h | 133 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());
|
D | BitVector.h | 439 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/ |
D | IceBitVector.h | 674 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-7.0/llvm/lib/TableGen/ |
D | Record.cpp | 387 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() local 392 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange() 394 return BitsInit::get(NewBits); in convertInitializerBitRange() 421 SmallVector<Init *, 16> NewBits(getNumBits()); in resolveReferences() local 444 NewBits[i] = NewBit; in resolveReferences() 449 return BitsInit::get(NewBits); in resolveReferences() 488 SmallVector<Init *, 16> NewBits(BRT->getNumBits()); in convertInitializerTo() local 490 NewBits[i] = BitInit::get(Value & (1LL << i)); in convertInitializerTo() 492 return BitsInit::get(NewBits); in convertInitializerTo() 500 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() local [all …]
|
D | TGParser.cpp | 194 SmallVector<Init *, 16> NewBits(CurVal->getNumBits()); in SetValue() local 199 if (NewBits[Bit]) in SetValue() 202 NewBits[Bit] = BI->getBit(i); in SetValue() 206 if (!NewBits[i]) in SetValue() 207 NewBits[i] = CurVal->getBit(i); in SetValue() 209 V = BitsInit::get(NewBits); in SetValue() 1746 SmallVector<Init *, 16> NewBits; in ParseSimpleValue() local 1758 NewBits.push_back(BI->getBit((e - i) - 1)); in ParseSimpleValue() 1765 NewBits.push_back(VI->getBit((e - i) - 1)); in ParseSimpleValue() 1777 NewBits.push_back(Bit); in ParseSimpleValue() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | SmallBitVector.h | 139 void setSmallBits(uintptr_t NewBits) { in setSmallBits() argument 140 setSmallRawBits((NewBits & ~(~uintptr_t(0) << getSmallSize())) | in setSmallBits() 334 uintptr_t NewBits = t ? ~uintptr_t(0) << getSmallSize() : 0; variable 336 setSmallBits(NewBits | getSmallBits());
|
D | BitVector.h | 717 auto NewBits = allocate(NewCapacity); variable 718 std::memcpy(NewBits.data(), RHS.Bits.data(), NewCapacity * sizeof(BitWord)); 722 Bits = NewBits; 871 BitWord *NewBits = static_cast<BitWord *>( in grow() local 873 Bits = MutableArrayRef<BitWord>(NewBits, NewCapacity); in grow()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | CodeGenTarget.cpp | 421 SmallVector<Init *, 16> NewBits(numBits); in reverseBitsForLittleEndianEncoding() local 427 NewBits[bit] = BitSwap; in reverseBitsForLittleEndianEncoding() 428 NewBits[bitSwapIdx] = OrigBit; in reverseBitsForLittleEndianEncoding() 432 NewBits[middle] = BI->getBit(middle); in reverseBitsForLittleEndianEncoding() 435 BitsInit *NewBI = BitsInit::get(NewBits); in reverseBitsForLittleEndianEncoding()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | BitVector.h | 439 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/ |
D | InstCombineSimplifyDemanded.cpp | 447 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/ |
D | TargetLowering.cpp | 1595 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 …]
|
D | SelectionDAG.cpp | 1823 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 …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 493 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/ |
D | TargetLowering.cpp | 893 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 …]
|
D | SelectionDAG.cpp | 2214 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 …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolution.cpp | 913 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2615 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits); in computeKnownBits() local 2623 if (NewBits.getBoolValue()) in computeKnownBits() 2633 Known.Zero |= NewBits; in computeKnownBits() 2634 Known.One &= ~NewBits; in computeKnownBits() 2636 Known.One |= NewBits; in computeKnownBits() 2637 Known.Zero &= ~NewBits; in computeKnownBits() 2639 Known.Zero &= ~NewBits; in computeKnownBits() 2640 Known.One &= ~NewBits; in computeKnownBits()
|