Searched refs:NewBits (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
H A D | SubtargetFeature.h | 64 uint64_t NewBits = Bits[I / 64] | (uint64_t(1) << (I % 64)); set() local 71 uint64_t NewBits = Bits[I / 64] & ~(uint64_t(1) << (I % 64)); reset() local 78 uint64_t NewBits = Bits[I / 64] ^ (uint64_t(1) << (I % 64)); flip() local
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenTarget.cpp | 371 SmallVector<Init *, 16> NewBits(numBits); in reverseBitsForLittleEndianEncoding() local 377 NewBits[bit] = BitSwap; in reverseBitsForLittleEndianEncoding() 378 NewBits[bitSwapIdx] = OrigBit; in reverseBitsForLittleEndianEncoding() 382 NewBits[middle] = BI->getBit(middle); in reverseBitsForLittleEndianEncoding() 385 BitsInit *NewBI = BitsInit::get(Records, NewBits); in reverseBitsForLittleEndianEncoding()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | SmallBitVector.h | 137 void setSmallBits(uintptr_t NewBits) { in setSmallBits() argument 138 setSmallRawBits((NewBits & ~(~uintptr_t(0) << getSmallSize())) | in setSmallBits() 336 uintptr_t NewBits = t ? ~uintptr_t(0) << getSmallSize() : 0; variable 338 setSmallBits(NewBits | getSmallBits());
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | Record.cpp | 486 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() local 491 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange() 493 return BitsInit::get(getRecordKeeper(), NewBits); in convertInitializerBitRange() 520 SmallVector<Init *, 16> NewBits(getNumBits()); in resolveReferences() local 543 NewBits[i] = NewBit; in resolveReferences() 548 return BitsInit::get(getRecordKeeper(), NewBits); in resolveReferences() 586 SmallVector<Init *, 16> NewBits(BRT->getNumBits()); in convertInitializerTo() local 588 NewBits[i] = in convertInitializerTo() 591 return BitsInit::get(getRecordKeeper(), NewBits); in convertInitializerTo() 599 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() local [all …]
|
H A D | TGParser.cpp | 263 SmallVector<Init *, 16> NewBits(CurVal->getNumBits()); in SetValue() local 268 if (NewBits[Bit]) in SetValue() 271 NewBits[Bit] = BI->getBit(i); in SetValue() 275 if (!NewBits[i]) in SetValue() 276 NewBits[i] = CurVal->getBit(i); in SetValue() 278 V = BitsInit::get(Records, NewBits); in SetValue() 2720 SmallVector<Init *, 16> NewBits; in ParseSimpleValue() local 2732 NewBits.push_back(BI->getBit((e - i) - 1)); in ParseSimpleValue() 2739 NewBits.push_back(VI->getBit((e - i) - 1)); in ParseSimpleValue() 2751 NewBits.push_back(Bit); in ParseSimpleValue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 1064 unsigned NewBits = PromotedType.getScalarSizeInBits(); in PromoteIntRes_ADDSUBSHLSAT() local 1067 APInt MaxVal = APInt::getAllOnes(OldBits).zext(NewBits); in PromoteIntRes_ADDSUBSHLSAT() 1097 unsigned SHLAmount = NewBits - OldBits; in PromoteIntRes_ADDSUBSHLSAT() 1112 APInt MinVal = APInt::getSignedMinValue(OldBits).sext(NewBits); in PromoteIntRes_ADDSUBSHLSAT() 1113 APInt MaxVal = APInt::getSignedMaxValue(OldBits).sext(NewBits); in PromoteIntRes_ADDSUBSHLSAT() 1543 unsigned NewBits = VT.getScalarSizeInBits(); in PromoteIntRes_FunnelShift() local 1554 if (NewBits >= (2 * OldBits) && !isa<ConstantSDNode>(Amt) && in PromoteIntRes_FunnelShift() 1567 SDValue ShiftOffset = DAG.getConstant(NewBits - OldBits, DL, AmtVT); in PromoteIntRes_FunnelShift() 1595 unsigned NewBits = VT.getScalarSizeInBits(); in PromoteIntRes_VPFunnelShift() local 1606 if (NewBits >= (2 * OldBits) && !isa<ConstantSDNode>(Amt) && in PromoteIntRes_VPFunnelShift() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 2282 unsigned NewBits = WideTy.getScalarSizeInBits(); in widenScalarAddSubShlSat() local 2283 unsigned SHLAmount = NewBits - MRI.getType(DstReg).getScalarSizeInBits(); in widenScalarAddSubShlSat() 5314 auto NewBits = MIRBuilder.buildConstant(ShiftAmtTy, NewBitSize); in narrowScalarShift() local 5320 auto AmtExcess = MIRBuilder.buildSub(ShiftAmtTy, Amt, NewBits); in narrowScalarShift() 5321 auto AmtLack = MIRBuilder.buildSub(ShiftAmtTy, NewBits, Amt); in narrowScalarShift() 5324 auto IsShort = MIRBuilder.buildICmp(ICmpInst::ICMP_ULT, CondTy, Amt, NewBits); in narrowScalarShift()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 1608 unsigned NewBits = getTypeSizeInBits(Ty); in getZeroExtendExprImpl() local 1609 if (CR.truncate(TruncBits).zeroExtend(NewBits).contains( in getZeroExtendExprImpl() 1610 CR.zextOrTrunc(NewBits))) in getZeroExtendExprImpl() 1949 unsigned NewBits = getTypeSizeInBits(Ty); in getSignExtendExprImpl() local 1950 if (CR.truncate(TruncBits).signExtend(NewBits).contains( in getSignExtendExprImpl() 1951 CR.sextOrTrunc(NewBits))) in getSignExtendExprImpl() 5391 unsigned NewBits = SE.getTypeSizeInBits(Op->getType()); in isSimpleCastedPHI() local 5392 if (SourceBits != NewBits) in isSimpleCastedPHI()
|