Home
last modified time | relevance | path

Searched refs:BitSize (Results 1 – 25 of 30) sorted by relevance

12

/NextBSD/contrib/llvm/lib/Target/SystemZ/
HDSystemZTargetTransformInfo.cpp37 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
40 if (BitSize == 0) in getIntImmCost()
43 if (BitSize > 64) in getIntImmCost()
70 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
73 if (BitSize == 0) in getIntImmCost()
76 if (BitSize > 64) in getIntImmCost()
92 if (BitSize == 8) in getIntImmCost()
141 if (BitSize <= 32) in getIntImmCost()
152 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCost()
188 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
[all …]
HDSystemZISelDAGToDAG.cpp119 : Opcode(Op), BitSize(N.getValueType().getSizeInBits()), in RxSBGOperands()
120 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands()
124 unsigned BitSize; member
725 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) { in refineRxSBGMask()
794 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG()
826 if (maskMatters(RxSBG, allOnes(RxSBG.BitSize) - allOnes(InnerBitSize))) in expandRxSBG()
839 unsigned BitSize = N.getValueType().getSizeInBits(); in expandRxSBG() local
840 if (Count < 1 || Count >= BitSize) in expandRxSBG()
850 if (!refineRxSBGMask(RxSBG, allOnes(BitSize - Count) << Count)) in expandRxSBG()
866 unsigned BitSize = N.getValueType().getSizeInBits(); in expandRxSBG() local
[all …]
HDSystemZISelLowering.cpp1830 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, in getTestUnderMaskCond() argument
1967 unsigned BitSize = NewC.Op0.getValueType().getSizeInBits(); in adjustForTestUnderMask() local
1972 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask()
1981 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask()
1988 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal, in adjustForTestUnderMask()
2975 int64_t BitSize = (int64_t)1 << Log2_32_Ceil(NumSignificantBits); in lowerCTPOP() local
2976 BitSize = std::min(BitSize, OrigBitSize); in lowerCTPOP()
2985 for (int64_t I = BitSize / 2; I >= 8; I = I / 2) { in lowerCTPOP()
2987 if (BitSize != OrigBitSize) in lowerCTPOP()
2989 DAG.getConstant(((uint64_t)1 << BitSize) - 1, DL, VT)); in lowerCTPOP()
[all …]
HDSystemZISelLowering.h514 unsigned BinOpcode, unsigned BitSize,
520 unsigned BitSize) const;
HDSystemZInstrInfo.h229 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
HDSystemZInstrInfo.cpp1217 bool SystemZInstrInfo::isRxSBGMask(uint64_t Mask, unsigned BitSize, in isRxSBGMask() argument
1220 Mask &= allOnes(BitSize); in isRxSBGMask()
1235 if (isStringOfOnes(Mask ^ allOnes(BitSize), LSB, Length)) { in isRxSBGMask()
1237 assert(LSB + Length < BitSize && "Top bit must be set"); in isRxSBGMask()
/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDThreadSanitizer.cpp146 const size_t BitSize = ByteSize * 8; in initializeCallbacks() local
167 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); in initializeCallbacks()
169 SmallString<32> AtomicLoadName("__tsan_atomic" + itostr(BitSize) + in initializeCallbacks()
174 SmallString<32> AtomicStoreName("__tsan_atomic" + itostr(BitSize) + in initializeCallbacks()
199 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart); in initializeCallbacks()
204 SmallString<32> AtomicCASName("__tsan_atomic" + itostr(BitSize) + in initializeCallbacks()
517 const size_t BitSize = ByteSize * 8; in instrumentAtomic() local
518 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
531 const size_t BitSize = ByteSize * 8; in instrumentAtomic() local
532 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
[all …]
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64TargetTransformInfo.cpp43 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
44 if (BitSize == 0) in getIntImmCost()
49 if (BitSize & 0x3f) in getIntImmCost()
50 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost()
55 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost()
68 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
71 if (BitSize == 0) in getIntImmCost()
121 unsigned NumConstants = (BitSize + 63) / 64; in getIntImmCost()
134 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
137 if (BitSize == 0) in getIntImmCost()
[all …]
HDAArch64ExpandPseudoInsts.cpp43 unsigned BitSize);
393 unsigned BitSize) { in expandMOVImm() argument
399 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm()
401 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in expandMOVImm()
402 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri); in expandMOVImm()
406 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm()
417 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm()
448 if (BitSize == 64 && OneChunks < 3 && ZeroChunks < 3) { in expandMOVImm()
484 if (BitSize == 64 && tryToreplicateChunks(UImm, MI, MBB, MBBI, TII)) in expandMOVImm()
492 if (BitSize == 64 && trySequenceOfOnes(UImm, MI, MBB, MBBI, TII)) in expandMOVImm()
[all …]
HDAArch64InstrInfo.cpp2718 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local
2722 BitSize = 32; in genAlternativeCodeSequence()
2729 BitSize = 64; in genAlternativeCodeSequence()
2741 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in genAlternativeCodeSequence()
2743 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in genAlternativeCodeSequence()
2810 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local
2814 BitSize = 32; in genAlternativeCodeSequence()
2821 BitSize = 64; in genAlternativeCodeSequence()
2832 uint64_t UImm = -Imm << (64 - BitSize) >> (64 - BitSize); in genAlternativeCodeSequence()
2834 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in genAlternativeCodeSequence()
HDAArch64ISelDAGToDAG.cpp337 unsigned BitSize = N.getValueType().getSizeInBits(); in SelectShiftedRegister() local
338 unsigned Val = RHS->getZExtValue() & (BitSize - 1); in SelectShiftedRegister()
/NextBSD/contrib/llvm/include/llvm/Transforms/IPO/
HDLowerBitSets.h40 uint64_t BitSize; member
52 return Bits.size() == BitSize; in isAllOnes()
192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDLowerBitSets.cpp54 if (BitOffset >= BitSize) in containsGlobalOffset()
117 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build()
156 uint64_t BitSize, uint64_t &AllocByteOffset, in allocate() argument
167 unsigned ReqSize = AllocByteOffset + BitSize; in allocate()
182 uint64_t BitSize; member
319 BAI->BitSize = BSI.BitSize; in createByteArray()
328 return BAI1.BitSize > BAI2.BitSize; in allocateByteArrays()
338 BAB.allocate(BAI->Bits, BAI->BitSize, ByteArrayOffsets[I], Mask); in allocateByteArrays()
381 if (BSI.BitSize <= 64) { in createBitSetTest()
385 if (BSI.BitSize <= 32) in createBitSetTest()
[all …]
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCTargetTransformInfo.cpp44 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
45 if (BitSize == 0) in getIntImmCost()
74 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
75 if (BitSize == 0) in getIntImmCost()
108 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
109 if (BitSize == 0) in getIntImmCost()
/NextBSD/contrib/llvm/lib/CodeGen/
HDIntrinsicLowering.cpp169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerBSWAP() local
173 switch(BitSize) { in LowerBSWAP()
273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() local
274 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP()
279 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize); in LowerCTPOP()
290 if (BitSize > 64) { in LowerCTPOP()
293 BitSize -= 64; in LowerCTPOP()
306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ() local
307 for (unsigned i = 1; i < BitSize; i <<= 1) { in LowerCTLZ()
HDTargetInstrInfo.cpp303 unsigned BitSize = TRI->getSubRegIdxSize(SubIdx); in getStackSlotRange() local
306 if (BitSize % 8) in getStackSlotRange()
313 Size = BitSize /= 8; in getStackSlotRange()
HDTargetLoweringBase.cpp942 unsigned BitSize = VT.getSizeInBits(); in getTypeConversion() local
944 if (BitSize < 8 || !isPowerOf2_32(BitSize)) { in getTypeConversion()
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDValueTypes.h166 unsigned BitSize = getSizeInBits(); in isRound() local
167 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86TargetTransformInfo.cpp986 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
987 if (BitSize == 0) in getIntImmCost()
994 if (BitSize > 128) in getIntImmCost()
1002 if (BitSize & 0x3f) in getIntImmCost()
1003 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost()
1008 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost()
1021 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
1024 if (BitSize == 0) in getIntImmCost()
1076 unsigned NumConstants = (BitSize + 63) / 64; in getIntImmCost()
1090 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDItaniumMangle.cpp2252 unsigned BitSize = (T->getNumElements() * in mangleNeonVectorType() local
2254 if (BitSize == 64) in mangleNeonVectorType()
2257 assert(BitSize == 128 && "Neon vector type not 64 or 128 bits"); in mangleNeonVectorType()
2301 unsigned BitSize = in mangleAArch64NeonVectorType() local
2303 (void)BitSize; // Silence warning. in mangleAArch64NeonVectorType()
2305 assert((BitSize == 64 || BitSize == 128) && in mangleAArch64NeonVectorType()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDTargetLowering.cpp2378 unsigned BitSize = DL.getTypeSizeInBits(OpTy); in ParseConstraints() local
2379 switch (BitSize) { in ParseConstraints()
2388 MVT::getVT(IntegerType::get(OpTy->getContext(), BitSize), true); in ParseConstraints()
HDDAGCombiner.cpp4415 unsigned BitSize = VT.getScalarSizeInBits(); in visitSHL() local
4418 DAG.getConstant(APInt::getHighBitsSet(BitSize, in visitSHL()
4419 BitSize - N1C->getZExtValue()), in visitSHL()
4666 unsigned BitSize = N0.getScalarValueSizeInBits(); in visitSRL() local
4667 if (BitSize <= 64) { in visitSRL()
4668 uint64_t ShAmt = N1C->getZExtValue() + 64 - BitSize; in visitSRL()
4679 unsigned BitSize = SmallVT.getScalarSizeInBits(); in visitSRL() local
4680 if (N1C->getZExtValue() >= BitSize) in visitSRL()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDSIInstrInfo.cpp1222 unsigned BitSize = 8 * OpSize; in isInlineConstant() local
1223 return isInlineConstant(APInt(BitSize, MO.getImm(), true)); in isInlineConstant()
HDAMDGPUISelLowering.cpp1600 unsigned BitSize = VT.getScalarType().getSizeInBits(); in LowerDIVREM24() local
1610 DAG.getConstant(BitSize - 2, DL, VT)); in LowerDIVREM24()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDASTContext.h1710 CharUnits toCharUnitsFromBits(int64_t BitSize) const;

12