Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DBlockCounter.cpp26 unsigned BlockID; member in __anone94b08a80111::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.h61 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()
511 void SwitchToBlockID(unsigned BlockID) { in SwitchToBlockID() argument
512 if (BlockInfoCurBID == BlockID) return; in SwitchToBlockID()
514 V.push_back(BlockID); in SwitchToBlockID()
[all …]
DBitstreamReader.h36 unsigned BlockID; member
99 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo() argument
101 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
106 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
111 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo() argument
112 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
117 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo()
468 bool EnterSubBlock(unsigned BlockID, unsigned *NumWordsP = nullptr);
/external/clang/lib/Analysis/
DThreadSafetyTIL.cpp176 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()
DUninitializedValues.cpp636 unsigned BlockID = Block->getBlockID(); in getUninitUse() local
638 if (SuccsVisited[BlockID] && SuccsVisited[BlockID] < Block->succ_size() && in getUninitUse()
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp85 static const char *GetBlockName(unsigned BlockID, in GetBlockName() argument
89 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName()
90 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName()
97 StreamFile.getBlockInfo(BlockID)) { in GetBlockName()
105 switch (BlockID) { in GetBlockName()
128 static const char *GetCodeName(unsigned CodeID, unsigned BlockID, in GetCodeName() argument
132 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetCodeName()
133 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName()
146 StreamFile.getBlockInfo(BlockID)) { in GetCodeName()
158 switch (BlockID) { in GetCodeName()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DTestAfterDivZeroChecker.cpp30 unsigned BlockID; member in __anon1a80d7460111::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/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp28 bool BitstreamCursor::EnterSubBlock(unsigned BlockID, unsigned *NumWordsP) { in EnterSubBlock() argument
35 BitStream->getBlockInfo(BlockID)) { in EnterSubBlock()
/external/clang/include/clang/Analysis/
DCFG.h413 unsigned BlockID; variable
493 BlockID(blockid), Preds(C, 1), Succs(C, 1), HasNoReturnElement(false), in CFGBlock()
638 unsigned getBlockID() const { return BlockID; } in getBlockID()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h1550 : SExpr(COP_BasicBlock), Arena(A), CFGPtr(nullptr), BlockID(0), in BasicBlock()
1554 : SExpr(COP_BasicBlock), Arena(A), CFGPtr(nullptr), BlockID(0),Visited(0), in BasicBlock()
1558 int blockID() const { return BlockID; } in blockID()
1669 int BlockID : 31; // unique id for this BB in the containing CFG. variable
/external/clang/include/clang/Serialization/
DASTReader.h1715 static bool ReadBlockAbbrevs(llvm::BitstreamCursor &Cursor, unsigned BlockID);
/external/clang/lib/Serialization/
DASTReader.cpp1360 bool ASTReader::ReadBlockAbbrevs(BitstreamCursor &Cursor, unsigned BlockID) { in ReadBlockAbbrevs() argument
1361 if (Cursor.EnterSubBlock(BlockID)) in ReadBlockAbbrevs()
3443 static bool SkipCursorToBlock(BitstreamCursor &Cursor, unsigned BlockID) { in SkipCursorToBlock() argument
3457 if (Entry.ID == BlockID) { in SkipCursorToBlock()
3458 if (Cursor.EnterSubBlock(BlockID)) in SkipCursorToBlock()