| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ExpandImm.cpp | 484 if (BitSize == 32) { in expandMOVImmSimple() 525 void AArch64_IMM::expandMOVImm(uint64_t Imm, unsigned BitSize, in expandMOVImm() argument 533 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 542 if ((BitSize / 16) - OneChunks <= 1 || (BitSize / 16) - ZeroChunks <= 1) { in expandMOVImm() 543 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm() 548 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm() 560 if (OneChunks >= (BitSize / 16) - 2 || ZeroChunks >= (BitSize / 16) - 2) { in expandMOVImm() 576 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 625 if (BitSize == 64 && tryToreplicateChunks(UImm, Insn)) in expandMOVImm() 633 if (BitSize == 64 && trySequenceOfOnes(UImm, Insn)) in expandMOVImm() [all …]
|
| H A D | AArch64ExpandImm.h | 28 void expandMOVImm(uint64_t Imm, unsigned BitSize,
|
| H A D | AArch64TargetTransformInfo.cpp | 353 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 354 if (BitSize == 0) in getIntImmCost() 359 if (BitSize & 0x3f) in getIntImmCost() 360 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost() 365 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost() 380 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 383 if (BitSize == 0) in getIntImmCostInst() 433 int NumConstants = (BitSize + 63) / 64; in getIntImmCostInst() 448 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 451 if (BitSize == 0) in getIntImmCostIntrin() [all …]
|
| H A D | AArch64ExpandPseudoInsts.cpp | 73 unsigned BitSize); 127 unsigned BitSize) { in expandMOVImm() argument 142 AArch64_IMM::expandMOVImm(Imm, BitSize, Insn); in expandMOVImm() 157 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm() 176 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 56 unsigned BitSize = V->getType()->getScalarSizeInBits(); in LowerBSWAP() local 60 switch(BitSize) { in LowerBSWAP() 159 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() local 160 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() 165 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize); in LowerCTPOP() 176 if (BitSize > 64) { in LowerCTPOP() 179 BitSize -= 64; in LowerCTPOP() 191 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ() local 192 for (unsigned i = 1; i < BitSize; i <<= 1) { in LowerCTLZ()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 218 const unsigned BitSize = ByteSize * 8; in initialize() local 220 std::string BitSizeStr = utostr(BitSize); in initialize() 264 Type *Ty = Type::getIntNTy(Ctx, BitSize); in initialize() 307 /*Ret=*/BitSize <= 32, Attr), in initialize() 316 /*Ret=*/BitSize <= 32, Attr), in initialize() 736 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 737 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 753 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 754 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 768 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | LowerTypeTests.h | 41 uint64_t BitSize; member 53 return Bits.size() == BitSize; in isAllOnes() 192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGAddressAnalysis.h | 72 bool contains(const SelectionDAG &DAG, int64_t BitSize, 76 bool contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument 79 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset); in contains()
|
| H A D | ValueTypes.h | 234 unsigned BitSize = getSizeInBits(); in isRound() local 235 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetTransformInfo.h | 55 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 58 if (BitSize == 0) in getIntImmCost() 62 if (BitSize > 64) in getIntImmCost()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | IntegralAP.h | 40 constexpr unsigned BitSize = sizeof(T) * 8; in truncateCast() local 41 if (BitSize >= V.getBitWidth()) { in truncateCast() 44 Extended = V.sext(BitSize); in truncateCast() 46 Extended = V.zext(BitSize); in truncateCast() 51 return std::is_signed_v<T> ? V.trunc(BitSize).getSExtValue() in truncateCast() 52 : V.trunc(BitSize).getZExtValue(); in truncateCast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZMCAsmBackend.cpp | 184 unsigned BitSize = getFixupKindInfo(Kind).TargetSize; in applyFixup() local 185 unsigned Size = (BitSize + 7) / 8; in applyFixup() 191 if (BitSize < 64) in applyFixup() 192 Value &= ((uint64_t)1 << BitSize) - 1; in applyFixup()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVSymbol.h | 53 uint32_t BitSize = 0; variable 114 uint32_t getBitSize() const override { return BitSize; } in getBitSize() 115 void setBitSize(uint32_t Size) override { BitSize = Size; } in setBitSize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 73 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 76 if (BitSize == 0) in getIntImmCost() 79 if ((!ST->hasVector() && BitSize > 64) || BitSize > 128) in getIntImmCost() 109 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 112 if (BitSize == 0) in getIntImmCostInst() 115 if (BitSize > 64) in getIntImmCostInst() 131 if (BitSize == 8) in getIntImmCostInst() 180 if (BitSize <= 32) in getIntImmCostInst() 229 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 232 if (BitSize == 0) in getIntImmCostIntrin() [all …]
|
| H A D | SystemZISelDAGToDAG.cpp | 121 : Opcode(Op), BitSize(N.getValueSizeInBits()), in RxSBGOperands() 122 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands() 126 unsigned BitSize; member 792 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG() local 793 uint64_t Mask = allOnes(BitSize); in expandRxSBG() 878 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local 884 RxSBG.Rotate += (BitSize - InnerBitSize); in expandRxSBG() 899 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local 900 if (Count < 1 || Count >= BitSize) in expandRxSBG() 926 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local [all …]
|
| H A D | SystemZISelLowering.cpp | 4473 BitSize = std::min(BitSize, OrigBitSize); in lowerCTPOP() 4484 if (BitSize != OrigBitSize) in lowerCTPOP() 4491 if (BitSize > 8) in lowerCTPOP() 4593 int64_t BitSize = NarrowVT.getSizeInBits(); in lowerATOMIC_LOAD_OP() local 4701 int64_t BitSize = NarrowVT.getSizeInBits(); in lowerATOMIC_CMP_SWAP() local 8401 unsigned BitSize = MI.getOperand(6).getImm(); in emitAtomicLoadBinary() local 8449 .addReg(Tmp).addImm(-1U << (32 - BitSize)); in emitAtomicLoadBinary() 8460 .addImm(32).addImm(31 + BitSize).addImm(32 - BitSize); in emitAtomicLoadBinary() 8496 unsigned BitSize = MI.getOperand(6).getImm(); in emitAtomicLoadMinMax() local 8551 .addImm(32).addImm(31 + BitSize).addImm(0); in emitAtomicLoadMinMax() [all …]
|
| H A D | SystemZInstrInfo.h | 338 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfExpression.cpp | 453 unsigned DwarfExpression::getOrCreateBaseType(unsigned BitSize, in getOrCreateBaseType() argument 459 if (CU.ExprRefedBaseTypes[I].BitSize == BitSize && in getOrCreateBaseType() 464 CU.ExprRefedBaseTypes.emplace_back(BitSize, Encoding); in getOrCreateBaseType() 597 unsigned BitSize = Op->getArg(0); in addExpression() local 607 emitBaseTypeRef(getOrCreateBaseType(BitSize, Encoding)); in addExpression() 609 if (PrevConvertOp && PrevConvertOp->getArg(0) < BitSize) { in addExpression()
|
| H A D | DwarfCompileUnit.h | 170 BaseTypeRef(unsigned BitSize, dwarf::TypeKind Encoding) : in BaseTypeRef() 171 BitSize(BitSize), Encoding(Encoding) {} in BaseTypeRef() 172 unsigned BitSize; member
|
| H A D | DwarfExpression.h | 340 unsigned getOrCreateBaseType(unsigned BitSize, dwarf::TypeKind Encoding);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 134 if (BitOffset >= BitSize) in containsGlobalOffset() 141 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print() 179 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build() 229 unsigned ReqSize = AllocByteOffset + BitSize; in allocate() 254 uint64_t BitSize; member 607 BAI->BitSize = BSI.BitSize; in createByteArray() 616 return BAI1.BitSize > BAI2.BitSize; in allocateByteArrays() 939 TTRes.SizeM1BitWidth = (BitSize <= 32) ? 5 : 6; in exportTypeId() 941 TTRes.SizeM1BitWidth = (BitSize <= 128) ? 7 : 32; in exportTypeId() 1136 TIL.SizeM1 = ConstantInt::get(IntPtrTy, BSI.BitSize - 1); in lowerTypeTestCalls() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 172 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 173 if (BitSize == 0) in getIntImmCost() 203 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 204 if (BitSize == 0) in getIntImmCostIntrin() 239 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 240 if (BitSize == 0) in getIntImmCostInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGAddressAnalysis.cpp | 181 bool BaseIndexOffset::contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument 193 return BitOffset + OtherBitSize <= BitSize; in contains()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecord.h | 539 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument 540 : TypeRecord(TypeRecordKind::BitField), Type(Type), BitSize(BitSize), in BitFieldRecord() 545 uint8_t getBitSize() const { return BitSize; } in getBitSize() 548 uint8_t BitSize = 0; variable
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | IRMutator.cpp | 467 uint64_t BitSize = IntTy->getBitWidth(); in mutate() local 469 (BitSize >= 64) ? (uint64_t)-1 : ((uint64_t)1 << BitSize) - 1; in mutate()
|