Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DSubtargetFeature.h66 uint64_t NewBits = Bits[I / 64] | (uint64_t(1) << (I % 64)); in set() local
67 Bits[I / 64] = NewBits; in set()
73 uint64_t NewBits = Bits[I / 64] & ~(uint64_t(1) << (I % 64)); in reset() local
74 Bits[I / 64] = NewBits; in reset()
80 uint64_t NewBits = Bits[I / 64] ^ (uint64_t(1) << (I % 64)); in flip() local
81 Bits[I / 64] = NewBits; in flip()
/third_party/skia/third_party/externals/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
772 std::memcpy(NewBits, Bits, OldCapacity * sizeof(BitWord)); in grow()
775 Bits = NewBits; in grow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp393 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() local
398 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange()
400 return BitsInit::get(NewBits); in convertInitializerBitRange()
427 SmallVector<Init *, 16> NewBits(getNumBits()); in resolveReferences() local
450 NewBits[i] = NewBit; in resolveReferences()
455 return BitsInit::get(NewBits); in resolveReferences()
494 SmallVector<Init *, 16> NewBits(BRT->getNumBits()); in convertInitializerTo() local
496 NewBits[i] = BitInit::get(Value & ((i < 64) ? (1LL << i) : 0)); in convertInitializerTo()
498 return BitsInit::get(NewBits); in convertInitializerTo()
506 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() local
[all …]
DTGParser.cpp193 SmallVector<Init *, 16> NewBits(CurVal->getNumBits()); in SetValue() local
198 if (NewBits[Bit]) in SetValue()
201 NewBits[Bit] = BI->getBit(i); in SetValue()
205 if (!NewBits[i]) in SetValue()
206 NewBits[i] = CurVal->getBit(i); in SetValue()
208 V = BitsInit::get(NewBits); in SetValue()
1939 SmallVector<Init *, 16> NewBits; in ParseSimpleValue() local
1951 NewBits.push_back(BI->getBit((e - i) - 1)); in ParseSimpleValue()
1958 NewBits.push_back(VI->getBit((e - i) - 1)); in ParseSimpleValue()
1970 NewBits.push_back(Bit); in ParseSimpleValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallBitVector.h134 void setSmallBits(uintptr_t NewBits) { in setSmallBits() argument
135 setSmallRawBits((NewBits & ~(~uintptr_t(0) << getSmallSize())) | in setSmallBits()
333 uintptr_t NewBits = t ? ~uintptr_t(0) << getSmallSize() : 0; variable
335 setSmallBits(NewBits | getSmallBits());
DBitVector.h733 auto NewBits = allocate(NewCapacity); variable
734 std::memcpy(NewBits.data(), RHS.Bits.data(), NewCapacity * sizeof(BitWord));
738 Bits = NewBits;
887 BitWord *NewBits = static_cast<BitWord *>( in grow() local
889 Bits = MutableArrayRef<BitWord>(NewBits, NewCapacity); in grow()
/third_party/skia/third_party/externals/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;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp689 unsigned NewBits = PromotedType.getScalarSizeInBits(); in PromoteIntRes_ADDSUBSAT() local
707 unsigned SHLAmount = NewBits - OldBits; in PromoteIntRes_ADDSUBSAT()
726 APInt MaxVal = APInt::getAllOnesValue(OldBits).zext(NewBits); in PromoteIntRes_ADDSUBSAT()
734 APInt MinVal = APInt::getSignedMinValue(OldBits).sext(NewBits); in PromoteIntRes_ADDSUBSAT()
735 APInt MaxVal = APInt::getSignedMaxValue(OldBits).sext(NewBits); in PromoteIntRes_ADDSUBSAT()
DSelectionDAG.cpp2959 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits); in computeKnownBits() local
2967 if (NewBits.getBoolValue()) in computeKnownBits()
2977 Known.Zero |= NewBits; in computeKnownBits()
2978 Known.One &= ~NewBits; in computeKnownBits()
2980 Known.One |= NewBits; in computeKnownBits()
2981 Known.Zero &= ~NewBits; in computeKnownBits()
2983 Known.Zero &= ~NewBits; in computeKnownBits()
2984 Known.One &= ~NewBits; in computeKnownBits()
DDAGCombiner.cpp11454 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR() local
11458 NewBits <<= SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
11463 NewBits |= cast<ConstantSDNode>(Op)->getAPIntValue(). in ConstantFoldBITCASTofBUILD_VECTOR()
11470 Ops.push_back(DAG.getConstant(NewBits, DL, DstEltVT)); in ConstantFoldBITCASTofBUILD_VECTOR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp3210 auto NewBits = MIRBuilder.buildConstant(ShiftAmtTy, NewBitSize); in narrowScalarShift() local
3216 auto AmtExcess = MIRBuilder.buildSub(ShiftAmtTy, Amt, NewBits); in narrowScalarShift()
3217 auto AmtLack = MIRBuilder.buildSub(ShiftAmtTy, NewBits, Amt); in narrowScalarShift()
3220 auto IsShort = MIRBuilder.buildICmp(ICmpInst::ICMP_ULT, CondTy, Amt, NewBits); in narrowScalarShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp1684 unsigned NewBits = getTypeSizeInBits(Ty); in getZeroExtendExpr() local
1685 if (CR.truncate(TruncBits).zeroExtend(NewBits).contains( in getZeroExtendExpr()
1686 CR.zextOrTrunc(NewBits))) in getZeroExtendExpr()
1995 unsigned NewBits = getTypeSizeInBits(Ty); in getSignExtendExpr() local
1996 if (CR.truncate(TruncBits).signExtend(NewBits).contains( in getSignExtendExpr()
1997 CR.sextOrTrunc(NewBits))) in getSignExtendExpr()
4614 unsigned NewBits = SE.getTypeSizeInBits(Op->getType()); in isSimpleCastedPHI() local
4615 if (SourceBits != NewBits) in isSimpleCastedPHI()