Home
last modified time | relevance | path

Searched refs:BitOffset (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp86 unsigned BitOffset = i * CstEltSizeInBits; in extractConstantMask() local
89 UndefBits.setBits(BitOffset, BitOffset + CstEltSizeInBits); in extractConstantMask()
93 MaskBits.insertBits(cast<ConstantInt>(COp)->getValue(), BitOffset); in extractConstantMask()
98 unsigned BitOffset = i * MaskEltSizeInBits; in extractConstantMask() local
99 APInt EltUndef = UndefBits.extractBits(MaskEltSizeInBits, BitOffset); in extractConstantMask()
109 APInt EltBits = MaskBits.extractBits(MaskEltSizeInBits, BitOffset); in extractConstantMask()
H A DX86ISelLowering.cpp7226 UndefBits.setBits(BitOffset, BitOffset + SrcEltSizeInBits); in getTargetConstantBitsFromNode()
7235 unsigned BitOffset = i * EltSizeInBits; in getTargetConstantBitsFromNode() local
14478 int BitOffset = BroadcastIdx * NumEltBits; in lowerShuffleAsBroadcast() local
14488 int OpIdx = BitOffset / OpBitWidth; in lowerShuffleAsBroadcast()
14490 BitOffset %= OpBitWidth; in lowerShuffleAsBroadcast()
14498 BitOffset += BeginOffset; in lowerShuffleAsBroadcast()
14509 if (BeginOffset <= BitOffset && BitOffset < EndOffset) { in lowerShuffleAsBroadcast()
14510 BitOffset -= BeginOffset; in lowerShuffleAsBroadcast()
14521 BroadcastIdx = BitOffset / NumEltBits; in lowerShuffleAsBroadcast()
14581 } else if (BitOffset != 0) { in lowerShuffleAsBroadcast()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/
H A DIntelPTSingleBufferTrace.cpp52 BitOffset enumerator
67 if (type == BitOffset) { in ReadIntelPTConfigFile()
82 case BitOffset: in ReadIntelPTConfigFile()
103 case BitOffset: in ReadIntelPTConfigFile()
155 kTSCBitOffsetFile, IntelPTConfigFileType::BitOffset)) in GeneratePerfEventConfigValue()
165 kPSBPeriodBitOffsetFile, IntelPTConfigFileType::BitOffset)) in GeneratePerfEventConfigValue()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTBitCodes.h185 uint32_t BitOffset; member
187 PPEntityOffset(SourceRange R, uint32_t BitOffset) in PPEntityOffset()
189 BitOffset(BitOffset) {} in PPEntityOffset()
228 UnderalignedInt64(uint64_t BitOffset) { setBitOffset(BitOffset); } in UnderalignedInt64()
248 UnderalignedInt64 BitOffset; member
251 DeclOffset(SourceLocation Loc, uint64_t BitOffset, in DeclOffset()
254 setBitOffset(BitOffset, DeclTypesBlockStartOffset); in DeclOffset()
264 BitOffset.setBitOffset(Offset - DeclTypesBlockStartOffset); in setBitOffset()
268 return BitOffset.getBitOffset() + DeclTypesBlockStartOffset; in getBitOffset()
H A DASTRecordWriter.h110 void AddOffset(uint64_t BitOffset) { in AddOffset() argument
112 Record->push_back(BitOffset); in AddOffset()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAGAddressAnalysis.h71 int64_t &BitOffset) const;
75 int64_t BitOffset; in contains() local
76 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset); in contains()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Drelease.h106 const uptr BitOffset = (I & BitOffsetMask) << CounterSizeBitsLog; in get() local
107 return (Buffer[Region * SizePerRegion + Index] >> BitOffset) & CounterMask; in get()
113 const uptr BitOffset = (I & BitOffsetMask) << CounterSizeBitsLog; in inc() local
114 DCHECK_LT(BitOffset, SCUDO_WORDSIZE); in inc()
116 << BitOffset; in inc()
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dbitfields.ll35 ; CHECK: BitOffset: 8
58 ; CHECK: BitOffset: 0
64 ; CHECK: BitOffset: 23
95 ; CHECK: BitOffset: 0
147 ; CHECK: BitOffset: 0
H A Dpr37492.ll20 ; CHECK-NEXT: .byte 0x0 # BitOffset
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp174 int64_t OtherBitSize, int64_t &BitOffset) const { in contains()
183 BitOffset = 8 * Offset; in contains()
184 return BitOffset + OtherBitSize <= BitSize; in contains()
H A DTargetLowering.cpp703 unsigned BitOffset = EltOffset * NumSrcEltBits; in SimplifyMultipleUseDemandedBits() local
704 APInt Sub = DemandedBits.extractBits(NumSrcEltBits, BitOffset); in SimplifyMultipleUseDemandedBits()
2504 unsigned BitOffset = EltOffset * NumSrcEltBits; in SimplifyDemandedBits() local
2505 APInt Sub = DemandedBits.extractBits(NumSrcEltBits, BitOffset); in SimplifyDemandedBits()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp133 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; in containsGlobalOffset() local
134 if (BitOffset >= BitSize) in containsGlobalOffset()
137 return Bits.count(BitOffset); in containsGlobalOffset()
475 Value *BitOffset);
560 Value *BitOffset) { in createMaskedBitTest() argument
564 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); in createMaskedBitTest()
649 return createMaskedBitTest(B, TIL.InlineBits, BitOffset); in createBitSetTest()
661 Value *ByteAddr = B.CreateGEP(Int8Ty, ByteArray, BitOffset); in createBitSetTest()
753 Value *BitOffset = B.CreateOr(OffsetSHR, OffsetSHL); in lowerTypeTestCall() local
780 return createBitSetTest(ThenB, TIL, BitOffset); in lowerTypeTestCall()
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp91 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); in EmitValueForIvarAtOffset() local
95 llvm::alignTo(BitOffset + BitFieldSize, AlignmentBits)); in EmitValueForIvarAtOffset()
105 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize, in EmitValueForIvarAtOffset()
H A DCGRecordLayoutBuilder.cpp158 CharUnits bitsToCharUnits(uint64_t BitOffset) { in bitsToCharUnits()
159 return Context.toCharUnitsFromBits(BitOffset); in bitsToCharUnits()
407 uint64_t BitOffset = getFieldBitOffset(*Field); in accumulateBitFields() local
417 if (Run == FieldEnd || BitOffset >= Tail) { in accumulateBitFields()
419 StartBitOffset = BitOffset; in accumulateBitFields()
H A DCodeGenTBAA.cpp383 uint64_t BitOffset = Layout.getFieldOffset(Field->getFieldIndex()); in getBaseTypeInfoHelper() local
384 uint64_t Offset = Context.toCharUnitsFromBits(BitOffset).getQuantity(); in getBaseTypeInfoHelper()
H A DCGCall.cpp3297 static void setBitRange(SmallVectorImpl<uint64_t> &Bits, int BitOffset, in setBitRange() argument
3303 if (BitOffset >= CharWidth) { in setBitRange()
3304 Pos += BitOffset / CharWidth; in setBitRange()
3305 BitOffset = BitOffset % CharWidth; in setBitRange()
3309 if (BitOffset + BitWidth >= CharWidth) { in setBitRange()
3310 Bits[Pos++] |= (Used << BitOffset) & Used; in setBitRange()
3311 BitWidth -= CharWidth - BitOffset; in setBitRange()
3312 BitOffset = 0; in setBitRange()
3321 Bits[Pos++] |= (Used >> (CharWidth - BitWidth)) << BitOffset; in setBitRange()
3329 int StorageSize, int BitOffset, int BitWidth, in setBitRange() argument
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h539 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument
541 BitOffset(BitOffset) {} in BitFieldRecord()
544 uint8_t getBitOffset() const { return BitOffset; } in getBitOffset()
549 uint8_t BitOffset = 0; variable
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp402 int BitOffset = TRI->getSubRegIdxOffset(SubIdx); in getStackSlotRange() local
403 if (BitOffset < 0 || BitOffset % 8) in getStackSlotRange()
407 Offset = (unsigned)BitOffset / 8; in getStackSlotRange()
/llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/
H A DKnownBitsTest.cpp1349 for (unsigned BitOffset = 0; BitOffset != 64; BitOffset += 16, ++Offset) { in TEST_F() local
1354 uint16_t PartTestVal = static_cast<uint16_t>(TestVal >> BitOffset); in TEST_F()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp238 offset += bfr.BitOffset; in visitKnownMember()
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp476 BF.BitOffset, BF.BitSize); in visitKnownRecord()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp492 error(IO.mapInteger(Record.BitOffset, "BitOffset")); in visitKnownRecord()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp553 IO.mapRequired("BitOffset", Record.BitOffset); in map()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp6021 M.MacroOffsetsBase + PPOffs.BitOffset)) { in ReadPreprocessedEntity()