Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp68 unsigned BitSize);
71 unsigned BitSize,
384 unsigned BitSize) { in expandMOVImm() argument
401 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm()
413 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm()
420 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm()
431 if (OneChunks >= (BitSize / 16) - 2 || ZeroChunks >= (BitSize / 16) - 2) in expandMOVImm()
445 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm()
454 BitSize, Encoding)) { in expandMOVImm()
513 unsigned BitSize, in expandMOVImmSimple() argument
[all …]
H A DAArch64TargetTransformInfo.cpp61 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
62 if (BitSize == 0) in getIntImmCost()
67 if (BitSize & 0x3f) in getIntImmCost()
68 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost()
73 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost()
86 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
89 if (BitSize == 0) in getIntImmCost()
139 int NumConstants = (BitSize + 63) / 64; in getIntImmCost()
152 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
155 if (BitSize == 0) in getIntImmCost()
[all …]
H A DAArch64InstrInfo.cpp676 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in canBeExpandedToORR()
678 return AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding); in canBeExpandedToORR()
4157 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local
4161 BitSize = 32; in genAlternativeCodeSequence()
4168 BitSize = 64; in genAlternativeCodeSequence()
4180 uint64_t UImm = SignExtend64(Imm, BitSize); in genAlternativeCodeSequence()
4182 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in genAlternativeCodeSequence()
4249 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local
4253 BitSize = 32; in genAlternativeCodeSequence()
4260 BitSize = 64; in genAlternativeCodeSequence()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCAsmBackend.cpp105 unsigned BitSize = getFixupKindInfo(Kind).TargetSize; in applyFixup() local
106 unsigned Size = (BitSize + 7) / 8; in applyFixup()
112 if (BitSize < 64) in applyFixup()
113 Value &= ((uint64_t)1 << BitSize) - 1; in applyFixup()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h42 uint64_t BitSize; member
54 return Bits.size() == BitSize; in isAllOnes()
193 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp168 unsigned BitSize = V->getType()->getScalarSizeInBits(); in LowerBSWAP() local
172 switch(BitSize) { in LowerBSWAP()
271 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() local
272 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP()
277 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize); in LowerCTPOP()
288 if (BitSize > 64) { in LowerCTPOP()
291 BitSize -= 64; in LowerCTPOP()
303 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ() local
304 for (unsigned i = 1; i < BitSize; i <<= 1) { in LowerCTLZ()
H A DTargetInstrInfo.cpp380 unsigned BitSize = TRI->getSubRegIdxSize(SubIdx); in getStackSlotRange() local
382 if (BitSize % 8) in getStackSlotRange()
389 Size = BitSize /= 8; in getStackSlotRange()
H A DTargetLoweringBase.cpp759 unsigned BitSize = VT.getSizeInBits(); in getTypeConversion() local
761 if (BitSize < 8 || !isPowerOf2_32(BitSize)) { in getTypeConversion()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp203 const unsigned BitSize = ByteSize * 8; in initializeCallbacks() local
205 std::string BitSizeStr = utostr(BitSize); in initializeCallbacks()
224 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); in initializeCallbacks()
634 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local
635 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
649 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local
650 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
666 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local
667 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
680 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.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()
188 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
191 if (BitSize == 0) in getIntImmCost()
[all …]
H A DSystemZISelDAGToDAG.cpp121 : Opcode(Op), BitSize(N.getValueSizeInBits()), in RxSBGOperands()
122 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands()
126 unsigned BitSize; member
768 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG() local
769 uint64_t Mask = allOnes(BitSize); in expandRxSBG()
854 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local
860 RxSBG.Rotate += (BitSize - InnerBitSize); in expandRxSBG()
875 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local
876 if (Count < 1 || Count >= BitSize) in expandRxSBG()
902 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local
[all …]
H A DSystemZISelLowering.cpp3361 BitSize = std::min(BitSize, OrigBitSize); in lowerCTPOP()
3372 if (BitSize != OrigBitSize) in lowerCTPOP()
3379 if (BitSize > 8) in lowerCTPOP()
3444 int64_t BitSize = NarrowVT.getSizeInBits(); in lowerATOMIC_LOAD_OP() local
6446 unsigned BitSize, bool Invert) const { in emitAtomicLoadBinary() argument
6451 bool IsSubWord = (BitSize < 32); in emitAtomicLoadBinary()
6463 BitSize = MI.getOperand(6).getImm(); in emitAtomicLoadBinary()
6517 if (BitSize <= 32) in emitAtomicLoadBinary()
6539 .addImm(32).addImm(31 + BitSize).addImm(32 - BitSize); in emitAtomicLoadBinary()
6570 bool IsSubWord = (BitSize < 32); in emitAtomicLoadMinMax()
[all …]
H A DSystemZISelLowering.h622 unsigned BinOpcode, unsigned BitSize,
628 unsigned BitSize) const;
H A DSystemZInstrInfo.h292 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
H A DSystemZInstrInfo.cpp1603 bool SystemZInstrInfo::isRxSBGMask(uint64_t Mask, unsigned BitSize, in isRxSBGMask() argument
1606 Mask &= allOnes(BitSize); in isRxSBGMask()
1621 if (isStringOfOnes(Mask ^ allOnes(BitSize), LSB, Length)) { in isRxSBGMask()
1623 assert(LSB + Length < BitSize && "Top bit must be set"); in isRxSBGMask()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp56 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
57 if (BitSize == 0) in getIntImmCost()
86 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
87 if (BitSize == 0) in getIntImmCost()
120 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
121 if (BitSize == 0) in getIntImmCost()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DValueTypes.h218 unsigned BitSize = getSizeInBits(); in isRound() local
219 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp128 if (BitOffset >= BitSize) in containsGlobalOffset()
135 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print()
173 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build()
223 unsigned ReqSize = AllocByteOffset + BitSize; in allocate()
238 uint64_t BitSize; member
545 BAI->BitSize = BSI.BitSize; in createByteArray()
554 return BAI1.BitSize > BAI2.BitSize; in allocateByteArrays()
868 TTRes.SizeM1BitWidth = (BitSize <= 32) ? 5 : 6; in exportTypeId()
870 TTRes.SizeM1BitWidth = (BitSize <= 128) ? 7 : 32; in exportTypeId()
1070 TIL.SizeM1 = ConstantInt::get(IntPtrTy, BSI.BitSize - 1); in lowerTypeTestCalls()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h545 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument
546 : TypeRecord(TypeRecordKind::BitField), Type(Type), BitSize(BitSize), in BitFieldRecord()
551 uint8_t getBitSize() const { return BitSize; } in getBitSize()
554 uint8_t BitSize; variable
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp138 bitfield_width = bfr.BitSize; in visitKnownMember()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp2537 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
2538 if (BitSize == 0) in getIntImmCost()
2545 if (BitSize > 128) in getIntImmCost()
2553 if (BitSize % 64 != 0) in getIntImmCost()
2554 ImmVal = Imm.sext(alignTo(BitSize, 64)); in getIntImmCost()
2559 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost()
2572 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
2575 if (BitSize == 0) in getIntImmCost()
2655 int NumConstants = divideCeil(BitSize, 64); in getIntImmCost()
2669 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DItaniumMangle.cpp3004 unsigned BitSize = (T->getNumElements() * in mangleNeonVectorType() local
3006 if (BitSize == 64) in mangleNeonVectorType()
3009 assert(BitSize == 128 && "Neon vector type not 64 or 128 bits"); in mangleNeonVectorType()
3061 unsigned BitSize = in mangleAArch64NeonVectorType() local
3063 (void)BitSize; // Silence warning. in mangleAArch64NeonVectorType()
3065 assert((BitSize == 64 || BitSize == 128) && in mangleAArch64NeonVectorType()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp255 error(IO.mapInteger(Record.BitSize)); in visitKnownRecord()
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp467 BF.BitOffset, BF.BitSize); in visitKnownRecord()
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp545 IO.mapRequired("BitSize", Record.BitSize); in map()

12