Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Target/X86/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp84 unsigned BitOffset = i * CstEltSizeInBits; in extractConstantMask() local
87 UndefBits.setBits(BitOffset, BitOffset + CstEltSizeInBits); in extractConstantMask()
91 MaskBits.insertBits(cast<ConstantInt>(COp)->getValue(), BitOffset); in extractConstantMask()
96 unsigned BitOffset = i * MaskEltSizeInBits; in extractConstantMask() local
97 APInt EltUndef = UndefBits.extractBits(MaskEltSizeInBits, BitOffset); in extractConstantMask()
107 APInt EltBits = MaskBits.extractBits(MaskEltSizeInBits, BitOffset); in extractConstantMask()
/external/llvm-project/clang/include/clang/Serialization/
DASTBitCodes.h185 uint32_t BitOffset; member
187 PPEntityOffset(SourceRange R, uint32_t BitOffset) in PPEntityOffset()
189 End(R.getEnd().getRawEncoding()), 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()
267 BitOffset.setBitOffset(Offset - DeclTypesBlockStartOffset); in setBitOffset()
271 return BitOffset.getBitOffset() + DeclTypesBlockStartOffset; in getBitOffset()
DASTRecordWriter.h106 void AddOffset(uint64_t BitOffset) { in AddOffset() argument
108 Record->push_back(BitOffset); in AddOffset()
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGAddressAnalysis.h70 int64_t &BitOffset) const;
74 int64_t BitOffset; in contains() local
75 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset); in contains()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGAddressAnalysis.h70 int64_t &BitOffset) const;
74 int64_t BitOffset; in contains() local
75 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset); in contains()
/external/clang/include/clang/Serialization/
DASTBitCodes.h172 uint32_t BitOffset; member
174 PPEntityOffset(SourceRange R, uint32_t BitOffset) in PPEntityOffset()
177 BitOffset(BitOffset) { } in PPEntityOffset()
191 uint32_t BitOffset; member
193 DeclOffset() : Loc(0), BitOffset(0) { } in DeclOffset()
194 DeclOffset(SourceLocation Loc, uint32_t BitOffset) in DeclOffset()
196 BitOffset(BitOffset) { } in DeclOffset()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp58 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; in containsGlobalOffset() local
59 if (BitOffset >= BitSize) in containsGlobalOffset()
62 return Bits.count(BitOffset); in containsGlobalOffset()
236 Value *BitOffset);
296 Value *BitOffset) { in createMaskedBitTest() argument
300 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); in createMaskedBitTest()
302 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); in createMaskedBitTest()
381 ByteArrayInfo *&BAI, Value *BitOffset) { in createBitSetTest() argument
395 return createMaskedBitTest(B, BitsConst, BitOffset); in createBitSetTest()
413 Value *ByteAddr = B.CreateGEP(Ty, ByteArray, BitOffset); in createBitSetTest()
[all …]
/external/scudo/standalone/
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()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Drelease.h102 const uptr BitOffset = (I & BitOffsetMask) << CounterSizeBitsLog; in get() local
103 return (Buffer[Region * SizePerRegion + Index] >> BitOffset) & CounterMask; in get()
109 const uptr BitOffset = (I & BitOffsetMask) << CounterSizeBitsLog; in inc() local
110 DCHECK_LT(BitOffset, SCUDO_WORDSIZE); in inc()
112 << BitOffset; in inc()
/external/llvm-project/llvm/test/DebugInfo/COFF/
Dbitfields.ll35 ; CHECK: BitOffset: 8
58 ; CHECK: BitOffset: 0
64 ; CHECK: BitOffset: 23
95 ; CHECK: BitOffset: 0
147 ; CHECK: BitOffset: 0
/external/llvm/test/DebugInfo/COFF/
Dbitfields.ll35 ; CHECK: BitOffset: 8
58 ; CHECK: BitOffset: 0
64 ; CHECK: BitOffset: 23
81 ; CHECK: BitOffset: 0
156 ; CHECK: BitOffset: 0
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGAddressAnalysis.cpp148 int64_t OtherBitSize, int64_t &BitOffset) const { in contains()
157 BitOffset = 8 * Offset; in contains()
158 return BitOffset + OtherBitSize <= BitSize; in contains()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGAddressAnalysis.cpp159 int64_t OtherBitSize, int64_t &BitOffset) const { in contains()
168 BitOffset = 8 * Offset; in contains()
169 return BitOffset + OtherBitSize <= BitSize; in contains()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp127 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; in containsGlobalOffset() local
128 if (BitOffset >= BitSize) in containsGlobalOffset()
131 return Bits.count(BitOffset); in containsGlobalOffset()
456 Value *BitOffset);
578 Value *BitOffset) { in createMaskedBitTest() argument
582 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); in createMaskedBitTest()
584 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); in createMaskedBitTest()
663 Value *BitOffset) { in createBitSetTest() argument
667 return createMaskedBitTest(B, TIL.InlineBits, BitOffset); in createBitSetTest()
679 Value *ByteAddr = B.CreateGEP(Int8Ty, ByteArray, BitOffset); in createBitSetTest()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp127 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; in containsGlobalOffset() local
128 if (BitOffset >= BitSize) in containsGlobalOffset()
131 return Bits.count(BitOffset); in containsGlobalOffset()
459 Value *BitOffset);
585 Value *BitOffset) { in createMaskedBitTest() argument
589 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); in createMaskedBitTest()
591 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); in createMaskedBitTest()
670 Value *BitOffset) { in createBitSetTest() argument
674 return createMaskedBitTest(B, TIL.InlineBits, BitOffset); in createBitSetTest()
686 Value *ByteAddr = B.CreateGEP(Int8Ty, ByteArray, BitOffset); in createBitSetTest()
[all …]
/external/clang/lib/CodeGen/
DCGObjCRuntime.cpp120 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); in EmitValueForIvarAtOffset() local
124 llvm::alignTo(BitOffset + BitFieldSize, AlignmentBits)); in EmitValueForIvarAtOffset()
134 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize, in EmitValueForIvarAtOffset()
DCGRecordLayoutBuilder.cpp146 CharUnits bitsToCharUnits(uint64_t BitOffset) { in bitsToCharUnits()
147 return Context.toCharUnitsFromBits(BitOffset); in bitsToCharUnits()
381 uint64_t BitOffset = getFieldBitOffset(*Field); in accumulateBitFields() local
390 if (Run == FieldEnd || BitOffset >= Tail) { in accumulateBitFields()
392 StartBitOffset = BitOffset; in accumulateBitFields()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp572 unsigned BitOffset = 0; in ExpandLoad() local
579 if (BitOffset < WideBits) { in ExpandLoad()
581 BitOffset, dl, TLI.getShiftAmountTy(WideVT, DAG.getDataLayout())); in ExpandLoad()
586 BitOffset += SrcEltBits; in ExpandLoad()
587 if (BitOffset >= WideBits) { in ExpandLoad()
589 BitOffset -= WideBits; in ExpandLoad()
590 if (BitOffset > 0) { in ExpandLoad()
592 SrcEltBits - BitOffset, dl, in ExpandLoad()
/external/llvm-project/clang/lib/CodeGen/
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()
DCGRecordLayoutBuilder.cpp153 CharUnits bitsToCharUnits(uint64_t BitOffset) { in bitsToCharUnits()
154 return Context.toCharUnitsFromBits(BitOffset); in bitsToCharUnits()
402 uint64_t BitOffset = getFieldBitOffset(*Field); in accumulateBitFields() local
412 if (Run == FieldEnd || BitOffset >= Tail) { in accumulateBitFields()
414 StartBitOffset = BitOffset; in accumulateBitFields()
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DKnownBitsTest.cpp664 for (unsigned BitOffset = 0; BitOffset != 64; BitOffset += 16, ++Offset) { in TEST_F() local
669 uint16_t PartTestVal = static_cast<uint16_t>(TestVal >> BitOffset); in TEST_F()
/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h590 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument
592 BitOffset(BitOffset) {} in BitFieldRecord()
602 uint8_t getBitOffset() const { return BitOffset; } in getBitOffset()
609 uint8_t BitOffset; member
614 uint8_t BitOffset; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h544 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument
546 BitOffset(BitOffset) {} in BitFieldRecord()
549 uint8_t getBitOffset() const { return BitOffset; } in getBitOffset()
554 uint8_t BitOffset = 0; variable
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h538 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument
540 BitOffset(BitOffset) {} in BitFieldRecord()
543 uint8_t getBitOffset() const { return BitOffset; } in getBitOffset()
548 uint8_t BitOffset = 0; variable

12