Searched defs:BlockID (Results 1 - 13 of 13) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp26 unsigned BlockID; member in class:__anon18254::CountKey
30 : CallSite(CS), BlockID(ID) {}
33 return (CallSite == RHS.CallSite) && (BlockID == RHS.BlockID);
37 return std::tie(CallSite, BlockID) < std::tie(RHS.CallSite, RHS.BlockID);
42 ID.AddInteger(BlockID);
59 unsigned BlockID) const {
61 CountMap::data_type* T = M.lookup(CountKey(CallSite, BlockID));
76 unsigned BlockID) {
74 IncrementCount(BlockCounter BC, const StackFrameContext *CallSite, unsigned BlockID) argument
[all...]
/external/llvm/lib/Bitcode/Reader/
H A DBitstreamReader.cpp58 bool BitstreamCursor::EnterSubBlock(unsigned BlockID, unsigned *NumWordsP) { argument
65 BitStream->getBlockInfo(BlockID)) {
/external/clang/lib/StaticAnalyzer/Checkers/
H A DTestAfterDivZeroChecker.cpp30 unsigned BlockID; member in class:__anon18241::ZeroState
35 : ZeroSymbol(S), BlockID(B), SFC(SFC) {}
40 return BlockID == X.BlockID && SFC == X.SFC && ZeroSymbol == X.ZeroSymbol;
44 if (BlockID != X.BlockID)
45 return BlockID < X.BlockID;
52 ID.AddInteger(BlockID);
/external/llvm/tools/llvm-bcanalyzer/
H A Dllvm-bcanalyzer.cpp81 static const char *GetBlockName(unsigned BlockID, argument
84 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
85 if (BlockID == bitc::BLOCKINFO_BLOCK_ID)
92 StreamFile.getBlockInfo(BlockID)) {
100 switch (BlockID) {
117 static const char *GetCodeName(unsigned CodeID, unsigned BlockID, argument
120 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
121 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
134 StreamFile.getBlockInfo(BlockID)) {
143 switch (BlockID) {
324 ParseBlock(BitstreamCursor &Stream, unsigned BlockID, unsigned IndentLevel) argument
527 unsigned BlockID = Stream.ReadSubBlockID(); local
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Daddressmap-inl.h235 static int BlockID(Number address) { function in class:AddressMap
298 for (Entry* e = c->blocks[BlockID(num)]; e != NULL; e = e->next) {
313 const int block = BlockID(num);
344 for (Entry** p = &c->blocks[BlockID(num)]; *p != NULL; p = &(*p)->next) {
369 const int block = BlockID(num);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Daddressmap-inl.h235 static int BlockID(Number address) { function in class:AddressMap
298 for (Entry* e = c->blocks[BlockID(num)]; e != NULL; e = e->next) {
313 const int block = BlockID(num);
344 for (Entry** p = &c->blocks[BlockID(num)]; *p != NULL; p = &(*p)->next) {
369 const int block = BlockID(num);
/external/clang/tools/libclang/
H A DCXLoadedDiagnostic.cpp292 unsigned BlockID = 0; local
294 BlockID, true);
308 switch (BlockID) {
340 unsigned BlockID = Stream.ReadSubBlockID(); local
341 if (BlockID == llvm::bitc::BLOCKINFO_BLOCK_ID) {
348 blockOrRecordID = BlockID;
/external/llvm/include/llvm/Bitcode/
H A DBitstreamWriter.h58 unsigned BlockID; member in struct:llvm::BitstreamWriter::BlockInfo
198 BlockInfo *getBlockInfo(unsigned BlockID) { argument
199 // Common case, the most recent entry matches BlockID.
200 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID)
205 if (BlockInfoRecords[i].BlockID == BlockID)
210 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { argument
214 EmitVBR(BlockID, bitc::BlockIDWidth);
231 // If there is a blockinfo for this BlockID, ad
512 SwitchToBlockID(unsigned BlockID) argument
520 getOrCreateBlockInfo(unsigned BlockID) argument
534 EmitBlockInfoAbbrev(unsigned BlockID, BitCodeAbbrev *Abbv) argument
[all...]
H A DBitstreamReader.h39 unsigned BlockID; member in struct:llvm::BitstreamReader::BlockInfo
105 const BlockInfo *getBlockInfo(unsigned BlockID) const {
106 // Common case, the most recent entry matches BlockID.
107 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID)
112 if (BlockInfoRecords[i].BlockID == BlockID)
117 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { argument
118 if (const BlockInfo *BI = getBlockInfo(BlockID))
123 BlockInfoRecords.back().BlockID
[all...]
/external/clang/lib/Analysis/
H A DUninitializedValues.cpp577 unsigned BlockID = Block->getBlockID(); local
579 if (SuccsVisited[BlockID] && SuccsVisited[BlockID] < Block->succ_size() &&
H A DConsumed.cpp1086 unsigned int BlockID = Block->getBlockID(); local
1087 delete StateMapsArray[BlockID];
1088 StateMapsArray[BlockID] = nullptr;
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h391 unsigned getBlockID() const { return BlockID; }
395 BlockID = static_cast<unsigned short>(Bid);
422 unsigned short BlockID; member in class:clang::threadSafety::Variable
532 BlockID(0), Id(0), NumUses(0) {
538 Definition(D), Cvdecl(Cvd), BlockID(0), Id(0), NumUses(0) {
544 BlockID(0), Id(0), NumUses(0) {
1412 : SExpr(COP_BasicBlock), Arena(A), CFGPtr(nullptr), BlockID(0),
1416 : SExpr(COP_BasicBlock), Arena(B.Arena), CFGPtr(nullptr), BlockID(0),
1421 unsigned blockID() const { return BlockID; }
1442 void setBlockID(unsigned i) { BlockID
1517 unsigned BlockID; // unique id for this BB in the containing CFG member in class:clang::threadSafety::BasicBlock
[all...]
/external/clang/lib/Serialization/
H A DASTReader.cpp1311 /// ReadBlockAbbrevs - Enter a subblock of the specified BlockID with the
1314 bool ASTReader::ReadBlockAbbrevs(BitstreamCursor &Cursor, unsigned BlockID) { argument
1315 if (Cursor.EnterSubBlock(BlockID)) {
3908 static bool SkipCursorToBlock(BitstreamCursor &Cursor, unsigned BlockID) { argument
3922 if (Entry.ID == BlockID) {
3923 if (Cursor.EnterSubBlock(BlockID))

Completed in 421 milliseconds