Home
last modified time | relevance | path

Searched refs:BlockID (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DBlockCounter.cpp26 unsigned BlockID; member in __anon928807530111::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/include/llvm/Bitcode/
DBitstreamWriter.h58 unsigned BlockID; member
198 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument
200 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
205 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
210 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { in EnterSubblock() argument
214 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock()
233 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock()
512 void SwitchToBlockID(unsigned BlockID) { in SwitchToBlockID() argument
513 if (BlockInfoCurBID == BlockID) return; in SwitchToBlockID()
515 V.push_back(BlockID); in SwitchToBlockID()
[all …]
DBitstreamReader.h39 unsigned BlockID; member
105 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo() argument
107 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
112 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
117 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo() argument
118 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
123 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo()
493 bool EnterSubBlock(unsigned BlockID, unsigned *NumWordsP = nullptr);
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp81 static const char *GetBlockName(unsigned BlockID, in GetBlockName() argument
84 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName()
85 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName()
92 StreamFile.getBlockInfo(BlockID)) { in GetBlockName()
100 switch (BlockID) { in GetBlockName()
117 static const char *GetCodeName(unsigned CodeID, unsigned BlockID, in GetCodeName() argument
120 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetCodeName()
121 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName()
134 StreamFile.getBlockInfo(BlockID)) { in GetCodeName()
143 switch (BlockID) { in GetCodeName()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DTestAfterDivZeroChecker.cpp30 unsigned BlockID; member in __anon675262910111::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/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBlockCounter.h39 unsigned BlockID) const;
50 unsigned BlockID);
/external/chromium_org/third_party/tcmalloc/chromium/src/
Daddressmap-inl.h235 static int BlockID(Number address) { in BlockID() function
298 for (Entry* e = c->blocks[BlockID(num)]; e != NULL; e = e->next) { in FindMutable()
313 const int block = BlockID(num); in Insert()
344 for (Entry** p = &c->blocks[BlockID(num)]; *p != NULL; p = &(*p)->next) { in FindAndRemove()
369 const int block = BlockID(num); in FindInside()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Daddressmap-inl.h235 static int BlockID(Number address) { in BlockID() function
298 for (Entry* e = c->blocks[BlockID(num)]; e != NULL; e = e->next) { in FindMutable()
313 const int block = BlockID(num); in Insert()
344 for (Entry** p = &c->blocks[BlockID(num)]; *p != NULL; p = &(*p)->next) { in FindAndRemove()
369 const int block = BlockID(num); in FindInside()
/external/clang/tools/libclang/
DCXLoadedDiagnostic.cpp292 unsigned BlockID = 0; in load() local
294 BlockID, true); in load()
308 switch (BlockID) { in load()
340 unsigned BlockID = Stream.ReadSubBlockID(); in readToNextRecordOrBlock() local
341 if (BlockID == llvm::bitc::BLOCKINFO_BLOCK_ID) { in readToNextRecordOrBlock()
348 blockOrRecordID = BlockID; in readToNextRecordOrBlock()
/external/clang/lib/Analysis/
DThreadSafetyTIL.cpp76 V->setID(BlockID, VID++); in renumberVars()
79 V->setID(BlockID, VID++); in renumberVars()
DUninitializedValues.cpp577 unsigned BlockID = Block->getBlockID(); in getUninitUse() local
579 if (SuccsVisited[BlockID] && SuccsVisited[BlockID] < Block->succ_size() && in getUninitUse()
DConsumed.cpp1086 unsigned int BlockID = Block->getBlockID(); in discardInfo() local
1087 delete StateMapsArray[BlockID]; in discardInfo()
1088 StateMapsArray[BlockID] = nullptr; in discardInfo()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h391 unsigned getBlockID() const { return BlockID; } in getBlockID()
395 BlockID = static_cast<unsigned short>(Bid); in setID()
422 unsigned short BlockID; variable
532 BlockID(0), Id(0), NumUses(0) { in Variable()
538 Definition(D), Cvdecl(Cvd), BlockID(0), Id(0), NumUses(0) { in Variable()
544 BlockID(0), Id(0), NumUses(0) { in Variable()
1412 : SExpr(COP_BasicBlock), Arena(A), CFGPtr(nullptr), BlockID(0), in SExpr()
1416 : SExpr(COP_BasicBlock), Arena(B.Arena), CFGPtr(nullptr), BlockID(0), in BasicBlock()
1421 unsigned blockID() const { return BlockID; } in blockID()
1442 void setBlockID(unsigned i) { BlockID = i; } in setBlockID()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp58 bool BitstreamCursor::EnterSubBlock(unsigned BlockID, unsigned *NumWordsP) { in EnterSubBlock() argument
65 BitStream->getBlockInfo(BlockID)) { in EnterSubBlock()
/external/clang/include/clang/Analysis/
DCFG.h414 unsigned BlockID; variable
494 BlockID(blockid), Preds(C, 1), Succs(C, 1), HasNoReturnElement(false), in CFGBlock()
640 unsigned getBlockID() const { return BlockID; } in getBlockID()
/external/clang/include/clang/Serialization/
DASTReader.h1669 bool ReadBlockAbbrevs(llvm::BitstreamCursor &Cursor, unsigned BlockID);
/external/clang/lib/Serialization/
DASTReader.cpp1314 bool ASTReader::ReadBlockAbbrevs(BitstreamCursor &Cursor, unsigned BlockID) { in ReadBlockAbbrevs() argument
1315 if (Cursor.EnterSubBlock(BlockID)) { in ReadBlockAbbrevs()
3908 static bool SkipCursorToBlock(BitstreamCursor &Cursor, unsigned BlockID) { in SkipCursorToBlock() argument
3922 if (Entry.ID == BlockID) { in SkipCursorToBlock()
3923 if (Cursor.EnterSubBlock(BlockID)) in SkipCursorToBlock()