| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ExpandImm.cpp | 466 static inline void expandMOVImmSimple(uint64_t Imm, unsigned BitSize, in expandMOVImmSimple() argument 484 if (BitSize == 32) { in expandMOVImmSimple() 511 unsigned Opc = (BitSize == 32 ? AArch64::MOVKWi : AArch64::MOVKXi); in expandMOVImmSimple() 533 void AArch64_IMM::expandMOVImm(uint64_t Imm, unsigned BitSize, in expandMOVImm() argument 541 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 550 if ((BitSize / 16) - OneChunks <= 1 || (BitSize / 16) - ZeroChunks <= 1) { in expandMOVImm() 551 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm() 556 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm() 558 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in expandMOVImm() 559 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri); in expandMOVImm() [all …]
|
| H A D | AArch64ExpandImm.h | 28 void expandMOVImm(uint64_t Imm, unsigned BitSize,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 219 const unsigned BitSize = ByteSize * 8; in initialize() local 221 std::string BitSizeStr = utostr(BitSize); in initialize() 265 Type *Ty = Type::getIntNTy(Ctx, BitSize); in initialize() 271 /*Ret=*/BitSize <= 32, Attr), in initialize() 276 Idxs Idxs2Or12 ((BitSize <= 32) ? Idxs({1, 2}) : Idxs({2})); in initialize() 277 Idxs Idxs34Or1234((BitSize <= 32) ? Idxs({1, 2, 3, 4}) : Idxs({3, 4})); in initialize() 304 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart); in initialize() 308 /*Ret=*/BitSize <= 32, Attr), in initialize() 317 /*Ret=*/BitSize <= 32, Attr), in initialize() 739 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local [all …]
|
| /freebsd/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/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGAddressAnalysis.h | 74 LLVM_ABI bool contains(const SelectionDAG &DAG, int64_t BitSize, 78 bool contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument 81 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset); in contains()
|
| H A D | ValueTypes.h | 246 unsigned BitSize = getSizeInBits(); in isRound() local 247 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | LowerTypeTests.h | 42 uint64_t BitSize; member 54 return Bits.size() == BitSize; in isAllOnes() 193 LLVM_ABI void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | RegisterBankEmitter.cpp | 297 uint32_t BitSize = NextPowerOf2(Log2_32(NumRegBanks)); in emitBaseClassImplementation() local 298 uint32_t ElemsPerWord = 32 / BitSize; in emitBaseClassImplementation() 299 uint32_t BitMask = (1 << BitSize) - 1; in emitBaseClassImplementation() 337 uint32_t Shift = 32 - BitSize; in emitBaseClassImplementation() 341 Shift += BitSize; in emitBaseClassImplementation() 369 << BitSize << ")) & " << BitMask << ";\n"; in emitBaseClassImplementation()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetTransformInfo.h | 56 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 59 if (BitSize == 0) in getIntImmCost() 63 if (BitSize > 64) in getIntImmCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZMCAsmBackend.cpp | 165 unsigned BitSize = getFixupKindInfo(Kind).TargetSize; in applyFixup() local 166 unsigned Size = (BitSize + 7) / 8; in applyFixup() 172 if (BitSize < 64) in applyFixup() 173 Value &= ((uint64_t)1 << BitSize) - 1; in applyFixup()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | IntegralAP.h | 47 constexpr unsigned BitSize = sizeof(T) * 8; in truncateCast() local 48 if (BitSize >= V.getBitWidth()) { in truncateCast() 51 Extended = V.sext(BitSize); in truncateCast() 53 Extended = V.zext(BitSize); in truncateCast() 58 return std::is_signed_v<T> ? V.trunc(BitSize).getSExtValue() in truncateCast() 59 : V.trunc(BitSize).getZExtValue(); in truncateCast()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVSymbol.h | 54 uint32_t BitSize = 0; variable 115 uint32_t getBitSize() const override { return BitSize; } in getBitSize() 116 void setBitSize(uint32_t Size) override { BitSize = Size; } in setBitSize()
|
| H A D | LVType.h | 61 uint32_t BitSize = 0; variable 117 uint32_t getBitSize() const override { return BitSize; } in getBitSize() 118 void setBitSize(uint32_t Size) override { BitSize = Size; } in setBitSize()
|
| H A D | LVScope.h | 99 uint32_t BitSize = 0; variable 278 uint32_t getBitSize() const override { return BitSize; } in getBitSize() 279 void setBitSize(uint32_t Size) override { BitSize = Size; } in setBitSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCompileUnit.h | 176 BaseTypeRef(unsigned BitSize, dwarf::TypeKind Encoding) : in BaseTypeRef() 177 BitSize(BitSize), Encoding(Encoding) {} in BaseTypeRef() 178 unsigned BitSize; member
|
| H A D | DwarfExpression.cpp | 460 unsigned DwarfExpression::getOrCreateBaseType(unsigned BitSize, in getOrCreateBaseType() argument 466 if (CU.ExprRefedBaseTypes[I].BitSize == BitSize && in getOrCreateBaseType() 471 CU.ExprRefedBaseTypes.emplace_back(BitSize, Encoding); in getOrCreateBaseType() 639 unsigned BitSize = Op->getArg(0); in addExpression() local 649 emitBaseTypeRef(getOrCreateBaseType(BitSize, Encoding)); in addExpression() 651 if (PrevConvertOp && PrevConvertOp->getArg(0) < BitSize) { in addExpression()
|
| H A D | DwarfExpression.h | 279 unsigned getOrCreateBaseType(unsigned BitSize, dwarf::TypeKind Encoding);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 143 if (BitOffset >= BitSize) in containsGlobalOffset() 146 return Bits.count(BitSize - 1 - BitOffset); in containsGlobalOffset() 150 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print() 188 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build() 195 BSI.Bits.insert(BSI.BitSize - 1 - Offset); in build() 231 uint64_t BitSize, uint64_t &AllocByteOffset, in allocate() argument 242 unsigned ReqSize = AllocByteOffset + BitSize; in allocate() 267 uint64_t BitSize; member 632 BAI->BitSize = BSI.BitSize; in createByteArray() 641 return BAI1.BitSize > BAI2.BitSize; in allocateByteArrays() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 156 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 159 if (BitSize == 0) in getIntImmCost() 162 if ((!ST->hasVector() && BitSize > 64) || BitSize > 128) in getIntImmCost() 192 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 195 if (BitSize == 0) in getIntImmCostInst() 198 if (BitSize > 64) in getIntImmCostInst() 214 if (BitSize == 8) in getIntImmCostInst() 263 if (BitSize <= 32) in getIntImmCostInst() 274 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCostInst() 312 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local [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 783 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) { in refineRxSBGMask() 807 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG() local 808 uint64_t Mask = allOnes(BitSize); in expandRxSBG() 862 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG() 893 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local 895 if (maskMatters(RxSBG, allOnes(BitSize) - allOnes(InnerBitSize))) { in expandRxSBG() 899 RxSBG.Rotate += (BitSize - InnerBitSize); in expandRxSBG() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 170 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 171 if (BitSize == 0) in getIntImmCost() 202 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 203 if (BitSize == 0) in getIntImmCostIntrin() 238 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 239 if (BitSize == 0) in getIntImmCostInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGAddressAnalysis.cpp | 177 bool BaseIndexOffset::contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument 189 return BitOffset + OtherBitSize <= BitSize; in contains()
|
| /freebsd/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/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | IRMutator.cpp | 555 uint64_t BitSize = IntTy->getBitWidth(); in mutate() local 557 (BitSize >= 64) ? (uint64_t)-1 : ((uint64_t)1 << BitSize) - 1; in mutate()
|
| /freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | TargetParser.cpp | 59 [[maybe_unused]] unsigned BitSize = Bits.size(); in getCPUDefaultTargetFeatures() local 61 assert(FE.Value < BitSize && "Target Feature is out of range"); in getCPUDefaultTargetFeatures()
|