Home
last modified time | relevance | path

Searched refs:BitIndex (Results 1 – 14 of 14) sorted by relevance

/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp461 void reportRegion(bitAttr_t RA, unsigned StartBit, unsigned BitIndex,
1391 unsigned BitIndex, bool AllowMixed) { in reportRegion() argument
1393 Filters.emplace_back(*this, StartBit, BitIndex - StartBit, true); in reportRegion()
1395 Filters.emplace_back(*this, StartBit, BitIndex - StartBit, false); in reportRegion()
1434 unsigned BitIndex; in filterProcessor() local
1457 for (BitIndex = 0; BitIndex < BitWidth; ++BitIndex) in filterProcessor()
1458 if (FilterBitValues[BitIndex] == BIT_TRUE || in filterProcessor()
1459 FilterBitValues[BitIndex] == BIT_FALSE) in filterProcessor()
1469 for (BitIndex = 0; BitIndex < BitWidth; ++BitIndex) { in filterProcessor()
1470 switch (bitAttrs[BitIndex]) { in filterProcessor()
[all …]
/external/llvm-project/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp518 void reportRegion(bitAttr_t RA, unsigned StartBit, unsigned BitIndex,
1477 unsigned BitIndex, bool AllowMixed) { in reportRegion() argument
1479 Filters.emplace_back(*this, StartBit, BitIndex - StartBit, true); in reportRegion()
1481 Filters.emplace_back(*this, StartBit, BitIndex - StartBit, false); in reportRegion()
1520 unsigned BitIndex; in filterProcessor() local
1543 for (BitIndex = 0; BitIndex < BitWidth; ++BitIndex) in filterProcessor()
1544 if (FilterBitValues[BitIndex] == BIT_TRUE || in filterProcessor()
1545 FilterBitValues[BitIndex] == BIT_FALSE) in filterProcessor()
1555 for (BitIndex = 0; BitIndex < BitWidth; ++BitIndex) { in filterProcessor()
1556 switch (bitAttrs[BitIndex]) { in filterProcessor()
[all …]
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp211 const APInt *BitIndex = nullptr; in matchAndOrChain() local
212 if (!match(V, m_LShr(m_Value(Candidate), m_APInt(BitIndex)))) in matchAndOrChain()
220 if (BitIndex && BitIndex->uge(MOps.Mask.getBitWidth())) in matchAndOrChain()
224 MOps.Mask.setBit(BitIndex ? BitIndex->getZExtValue() : 0); in matchAndOrChain()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp197 uint64_t BitIndex = 0; in matchAndOrChain() local
198 if (!match(V, m_LShr(m_Value(Candidate), m_ConstantInt(BitIndex)))) in matchAndOrChain()
206 if (BitIndex >= MOps.Mask.getBitWidth()) in matchAndOrChain()
210 MOps.Mask.setBit(BitIndex); in matchAndOrChain()
/external/rust/crates/ring/src/
Dlimb.rs277 struct BitIndex(Wrapping<c::size_t>); in fold_5_bit_windows() struct
285 index_within_word: BitIndex, in fold_5_bit_windows() argument
287 fn LIMBS_window5_unsplit_window(limb: Limb, index_within_word: BitIndex) -> Window; in fold_5_bit_windows()
297 BitIndex(Wrapping(LIMB_BITS - leading_bits)) in fold_5_bit_windows()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp301 Value *BitIndex = in createMaskedBitTest() local
303 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex); in createMaskedBitTest()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DGPRArith.cpp1782 static constexpr ValueType BitIndex(bool Forward, ValueType Index) { in BitIndex() function in Ice::X8632::Test::__anonfc8716cf0111::BitScanHelper
1787 : BitIndex(Forward, (Forward ? Index + 1 : Index - 1))); in BitIndex()
1792 static constexpr ValueType bsf = BitIndex(/*Forward*/ true, /*Index=*/0);
1794 BitIndex(/*Forward*/ false, /*Index=*/Bits - 1);
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DGPRArith.cpp1798 static constexpr ValueType BitIndex(bool Forward, ValueType Index) { in BitIndex() function in Ice::X8664::Test::__anon5cddd3540111::BitScanHelper
1803 : BitIndex(Forward, (Forward ? Index + 1 : Index - 1))); in BitIndex()
1808 static constexpr ValueType bsf = BitIndex(/*Forward*/ true, /*Index=*/0);
1810 BitIndex(/*Forward*/ false, /*Index=*/Bits - 1);
/external/llvm-project/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp590 Value *BitIndex = in createMaskedBitTest() local
592 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex); in createMaskedBitTest()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp583 Value *BitIndex = in createMaskedBitTest() local
585 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex); in createMaskedBitTest()
/external/llvm-project/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp792 GuardInfo() : Guard(nullptr), BitIndex(0) {} in GuardInfo()
794 unsigned BitIndex; member
2520 GuardNum = GI->BitIndex++; in EmitGuardedInit()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp765 GuardInfo() : Guard(nullptr), BitIndex(0) {} in GuardInfo()
767 unsigned BitIndex; member
2374 GuardNum = GI->BitIndex++; in EmitGuardedInit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp9375 unsigned BitIndex = Idx->getZExtValue() * EltSize; in performExtractVectorEltCombine() local
9376 unsigned EltIdx = BitIndex / 32; in performExtractVectorEltCombine()
9377 unsigned LeftoverBitIdx = BitIndex % 32; in performExtractVectorEltCombine()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp10135 unsigned BitIndex = Idx->getZExtValue() * EltSize; in performExtractVectorEltCombine() local
10136 unsigned EltIdx = BitIndex / 32; in performExtractVectorEltCombine()
10137 unsigned LeftoverBitIdx = BitIndex % 32; in performExtractVectorEltCombine()