| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ExpandImm.cpp | 263 if (BitSize == 32) { in expandMOVImmSimple() 304 void AArch64_IMM::expandMOVImm(uint64_t Imm, unsigned BitSize, in expandMOVImm() argument 312 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 321 if ((BitSize / 16) - OneChunks <= 1 || (BitSize / 16) - ZeroChunks <= 1) { in expandMOVImm() 322 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm() 327 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm() 339 if (OneChunks >= (BitSize / 16) - 2 || ZeroChunks >= (BitSize / 16) - 2) { in expandMOVImm() 355 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 392 if (BitSize == 64 && tryToreplicateChunks(UImm, Insn)) in expandMOVImm() 400 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 | 67 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 68 if (BitSize == 0) in getIntImmCost() 73 if (BitSize & 0x3f) in getIntImmCost() 74 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost() 79 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost() 94 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 97 if (BitSize == 0) in getIntImmCostInst() 147 int NumConstants = (BitSize + 63) / 64; in getIntImmCostInst() 162 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 165 if (BitSize == 0) in getIntImmCostIntrin() [all …]
|
| H A D | AArch64ExpandPseudoInsts.cpp | 70 unsigned BitSize); 120 unsigned BitSize) { in expandMOVImm() argument 135 AArch64_IMM::expandMOVImm(Imm, BitSize, Insn); in expandMOVImm() 149 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm()
|
| H A D | AArch64InstrInfo.cpp | 799 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in canBeExpandedToORR() 801 return AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding); in canBeExpandedToORR() 5311 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local 5315 BitSize = 32; in genAlternativeCodeSequence() 5322 BitSize = 64; in genAlternativeCodeSequence() 5334 uint64_t UImm = SignExtend64(Imm, BitSize); in genAlternativeCodeSequence() 5336 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in genAlternativeCodeSequence() 5403 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local 5407 BitSize = 32; in genAlternativeCodeSequence() 5414 BitSize = 64; in genAlternativeCodeSequence() [all …]
|
| /freebsd-13.1/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()
|
| H A D | TargetInstrInfo.cpp | 399 unsigned BitSize = TRI->getSubRegIdxSize(SubIdx); in getStackSlotRange() local 401 if (BitSize % 8) in getStackSlotRange() 408 Size = BitSize / 8; in getStackSlotRange()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGAddressAnalysis.h | 68 bool contains(const SelectionDAG &DAG, int64_t BitSize, 72 bool contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument 75 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset); in contains()
|
| H A D | ValueTypes.h | 224 unsigned BitSize = getSizeInBits(); in isRound() local 225 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZMCAsmBackend.cpp | 129 unsigned BitSize = getFixupKindInfo(Kind).TargetSize; in applyFixup() local 130 unsigned Size = (BitSize + 7) / 8; in applyFixup() 136 if (BitSize < 64) in applyFixup() 137 Value &= ((uint64_t)1 << BitSize) - 1; in applyFixup()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 266 const unsigned BitSize = ByteSize * 8; in initialize() local 268 std::string BitSizeStr = utostr(BitSize); in initialize() 312 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); in initialize() 780 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 781 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 795 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 796 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 813 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 814 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 828 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 37 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 40 if (BitSize == 0) in getIntImmCost() 43 if (BitSize > 64) in getIntImmCost() 72 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 75 if (BitSize == 0) in getIntImmCostInst() 78 if (BitSize > 64) in getIntImmCostInst() 94 if (BitSize == 8) in getIntImmCostInst() 143 if (BitSize <= 32) in getIntImmCostInst() 192 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 195 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 783 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG() local 784 uint64_t Mask = allOnes(BitSize); in expandRxSBG() 869 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local 875 RxSBG.Rotate += (BitSize - InnerBitSize); in expandRxSBG() 890 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local 891 if (Count < 1 || Count >= BitSize) in expandRxSBG() 917 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local [all …]
|
| H A D | SystemZISelLowering.cpp | 3871 BitSize = std::min(BitSize, OrigBitSize); in lowerCTPOP() 3882 if (BitSize != OrigBitSize) in lowerCTPOP() 3889 if (BitSize > 8) in lowerCTPOP() 3954 int64_t BitSize = NarrowVT.getSizeInBits(); in lowerATOMIC_LOAD_OP() local 7379 unsigned BitSize, bool Invert) const { in emitAtomicLoadBinary() argument 7384 bool IsSubWord = (BitSize < 32); in emitAtomicLoadBinary() 7396 BitSize = MI.getOperand(6).getImm(); in emitAtomicLoadBinary() 7450 if (BitSize <= 32) in emitAtomicLoadBinary() 7472 .addImm(32).addImm(31 + BitSize).addImm(32 - BitSize); in emitAtomicLoadBinary() 7503 bool IsSubWord = (BitSize < 32); in emitAtomicLoadMinMax() [all …]
|
| H A D | SystemZISelLowering.h | 711 unsigned BinOpcode, unsigned BitSize, 717 unsigned BitSize) const;
|
| H A D | SystemZInstrInfo.h | 321 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfExpression.cpp | 435 unsigned DwarfExpression::getOrCreateBaseType(unsigned BitSize, in getOrCreateBaseType() argument 441 if (CU.ExprRefedBaseTypes[I].BitSize == BitSize && in getOrCreateBaseType() 446 CU.ExprRefedBaseTypes.emplace_back(BitSize, Encoding); in getOrCreateBaseType() 573 unsigned BitSize = Op->getArg(0); in addExpression() local 583 emitBaseTypeRef(getOrCreateBaseType(BitSize, Encoding)); in addExpression() 585 if (PrevConvertOp && PrevConvertOp->getArg(0) < BitSize) { in addExpression()
|
| H A D | DwarfCompileUnit.h | 138 BaseTypeRef(unsigned BitSize, dwarf::TypeKind Encoding) : in BaseTypeRef() 139 BitSize(BitSize), Encoding(Encoding) {} in BaseTypeRef() 140 unsigned BitSize; member
|
| H A D | DwarfExpression.h | 341 unsigned getOrCreateBaseType(unsigned BitSize, dwarf::TypeKind Encoding);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 133 if (BitOffset >= BitSize) in containsGlobalOffset() 140 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print() 178 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build() 228 unsigned ReqSize = AllocByteOffset + BitSize; in allocate() 253 uint64_t BitSize; member 615 BAI->BitSize = BSI.BitSize; in createByteArray() 624 return BAI1.BitSize > BAI2.BitSize; in allocateByteArrays() 947 TTRes.SizeM1BitWidth = (BitSize <= 32) ? 5 : 6; in exportTypeId() 949 TTRes.SizeM1BitWidth = (BitSize <= 128) ? 7 : 32; in exportTypeId() 1147 TIL.SizeM1 = ConstantInt::get(IntPtrTy, BSI.BitSize - 1); in lowerTypeTestCalls() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGAddressAnalysis.cpp | 157 bool BaseIndexOffset::contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument 169 return BitOffset + OtherBitSize <= BitSize; in contains()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 177 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 178 if (BitSize == 0) in getIntImmCost() 208 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 209 if (BitSize == 0) in getIntImmCostIntrin() 244 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 245 if (BitSize == 0) in getIntImmCostInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecord.h | 538 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument 539 : TypeRecord(TypeRecordKind::BitField), Type(Type), BitSize(BitSize), in BitFieldRecord() 544 uint8_t getBitSize() const { return BitSize; } in getBitSize() 547 uint8_t BitSize = 0; variable
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | UdtRecordCompleter.cpp | 221 bitfield_width = bfr.BitSize; in visitKnownMember()
|