| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| H A D | sanitizer_bitvector_test.cc | 86 EXPECT_FALSE(bv.getBit(4)); in TestBitVector() 87 EXPECT_FALSE(bv.getBit(6)); in TestBitVector() 88 EXPECT_TRUE(bv.getBit(5)); in TestBitVector() 90 EXPECT_FALSE(bv.getBit(5)); in TestBitVector() 97 EXPECT_EQ(bv.getBit(bit), s.count(bit) == 1); in TestBitVector() 108 EXPECT_EQ(bv.getBit(bit), s.count(bit) == 1); in TestBitVector()
|
| H A D | sanitizer_bvgraph_test.cc | 100 EXPECT_TRUE(target.getBit(path[len - 1])); in BasicTest()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_bitvector.h | 46 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; } in getBit() function 148 if (!l1_[i0].getBit(i1)) { in setBit() 164 if (l1_[i0].getBit(i1)) { in clearBit() 172 bool getBit(uptr idx) const { in getBit() function 178 return l1_[i0].getBit(i1) && l2_[i0][i1].getBit(i2); in getBit() 261 if (!v.l1_[i0].getBit(i1)) continue; in intersectsWith()
|
| H A D | sanitizer_bvgraph.h | 68 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge() 105 return v[from].getBit(to); in hasEdge() 131 if (targets.getBit(from)) in findPath()
|
| H A D | sanitizer_deadlock_detector.h | 159 if (recycled_nodes_.getBit(edges_[i].from) || in newNode() 160 recycled_nodes_.getBit(edges_[i].to)) { in newNode() 190 CHECK(!available_nodes_.getBit(idx)); in removeNode() 314 CHECK(!tmp_bv_.getBit(idx)); in findPathToLock() 343 return dtls->getLocks(current_epoch_).getBit(nodeToIndex(node)); in isHeld()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_bitvector.h | 45 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; } in getBit() function 147 if (!l1_[i0].getBit(i1)) { in setBit() 163 if (l1_[i0].getBit(i1)) { in clearBit() 171 bool getBit(uptr idx) const { in getBit() function 177 return l1_[i0].getBit(i1) && l2_[i0][i1].getBit(i2); in getBit() 260 if (!v.l1_[i0].getBit(i1)) continue; in intersectsWith()
|
| H A D | sanitizer_bvgraph.h | 67 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge() 104 return v[from].getBit(to); in hasEdge() 130 if (targets.getBit(from)) in findPath()
|
| H A D | sanitizer_deadlock_detector.h | 161 if (recycled_nodes_.getBit(edges_[i].from) || in newNode() 162 recycled_nodes_.getBit(edges_[i].to)) { in newNode() 192 CHECK(!available_nodes_.getBit(idx)); in removeNode() 318 CHECK(!tmp_bv_.getBit(idx)); in findPathToLock() 347 return dtls->getLocks(current_epoch_).getBit(nodeToIndex(node)); in isHeld()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_bitvector.h | 47 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; } in getBit() function 149 if (!l1_[i0].getBit(i1)) { in setBit() 165 if (l1_[i0].getBit(i1)) { in clearBit() 173 bool getBit(uptr idx) const { in getBit() function 179 return l1_[i0].getBit(i1) && l2_[i0][i1].getBit(i2); in getBit() 262 if (!v.l1_[i0].getBit(i1)) continue; in intersectsWith()
|
| H A D | sanitizer_bvgraph.h | 69 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge() 106 return v[from].getBit(to); in hasEdge() 132 if (targets.getBit(from)) in findPath()
|
| H A D | sanitizer_deadlock_detector.h | 163 if (recycled_nodes_.getBit(edges_[i].from) || in newNode() 164 recycled_nodes_.getBit(edges_[i].to)) { in newNode() 194 CHECK(!available_nodes_.getBit(idx)); in removeNode() 320 CHECK(!tmp_bv_.getBit(idx)); in findPathToLock() 349 return dtls->getLocks(current_epoch_).getBit(nodeToIndex(node)); in isHeld()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 398 virtual Init *getBit(unsigned Bit) const = 0; 456 Init *getBit(unsigned Bit) const override { in getBit() function 489 Init *getBit(unsigned Bit) const override { in getBit() function 529 if (!getBit(i)->isComplete()) return false; in isComplete() 535 if (getBit(i)->isComplete()) return false; in allInComplete() 544 Init *getBit(unsigned Bit) const override { in getBit() function 575 Init *getBit(unsigned Bit) const override { in getBit() function 605 Init *getBit(unsigned Bit) const override { in getBit() function 658 Init *getBit(unsigned Bit) const override { in getBit() function 725 Init *getBit(unsigned Bit) const override { in getBit() function [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | Record.cpp | 356 return getBit(0); in convertInitializerTo() 369 if (auto *Bit = dyn_cast<BitInit>(getBit(i))) in convertInitializerTo() 386 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange() 393 if (!getBit(i)->isConcrete()) in isConcrete() 403 if (Init *Bit = getBit(e-i-1)) in getAsString() 421 Init *CurBit = getBit(i); in resolveReferences() 430 NewBit = CachedBitVarResolved->getBit(CurBitVar->getBitNum()); in resolveReferences() 433 NewBit = CurBit->resolveReferences(R)->getBit(0); in resolveReferences() 685 Init *OpInit::getBit(unsigned Bit) const { in getBit() function in OpInit 1533 Init *FoldOpInit::getBit(unsigned Bit) const { in getBit() function in FoldOpInit [all …]
|
| H A D | JSONBackend.cpp | 55 array.push_back(translateInit(*Bits->getBit(i))); in translateInit()
|
| H A D | TGParser.cpp | 76 Init *Bit = BV->getBit(i); in checkBitsConcrete() 203 NewBits[Bit] = BI->getBit(i); in SetValue() 208 NewBits[i] = CurVal->getBit(i); in SetValue() 2192 NewBits.push_back(BI->getBit((e - i) - 1)); in ParseSimpleValue() 2199 NewBits.push_back(VI->getBit((e - i) - 1)); in ParseSimpleValue()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | CodeEmitterGen.cpp | 68 if (VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(bit))) { in getVariableBit() 72 } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) { in getVariableBit() 379 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e - i - 1))) in emitInstructionBaseValues()
|
| H A D | X86FoldTablesEmitter.cpp | 206 BitInit *Bit = cast<BitInit>(B->getBit(i)); in getValueFromBitsInit() 218 BitInit *Bit1 = cast<BitInit>(B1->getBit(i)); in equalBitsInits() 219 BitInit *Bit2 = cast<BitInit>(B2->getBit(i)); in equalBitsInits()
|
| H A D | CodeBeadsGen.cpp | 104 if (auto *B = dyn_cast<BitInit>(BI->getBit(i))) { in run()
|
| H A D | FixedLenDecoderEmitter.cpp | 193 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index))) in bitFromBits() 1902 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction() 1906 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction() 1924 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction() 1928 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction() 2067 if (const BitInit *OpBit = dyn_cast<BitInit>(OpBits->getBit(I))) in populateInstruction() 2077 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction() 2081 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
|
| H A D | CodeGenTarget.cpp | 533 Init *OrigBit = BI->getBit(bit); in reverseBitsForLittleEndianEncoding() 534 Init *BitSwap = BI->getBit(bitSwapIdx); in reverseBitsForLittleEndianEncoding() 540 NewBits[middle] = BI->getBit(middle); in reverseBitsForLittleEndianEncoding()
|
| H A D | X86EVEX2VEXTablesEmitter.cpp | 94 if (BitInit *Bit = dyn_cast<BitInit>(B->getBit(i))) in getValueFromBitsInit()
|
| H A D | DFAEmitter.cpp | 335 if (auto *Bit = dyn_cast<BitInit>(NewStateInit->getBit(I))) { in Transition()
|
| H A D | InstrInfoEmitter.cpp | 993 if (const auto *Bit = dyn_cast<BitInit>(TSF->getBit(i))) in emitRecord()
|
| H A D | X86RecognizableInstr.cpp | 42 if (cast<BitInit>(init.getBit(index))->getValue()) in byteFromBitsInit()
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | ClangSACheckersEmitter.cpp | 66 const auto *Bit = dyn_cast<BitInit>(B->getBit(i)); in getValueFromBitsInit()
|