Home
last modified time | relevance | path

Searched refs:BitIdx (Results 1 – 12 of 12) sorted by relevance

/external/compiler-rt/lib/esan/
Dworking_set.cpp123 static u32 countAndClearShadowValues(u32 BitIdx, uptr ShadowStart, in countAndClearShadowValues() argument
126 u32 ByteValue = 0x1 << BitIdx; in countAndClearShadowValues()
131 bool Accum = getFlags()->record_snapshots && BitIdx < MaxAccumBitIdx; in countAndClearShadowValues()
133 bool Clear = BitIdx < TotalWorkingSetBitIdx; in countAndClearShadowValues()
160 static u32 computeWorkingSizeAndReset(u32 BitIdx) { in computeWorkingSizeAndReset() argument
171 WorkingSetSize += countAndClearShadowValues(BitIdx, Start, End); in computeWorkingSizeAndReset()
180 u32 BitIdx = CurWorkingSetBitIdx; in takeSample() local
183 while (BitIdx <= MaxAccumBitIdx && (SnapshotNum % Freq) == 0) { in takeSample()
184 u32 NumLines = computeWorkingSizeAndReset(BitIdx); in takeSample()
186 SnapshotNum, BitIdx, Freq, NumLines); in takeSample()
[all …]
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerValueBitMap.h36 uintptr_t BitIdx = Idx % kBitsInWord; in AddValue() local
38 uintptr_t New = Old | (1ULL << BitIdx); in AddValue()
51 uintptr_t BitIdx = Idx % kBitsInWord; in Get() local
52 return Map[WordIdx] & (1ULL << BitIdx); in Get()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerValueBitMap.h36 uintptr_t BitIdx = Idx % kBitsInWord; in AddValue() local
38 uintptr_t New = Old | (1ULL << BitIdx); in AddValue()
51 uintptr_t BitIdx = Idx % kBitsInWord; in Get() local
52 return Map[WordIdx] & (1ULL << BitIdx); in Get()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLocal.cpp2868 for (unsigned BitIdx = 0; BitIdx < BitWidth; ++BitIdx) { in collectBitParts() local
2869 if (A->Provenance[BitIdx] != BitPart::Unset && in collectBitParts()
2870 B->Provenance[BitIdx] != BitPart::Unset && in collectBitParts()
2871 A->Provenance[BitIdx] != B->Provenance[BitIdx]) in collectBitParts()
2874 if (A->Provenance[BitIdx] == BitPart::Unset) in collectBitParts()
2875 Result->Provenance[BitIdx] = B->Provenance[BitIdx]; in collectBitParts()
2877 Result->Provenance[BitIdx] = A->Provenance[BitIdx]; in collectBitParts()
2927 for (unsigned BitIdx = 0; BitIdx < BitWidth; ++BitIdx) in collectBitParts() local
2929 if (AndMask[BitIdx] == 0) in collectBitParts()
2930 Result->Provenance[BitIdx] = BitPart::Unset; in collectBitParts()
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerTracePC.cpp24 uintptr_t BitIdx = Idx % kBitsInWord; in Update() local
25 Map[WordIdx] |= 1UL << BitIdx; in Update()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DGlobalsStream.cpp148 uint8_t BitIdx = I % 32; in readGSIHashBuckets() local
149 bool IsSet = HashBitmap[WordIdx] & (1U << BitIdx); in readGSIHashBuckets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DGlobalsStream.cpp148 uint8_t BitIdx = I % 32; in readGSIHashBuckets() local
149 bool IsSet = HashBitmap[WordIdx] & (1U << BitIdx); in readGSIHashBuckets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIMemoryLegalizer.cpp105 int BitIdx = AMDGPU::getNamedOperandIdx(MI->getOpcode(), BitName); in enableNamedBit() local
106 if (BitIdx == -1) in enableNamedBit()
109 MachineOperand &Bit = MI->getOperand(BitIdx); in enableNamedBit()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIMemoryLegalizer.cpp109 int BitIdx = AMDGPU::getNamedOperandIdx(MI->getOpcode(), BitName); in enableNamedBit() local
110 if (BitIdx == -1) in enableNamedBit()
113 MachineOperand &Bit = MI->getOperand(BitIdx); in enableNamedBit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp6635 int BitIdx = N->getConstantOperandVal(2); in getTargetShuffleMask() local
6636 DecodeEXTRQIMask(NumElems, MaskEltSize, BitLen, BitIdx, Mask); in getTargetShuffleMask()
6646 int BitIdx = N->getConstantOperandVal(3); in getTargetShuffleMask() local
6647 DecodeINSERTQIMask(NumElems, MaskEltSize, BitLen, BitIdx, Mask); in getTargetShuffleMask()
11999 uint64_t &BitIdx, const APInt &Zeroable) { in matchShuffleAsEXTRQ() argument
12045 BitIdx = (Idx * VT.getScalarSizeInBits()) & 0x3f; in matchShuffleAsEXTRQ()
12055 uint64_t &BitIdx) { in matchShuffleAsINSERTQ() argument
12108 BitIdx = (Idx * VT.getScalarSizeInBits()) & 0x3f; in matchShuffleAsINSERTQ()
12122 uint64_t BitLen, BitIdx; in lowerShuffleWithSSE4A() local
12123 if (matchShuffleAsEXTRQ(VT, V1, V2, Mask, BitLen, BitIdx, Zeroable)) in lowerShuffleWithSSE4A()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp6919 int BitIdx = N->getConstantOperandVal(2); in getTargetShuffleMask() local
6920 DecodeEXTRQIMask(NumElems, MaskEltSize, BitLen, BitIdx, Mask); in getTargetShuffleMask()
6930 int BitIdx = N->getConstantOperandVal(3); in getTargetShuffleMask() local
6931 DecodeINSERTQIMask(NumElems, MaskEltSize, BitLen, BitIdx, Mask); in getTargetShuffleMask()
12745 uint64_t &BitIdx, const APInt &Zeroable) { in matchShuffleAsEXTRQ() argument
12791 BitIdx = (Idx * VT.getScalarSizeInBits()) & 0x3f; in matchShuffleAsEXTRQ()
12801 uint64_t &BitIdx) { in matchShuffleAsINSERTQ() argument
12854 BitIdx = (Idx * VT.getScalarSizeInBits()) & 0x3f; in matchShuffleAsINSERTQ()
12868 uint64_t BitLen, BitIdx; in lowerShuffleWithSSE4A() local
12869 if (matchShuffleAsEXTRQ(VT, V1, V2, Mask, BitLen, BitIdx, Zeroable)) in lowerShuffleWithSSE4A()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp7972 int BitIdx = (Idx * VT.getScalarSizeInBits()) & 0x3f; in lowerVectorShuffleWithSSE4A() local
7975 DAG.getConstant(BitIdx, DL, MVT::i8)); in lowerVectorShuffleWithSSE4A()
8033 int BitIdx = (Idx * VT.getScalarSizeInBits()) & 0x3f; in lowerVectorShuffleWithSSE4A() local
8036 DAG.getConstant(BitIdx, DL, MVT::i8)); in lowerVectorShuffleWithSSE4A()