/external/clang/lib/StaticAnalyzer/Core/ |
D | BlockCounter.cpp | 26 unsigned BlockID; member in __anon4e673a630111::CountKey 30 : CallSite(CS), BlockID(ID) {} in CountKey() 33 return (CallSite == RHS.CallSite) && (BlockID == RHS.BlockID); in operator ==() 37 return std::tie(CallSite, BlockID) < std::tie(RHS.CallSite, RHS.BlockID); in operator <() 42 ID.AddInteger(BlockID); in Profile() 59 unsigned BlockID) const { in getNumVisited() 61 CountMap::data_type* T = M.lookup(CountKey(CallSite, BlockID)); in getNumVisited() 76 unsigned BlockID) { in IncrementCount() argument 78 CountKey(CallSite, BlockID), in IncrementCount() 79 BC.getNumVisited(CallSite, BlockID)+1).getRoot()); in IncrementCount()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | BlockCounter.cpp | 25 unsigned BlockID; member in __anon22e687910111::CountKey 29 : CallSite(CS), BlockID(ID) {} in CountKey() 32 return (CallSite == RHS.CallSite) && (BlockID == RHS.BlockID); in operator ==() 36 return std::tie(CallSite, BlockID) < std::tie(RHS.CallSite, RHS.BlockID); in operator <() 41 ID.AddInteger(BlockID); in Profile() 58 unsigned BlockID) const { in getNumVisited() 60 CountMap::data_type* T = M.lookup(CountKey(CallSite, BlockID)); in getNumVisited() 75 unsigned BlockID) { in IncrementCount() argument 77 CountKey(CallSite, BlockID), in IncrementCount() 78 BC.getNumVisited(CallSite, BlockID)+1).getRoot()); in IncrementCount()
|
D | WorkList.cpp | 139 using BlockID = unsigned; typedef in __anoncc2ef6850311::UnexploredFirstStack 140 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>; 194 using BlockID = unsigned; typedef in __anoncc2ef6850411::UnexploredFirstPriorityQueue 195 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/ |
D | BitstreamWriter.h | 60 unsigned BlockID; member 187 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument 189 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo() 194 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo() 199 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { in EnterSubblock() argument 203 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock() 222 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock() 510 void SwitchToBlockID(unsigned BlockID) { in SwitchToBlockID() argument 511 if (BlockInfoCurBID == BlockID) return; in SwitchToBlockID() 513 V.push_back(BlockID); in SwitchToBlockID() [all …]
|
D | BitstreamReader.h | 42 unsigned BlockID = 0; member 54 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo() argument 56 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo() 61 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo() 66 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo() argument 67 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo() 72 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo() 497 Error EnterSubBlock(unsigned BlockID, unsigned *NumWordsP = nullptr);
|
/external/llvm/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 61 unsigned BlockID; member 192 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument 194 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo() 199 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo() 204 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { in EnterSubblock() argument 208 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock() 227 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock() 516 void SwitchToBlockID(unsigned BlockID) { in SwitchToBlockID() argument 517 if (BlockInfoCurBID == BlockID) return; in SwitchToBlockID() 519 V.push_back(BlockID); in SwitchToBlockID() [all …]
|
D | BitstreamReader.h | 37 unsigned BlockID; member 100 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo() argument 102 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo() 107 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo() 112 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo() argument 113 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo() 118 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo() 547 bool EnterSubBlock(unsigned BlockID, unsigned *NumWordsP = nullptr);
|
/external/llvm-project/clang/lib/Analysis/ |
D | ThreadSafetyTIL.cpp | 174 BlockID = --ID; in topologicalSort() 175 Blocks[BlockID] = this; in topologicalSort() 200 BlockID = ID++; in topologicalFinalSort() 201 Blocks[BlockID] = this; in topologicalFinalSort() 213 if (Pred->BlockID >= BlockID) continue; in computeDominator() 222 if (Candidate->BlockID > Alternate->BlockID) in computeDominator() 240 if (Succ->BlockID <= BlockID) continue; in computePostDominator() 249 if (Candidate->BlockID < Alternate->BlockID) in computePostDominator() 298 Blocks[NI]->BlockID = NI; in computeNormalForm()
|
/external/clang/lib/Analysis/ |
D | ThreadSafetyTIL.cpp | 176 BlockID = --ID; in topologicalSort() 177 Blocks[BlockID] = this; in topologicalSort() 201 BlockID = ID++; in topologicalFinalSort() 202 Blocks[BlockID] = this; in topologicalFinalSort() 214 if (Pred->BlockID >= BlockID) continue; in computeDominator() 223 if (Candidate->BlockID > Alternate->BlockID) in computeDominator() 241 if (Succ->BlockID <= BlockID) continue; in computePostDominator() 250 if (Candidate->BlockID < Alternate->BlockID) in computePostDominator() 302 Blocks[NI]->BlockID = NI; in computeNormalForm()
|
/external/llvm-project/llvm/include/llvm/Bitstream/ |
D | BitstreamWriter.h | 71 unsigned BlockID; member 270 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument 272 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo() 277 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo() 282 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { in EnterSubblock() argument 286 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock() 305 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock() 593 void SwitchToBlockID(unsigned BlockID) { in SwitchToBlockID() argument 594 if (BlockInfoCurBID == BlockID) return; in SwitchToBlockID() 596 V.push_back(BlockID); in SwitchToBlockID() [all …]
|
D | BitstreamReader.h | 43 unsigned BlockID = 0; member 55 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo() argument 57 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo() 62 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo() 67 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo() argument 68 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo() 73 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo() 498 Error EnterSubBlock(unsigned BlockID, unsigned *NumWordsP = nullptr);
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitcodeParser.h | 162 NaClBitcodeBlock(unsigned BlockID, const NaClBitcodeRecord &Record); 165 NaClBitcodeBlock(unsigned BlockID, NaClBitstreamCursor &Cursor) in NaClBitcodeBlock() argument 166 : NaClBitcodeData(Cursor), BlockID(BlockID), EnclosingBlock(0) { in NaClBitcodeBlock() 177 unsigned GetBlockID() const { return BlockID; } in GetBlockID() 187 unsigned BlockID; 436 virtual bool ParseBlock(unsigned BlockID) { in ParseBlock() argument 438 NaClBitcodeParser Parser(BlockID, this); in ParseBlock() 556 NaClBitcodeParser(unsigned BlockID, NaClBitcodeParser *EnclosingParser) in NaClBitcodeParser() argument 558 Block(BlockID, EnclosingParser->Record), Record(Block), in NaClBitcodeParser() 566 NaClBitcodeParser(unsigned BlockID, NaClBitcodeParser *EnclosingParser, in NaClBitcodeParser() argument [all …]
|
D | NaClBitstreamReader.h | 121 explicit BlockInfo(unsigned BlockID) : BlockID(BlockID), Abbrevs() {} in BlockInfo() argument 123 unsigned getBlockID() const { return BlockID; } in getBlockID() 124 void setBlockID(unsigned ID) { BlockID = ID; } in setBlockID() 129 unsigned BlockID; 166 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument 167 auto Pos = KnownInfos.find(BlockID); in getBlockInfo() 170 return getOrCreateUnknownBlockInfo(BlockID); in getBlockInfo() 215 BlockInfo *getOrCreateUnknownBlockInfo(unsigned BlockID); 291 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument 292 return BlockInfoRecords->getBlockInfo(BlockID); in getBlockInfo() [all …]
|
/external/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 86 static const char *GetBlockName(unsigned BlockID, in GetBlockName() argument 90 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName() 91 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName() 98 StreamFile.getBlockInfo(BlockID)) { in GetBlockName() 106 switch (BlockID) { in GetBlockName() 130 static const char *GetCodeName(unsigned CodeID, unsigned BlockID, in GetCodeName() argument 134 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetCodeName() 135 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName() 148 StreamFile.getBlockInfo(BlockID)) { in GetCodeName() 160 switch (BlockID) { in GetCodeName() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | TestAfterDivZeroChecker.cpp | 29 unsigned BlockID; member in __anon67c00f0f0111::ZeroState 34 : ZeroSymbol(S), BlockID(B), SFC(SFC) {} in ZeroState() 39 return BlockID == X.BlockID && SFC == X.SFC && ZeroSymbol == X.ZeroSymbol; in operator ==() 43 if (BlockID != X.BlockID) in operator <() 44 return BlockID < X.BlockID; in operator <() 51 ID.AddInteger(BlockID); in Profile()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | TestAfterDivZeroChecker.cpp | 30 unsigned BlockID; member in __anon1b2f93a10111::ZeroState 35 : ZeroSymbol(S), BlockID(B), SFC(SFC) {} in ZeroState() 40 return BlockID == X.BlockID && SFC == X.SFC && ZeroSymbol == X.ZeroSymbol; in operator ==() 44 if (BlockID != X.BlockID) in operator <() 45 return BlockID < X.BlockID; in operator <() 52 ID.AddInteger(BlockID); in Profile()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeAnalyzer.cpp | 24 static Optional<const char *> GetBlockName(unsigned BlockID, in GetBlockName() argument 28 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName() 29 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName() 36 BlockInfo.getBlockInfo(BlockID)) { in GetBlockName() 44 switch (BlockID) { in GetBlockName() 87 static Optional<const char *> GetCodeName(unsigned CodeID, unsigned BlockID, in GetCodeName() argument 91 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetCodeName() 92 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName() 109 BlockInfo.getBlockInfo(BlockID)) { in GetCodeName() 121 switch (BlockID) { in GetCodeName() [all …]
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeAnalyzer.cpp | 24 static Optional<const char *> GetBlockName(unsigned BlockID, in GetBlockName() argument 28 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName() 29 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName() 36 BlockInfo.getBlockInfo(BlockID)) { in GetBlockName() 44 switch (BlockID) { in GetBlockName() 87 static Optional<const char *> GetCodeName(unsigned CodeID, unsigned BlockID, in GetCodeName() argument 91 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetCodeName() 92 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName() 109 BlockInfo.getBlockInfo(BlockID)) { in GetCodeName() 121 switch (BlockID) { in GetCodeName() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitstreamReader.cpp | 70 bool NaClBitstreamCursor::EnterSubBlock(unsigned BlockID, unsigned *NumWordsP) { in EnterSubBlock() argument 74 BlockScope.push_back(Block(BitStream->getBlockInfo(BlockID), CodeAbbrev)); in EnterSubBlock() 347 for (size_t BlockID : ValidBlockIDs) { in BlockInfoRecordsMap() local 348 std::unique_ptr<BlockInfo> Info(new BlockInfo(BlockID)); in BlockInfoRecordsMap() 349 KnownInfos.emplace(BlockID, std::move(Info)); in BlockInfoRecordsMap() 355 unsigned BlockID) { in getOrCreateUnknownBlockInfo() argument 358 auto Pos = UnknownInfos.find(BlockID); in getOrCreateUnknownBlockInfo() 362 std::unique_ptr<BlockInfo> Info(new BlockInfo(BlockID)); in getOrCreateUnknownBlockInfo() 363 UnknownInfos.emplace(BlockID, std::move(Info)); in getOrCreateUnknownBlockInfo()
|
D | NaClBitcodeParser.cpp | 36 NaClBitcodeBlock::NaClBitcodeBlock(unsigned BlockID, in NaClBitcodeBlock() argument 38 : NaClBitcodeData(Record), BlockID(BlockID), in NaClBitcodeBlock() 42 os << "Block " << BlockID; in Print()
|
/external/swiftshader/third_party/subzero/src/ |
D | PNaClTranslator.cpp | 450 bool ParseBlock(unsigned BlockID) override; 666 BlockParserBaseClass(unsigned BlockID, TopLevelParser *Context) in BlockParserBaseClass() argument 667 : NaClBitcodeParser(BlockID, Context), Context(Context) {} in BlockParserBaseClass() 669 BlockParserBaseClass(unsigned BlockID, BlockParserBaseClass *EnclosingParser, in BlockParserBaseClass() argument 671 : NaClBitcodeParser(BlockID, EnclosingParser, Cursor), in BlockParserBaseClass() 693 BlockParserBaseClass(unsigned BlockID, BlockParserBaseClass *EnclosingParser) in BlockParserBaseClass() argument 694 : NaClBitcodeParser(BlockID, EnclosingParser), in BlockParserBaseClass() 702 bool ParseBlock(unsigned BlockID) override; 806 bool BlockParserBaseClass::ParseBlock(unsigned BlockID) { in ParseBlock() argument 811 StrBuf << "Don't know how to parse block id: " << BlockID; in ParseBlock() [all …]
|
/external/llvm-project/llvm/unittests/Bitstream/ |
D | BitstreamReaderTest.cpp | 92 const unsigned BlockID = bitc::FIRST_APPLICATION_BLOCKID; in TEST() local 104 Stream.EnterSubblock(BlockID, 3); in TEST() 132 ASSERT_EQ(BlockID, Entry.ID); in TEST() 133 ASSERT_FALSE(Stream.EnterSubBlock(BlockID)); in TEST()
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | BlockCounter.h | 38 unsigned BlockID) const; 49 unsigned BlockID);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | BlockCounter.h | 39 unsigned BlockID) const; 50 unsigned BlockID);
|
/external/llvm/unittests/Bitcode/ |
D | BitstreamReaderTest.cpp | 186 const unsigned BlockID = bitc::FIRST_APPLICATION_BLOCKID; in TEST() local 198 Stream.EnterSubblock(BlockID, 3); in TEST() 224 ASSERT_EQ(BlockID, Entry.ID); in TEST() 225 ASSERT_FALSE(Stream.EnterSubBlock(BlockID)); in TEST()
|