Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp26 unsigned BlockID; member in __anon59d354690111::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()
H A DWorkList.cpp140 using BlockID = unsigned; typedef in __anon24c7175d0311::UnexploredFirstStack
141 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>;
195 using BlockID = unsigned; typedef in __anon24c7175d0411::UnexploredFirstPriorityQueue
196 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>;
/freebsd-12.1/contrib/llvm/include/llvm/Bitcode/
H A DBitstreamWriter.h61 unsigned BlockID; member
188 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument
190 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
195 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
204 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock()
513 void SwitchToBlockID(unsigned BlockID) { in SwitchToBlockID() argument
514 if (BlockInfoCurBID == BlockID) return; in SwitchToBlockID()
516 V.push_back(BlockID); in SwitchToBlockID()
518 BlockInfoCurBID = BlockID; in SwitchToBlockID()
527 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo()
[all …]
H A DBitstreamReader.h43 unsigned BlockID; 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()
446 bool EnterSubBlock(unsigned BlockID, unsigned *NumWordsP = nullptr);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DThreadSafetyTIL.cpp175 BlockID = --ID; in topologicalSort()
176 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()
299 Blocks[NI]->BlockID = NI; in computeNormalForm()
H A DUninitializedValues.cpp654 unsigned BlockID = Block->getBlockID(); in getUninitUse() local
656 if (SuccsVisited[BlockID] && SuccsVisited[BlockID] < Block->succ_size() && in getUninitUse()
/freebsd-12.1/contrib/llvm/tools/llvm-bcanalyzer/
H A Dllvm-bcanalyzer.cpp87 static const char *GetBlockName(unsigned BlockID, in GetBlockName() argument
92 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName()
99 BlockInfo.getBlockInfo(BlockID)) { in GetBlockName()
107 switch (BlockID) { in GetBlockName()
140 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName()
153 BlockInfo.getBlockInfo(BlockID)) { in GetCodeName()
165 switch (BlockID) { in GetCodeName()
497 if (BlockID != bitc::METADATA_BLOCK_ID) in decodeBlob()
519 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in ParseBlock()
544 outs() << "UnknownBlock" << BlockID; in ParseBlock()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DTestAfterDivZeroChecker.cpp30 unsigned BlockID; member in __anon703350e70111::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()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBlockCounter.h39 unsigned BlockID) const;
50 unsigned BlockID);
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitstreamReader.cpp23 bool BitstreamCursor::EnterSubBlock(unsigned BlockID, unsigned *NumWordsP) { in EnterSubBlock() argument
31 BlockInfo->getBlockInfo(BlockID)) { in EnterSubBlock()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DVPlan.h1253 SmallDenseMap<const VPBlockBase *, unsigned> BlockID; variable
1275 return BlockID.count(Block) ? BlockID[Block] : BlockID[Block] = BID++; in getOrCreateBID()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/
H A DCFG.h613 unsigned BlockID; variable
691 : Elements(C), Terminator(nullptr), BlockID(blockid), Preds(C, 1), in CFGBlock()
856 unsigned getBlockID() const { return BlockID; } in getBlockID()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h1532 : SExpr(COP_BasicBlock), Arena(A), BlockID(0), Visited(false) {} in BasicBlock()
1535 : SExpr(COP_BasicBlock), Arena(A), BlockID(0), Visited(false), in BasicBlock()
1541 int blockID() const { return BlockID; } in blockID()
1660 unsigned BlockID : 31; variable
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTReader.h1903 static bool ReadBlockAbbrevs(llvm::BitstreamCursor &Cursor, unsigned BlockID);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp1544 bool ASTReader::ReadBlockAbbrevs(BitstreamCursor &Cursor, unsigned BlockID) { in ReadBlockAbbrevs() argument
1545 if (Cursor.EnterSubBlock(BlockID)) in ReadBlockAbbrevs()
3838 static bool SkipCursorToBlock(BitstreamCursor &Cursor, unsigned BlockID) { in SkipCursorToBlock() argument
3852 if (Entry.ID == BlockID) { in SkipCursorToBlock()
3853 if (Cursor.EnterSubBlock(BlockID)) in SkipCursorToBlock()