Searched refs:BitSize (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.h28 void expandMOVImm(uint64_t Imm, unsigned BitSize,
H A DAArch64ExpandImm.cpp245 /// MOVZ or MOVN of width BitSize followed by up to 3 MOVK instructions.
246 static inline void expandMOVImmSimple(uint64_t Imm, unsigned BitSize, argument
264 if (BitSize == 32) {
291 unsigned Opc = (BitSize == 32 ? AArch64::MOVKWi : AArch64::MOVKXi);
305 void expandMOVImm(uint64_t Imm, unsigned BitSize, argument
313 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) {
322 if ((BitSize / 16) - OneChunks <= 1 || (BitSize / 16) - ZeroChunks <= 1) {
323 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn);
328 uint64_t UImm = Imm << (64 - BitSize) >> (6
[all...]
H A DAArch64TargetTransformInfo.cpp63 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
64 if (BitSize == 0)
69 if (BitSize & 0x3f)
70 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU);
75 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) {
88 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
91 if (BitSize == 0)
141 int NumConstants = (BitSize + 63) / 64;
154 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
157 if (BitSize
[all...]
H A DAArch64ExpandPseudoInsts.cpp69 unsigned BitSize);
110 unsigned BitSize) {
125 AArch64_IMM::expandMOVImm(Imm, BitSize, Insn);
139 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR)
108 expandMOVImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned BitSize) argument
H A DAArch64InstrInfo.cpp676 static bool canBeExpandedToORR(const MachineInstr &MI, unsigned BitSize) { argument
678 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize);
680 return AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding);
4414 unsigned BitSize, OrrOpc, ZeroReg; local
4418 BitSize = 32;
4425 BitSize = 64;
4437 uint64_t UImm = SignExtend64(Imm, BitSize);
4439 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) {
4506 unsigned BitSize, OrrOp local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGAddressAnalysis.h68 bool contains(const SelectionDAG &DAG, int64_t BitSize,
72 bool contains(const SelectionDAG &DAG, int64_t BitSize, argument
75 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset);
H A DValueTypes.h220 unsigned BitSize = getSizeInBits(); local
221 return BitSize >= 8 && !(BitSize & (BitSize - 1));
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h41 uint64_t BitSize; member in struct:llvm::lowertypetests::BitSetInfo
53 return Bits.size() == BitSize;
187 /// Allocate BitSize bits in the byte array where Bits contains the bits to
192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCAsmBackend.cpp104 unsigned BitSize = getFixupKindInfo(Kind).TargetSize; local
105 unsigned Size = (BitSize + 7) / 8;
111 if (BitSize < 64)
112 Value &= ((uint64_t)1 << BitSize) - 1;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp57 unsigned BitSize = V->getType()->getScalarSizeInBits(); local
61 switch(BitSize) {
160 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); local
161 unsigned WordSize = (BitSize + 63) / 64;
166 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize);
177 if (BitSize > 64) {
180 BitSize -= 64;
192 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); local
193 for (unsigned i = 1; i < BitSize;
[all...]
H A DTargetInstrInfo.cpp389 unsigned BitSize = TRI->getSubRegIdxSize(SubIdx); local
391 if (BitSize % 8)
398 Size = BitSize / 8;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h133 BaseTypeRef(unsigned BitSize, dwarf::TypeKind Encoding) : argument
134 BitSize(BitSize), Encoding(Encoding) {}
135 unsigned BitSize; member in struct:llvm::final::BaseTypeRef
H A DDwarfExpression.cpp450 unsigned BitSize = Op->getArg(0); local
458 if (CU.ExprRefedBaseTypes[I].BitSize == BitSize &&
463 CU.ExprRefedBaseTypes.emplace_back(BitSize, Encoding);
473 if (PrevConvertOp && PrevConvertOp->getArg(0) < BitSize) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp220 const unsigned BitSize = ByteSize * 8; local
222 std::string BitSizeStr = utostr(BitSize);
239 Type *Ty = Type::getIntNTy(M.getContext(), BitSize);
269 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart);
637 const unsigned BitSize = ByteSize * 8; local
638 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
652 const unsigned BitSize = ByteSize * 8; local
653 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
669 const unsigned BitSize = ByteSize * 8; local
670 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
683 const unsigned BitSize = ByteSize * 8; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp36 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
39 if (BitSize == 0)
42 if (BitSize > 64)
69 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
72 if (BitSize == 0)
75 if (BitSize > 64)
91 if (BitSize == 8)
140 if (BitSize <= 32)
151 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End))
187 unsigned BitSize local
[all...]
H A DSystemZISelDAGToDAG.cpp116 // otherwise. The output value has BitSize bits, although Input may be
121 : Opcode(Op), BitSize(N.getValueSizeInBits()),
122 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63),
126 unsigned BitSize; member in struct:__anon2408::RxSBGOperands
757 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) {
779 uint64_t BitSize = N.getValueSizeInBits();
780 uint64_t Mask = allOnes(BitSize);
834 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64)
865 unsigned BitSize local
886 unsigned BitSize = N.getValueSizeInBits(); local
913 unsigned BitSize = N.getValueSizeInBits(); local
[all...]
H A DSystemZISelLowering.cpp2282 // CCMask says which comparison result is being tested and BitSize is
2285 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, argument
2423 unsigned BitSize = NewC.Op0.getValueSizeInBits(); local
2430 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
2441 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
2448 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal,
3752 int64_t BitSize = (int64_t)1 << Log2_32_Ceil(NumSignificantBits); local
3753 BitSize = std::min(BitSize, OrigBitSize);
3761 // position larger than BitSize remai
3964 int64_t BitSize = NarrowVT.getSizeInBits(); local
7030 emitAtomicLoadBinary( MachineInstr &MI, MachineBasicBlock *MBB, unsigned BinOpcode, unsigned BitSize, bool Invert) const argument
7280 int64_t BitSize = MI.getOperand(7).getImm(); local
[all...]
H A DSystemZInstrInfo.h304 // Mask of the R2 operand, given that only the low BitSize bits of Mask are
306 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
H A DSystemZISelLowering.h660 unsigned BinOpcode, unsigned BitSize,
666 unsigned BitSize) const;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp128 if (BitOffset >= BitSize)
135 OS << "offset " << ByteOffset << " size " << BitSize << " align "
173 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1;
212 uint64_t BitSize, uint64_t &AllocByteOffset,
223 unsigned ReqSize = AllocByteOffset + BitSize;
248 uint64_t BitSize; member in struct:__anon2598::ByteArrayInfo
603 BAI->BitSize = BSI.BitSize;
612 return BAI1.BitSize > BAI2.BitSize;
211 allocate(const std::set<uint64_t> &Bits, uint64_t BitSize, uint64_t &AllocByteOffset, uint8_t &AllocMask) argument
931 uint64_t BitSize = cast<ConstantInt>(TIL.SizeM1)->getZExtValue() + 1; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp146 bool BaseIndexOffset::contains(const SelectionDAG &DAG, int64_t BitSize, argument
158 return BitOffset + OtherBitSize <= BitSize;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp64 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
65 if (BitSize == 0)
94 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
95 if (BitSize == 0)
128 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
129 if (BitSize == 0)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h544 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) argument
545 : TypeRecord(TypeRecordKind::BitField), Type(Type), BitSize(BitSize),
550 uint8_t getBitSize() const { return BitSize; }
553 uint8_t BitSize = 0; member in class:llvm::codeview::BitFieldRecord
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp157 bitfield_width = bfr.BitSize;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp3005 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
3006 if (BitSize == 0)
3013 if (BitSize > 128)
3021 if (BitSize % 64 != 0)
3022 ImmVal = Imm.sext(alignTo(BitSize, 64));
3027 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) {
3040 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
3043 if (BitSize == 0)
3123 int NumConstants = divideCeil(BitSize, 64);
3137 unsigned BitSize local
[all...]

Completed in 431 milliseconds

12