/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,
|
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() 189 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm()
|
H A D | AArch64TargetTransformInfo.cpp | 362 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 363 if (BitSize == 0) in getIntImmCost() 368 if (BitSize & 0x3f) in getIntImmCost() 369 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost() 374 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost() 389 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 392 if (BitSize == 0) in getIntImmCostInst() 442 int NumConstants = (BitSize + 63) / 64; in getIntImmCostInst() 457 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 460 if (BitSize == 0) in getIntImmCostIntrin() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 217 const unsigned BitSize = ByteSize * 8; in initialize() local 219 std::string BitSizeStr = utostr(BitSize); in initialize() 263 Type *Ty = Type::getIntNTy(Ctx, BitSize); in initialize() 269 /*Ret=*/BitSize <= 32, Attr), in initialize() 274 Idxs Idxs2Or12 ((BitSize <= 32) ? Idxs({1, 2}) : Idxs({2})); in initialize() 275 Idxs Idxs34Or1234((BitSize <= 32) ? Idxs({1, 2, 3, 4}) : Idxs({3, 4})); in initialize() 302 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart); in initialize() 306 /*Ret=*/BitSize <= 32, Attr), in initialize() 315 /*Ret=*/BitSize <= 32, Attr), in initialize() 735 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 | 73 bool contains(const SelectionDAG &DAG, int64_t BitSize, 77 bool contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument 80 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset); in contains()
|
H A D | ValueTypes.h | 241 unsigned BitSize = getSizeInBits(); in isRound() local 242 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
|
/freebsd/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/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/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZMCAsmBackend.cpp | 179 unsigned BitSize = getFixupKindInfo(Kind).TargetSize; in applyFixup() local 180 unsigned Size = (BitSize + 7) / 8; in applyFixup() 186 if (BitSize < 64) in applyFixup() 187 Value &= ((uint64_t)1 << BitSize) - 1; in applyFixup()
|
/freebsd/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/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 77 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 80 if (BitSize == 0) in getIntImmCost() 83 if ((!ST->hasVector() && BitSize > 64) || BitSize > 128) in getIntImmCost() 113 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 116 if (BitSize == 0) in getIntImmCostInst() 119 if (BitSize > 64) in getIntImmCostInst() 135 if (BitSize == 8) in getIntImmCostInst() 184 if (BitSize <= 32) in getIntImmCostInst() 195 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCostInst() 233 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 …]
|
H A D | SystemZISelLowering.cpp | 2757 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, in getTestUnderMaskCond() argument 2915 unsigned BitSize = NewC.Op0.getValueSizeInBits(); in adjustForTestUnderMask() local 2922 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask() 2933 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask() 2940 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal, in adjustForTestUnderMask() 4497 int64_t BitSize = llvm::bit_ceil(NumSignificantBits); in lowerCTPOP() local 4498 BitSize = std::min(BitSize, OrigBitSize); in lowerCTPOP() 4507 for (int64_t I = BitSize / 2; I >= 8; I = I / 2) { in lowerCTPOP() 4509 if (BitSize != OrigBitSize) in lowerCTPOP() 4511 DAG.getConstant(((uint64_t)1 << BitSize) - 1, DL, VT)); in lowerCTPOP() [all …]
|
H A D | SystemZInstrInfo.h | 349 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
|
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfExpression.cpp | 454 unsigned DwarfExpression::getOrCreateBaseType(unsigned BitSize, in getOrCreateBaseType() argument 460 if (CU.ExprRefedBaseTypes[I].BitSize == BitSize && in getOrCreateBaseType() 465 CU.ExprRefedBaseTypes.emplace_back(BitSize, Encoding); in getOrCreateBaseType() 633 unsigned BitSize = Op->getArg(0); in addExpression() local 643 emitBaseTypeRef(getOrCreateBaseType(BitSize, Encoding)); in addExpression() 645 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 | 279 unsigned getOrCreateBaseType(unsigned BitSize, dwarf::TypeKind Encoding);
|
/freebsd/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() 218 uint64_t BitSize, uint64_t &AllocByteOffset, in allocate() argument 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() 626 BAB.allocate(BAI->Bits, BAI->BitSize, ByteArrayOffsets[I], Mask); in allocateByteArrays() 937 uint64_t BitSize = cast<ConstantInt>(TIL.SizeM1)->getZExtValue() + 1; in exportTypeId() local [all …]
|
/freebsd/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/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 | 468 uint64_t BitSize = IntTy->getBitWidth(); in mutate() local 470 (BitSize >= 64) ? (uint64_t)-1 : ((uint64_t)1 << BitSize) - 1; in mutate()
|