/external/clang/lib/StaticAnalyzer/Core/ |
D | BlockCounter.cpp | 26 unsigned BlockID; member in __anon705b66850111::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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 61 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() 200 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { in EnterSubblock() argument 204 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock() 223 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock() 513 void SwitchToBlockID(unsigned BlockID) { in SwitchToBlockID() argument 514 if (BlockInfoCurBID == BlockID) return; in SwitchToBlockID() 516 V.push_back(BlockID); in SwitchToBlockID() [all …]
|
D | BitstreamReader.h | 43 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);
|
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 57 unsigned BlockID; member 182 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument 184 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo() 189 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo() 194 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { in EnterSubblock() argument 198 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock() 217 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock() 496 void SwitchToBlockID(unsigned BlockID) { in SwitchToBlockID() argument 497 if (BlockInfoCurBID == BlockID) return; in SwitchToBlockID() 499 V.push_back(BlockID); in SwitchToBlockID() [all …]
|
D | BitstreamReader.h | 32 unsigned BlockID; member 98 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo() argument 100 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo() 105 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo() 110 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo() argument 111 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo() 116 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo() 390 bool EnterSubBlock(unsigned BlockID, unsigned *NumWordsP = 0) { 397 BitStream->getBlockInfo(BlockID)) {
|
/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/swiftshader/third_party/LLVM/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 82 static const char *GetBlockName(unsigned BlockID, in GetBlockName() argument 85 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName() 86 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName() 93 StreamFile.getBlockInfo(BlockID)) { in GetBlockName() 101 switch (BlockID) { in GetBlockName() 118 static const char *GetCodeName(unsigned CodeID, unsigned BlockID, in GetCodeName() argument 121 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetCodeName() 122 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName() 135 StreamFile.getBlockInfo(BlockID)) { in GetCodeName() 144 switch (BlockID) { in GetCodeName() [all …]
|
/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/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 87 static const char *GetBlockName(unsigned BlockID, in GetBlockName() argument 91 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName() 92 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName() 99 BlockInfo.getBlockInfo(BlockID)) { in GetBlockName() 107 switch (BlockID) { in GetBlockName() 135 static const char *GetCodeName(unsigned CodeID, unsigned BlockID, in GetCodeName() argument 139 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetCodeName() 140 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName() 153 BlockInfo.getBlockInfo(BlockID)) { in GetCodeName() 165 switch (BlockID) { in GetCodeName() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitcodeParser.h | 170 NaClBitcodeBlock(unsigned BlockID, const NaClBitcodeRecord &Record); 173 NaClBitcodeBlock(unsigned BlockID, NaClBitstreamCursor &Cursor) in NaClBitcodeBlock() argument 175 BlockID(BlockID), in NaClBitcodeBlock() 191 return BlockID; in GetBlockID() 202 unsigned BlockID; 474 virtual bool ParseBlock(unsigned BlockID) { in ParseBlock() argument 476 NaClBitcodeParser Parser(BlockID, this); in ParseBlock() 604 NaClBitcodeParser(unsigned BlockID, NaClBitcodeParser *EnclosingParser) in NaClBitcodeParser() argument 606 Block(BlockID, EnclosingParser->Record), in NaClBitcodeParser() 616 NaClBitcodeParser(unsigned BlockID, NaClBitcodeParser *EnclosingParser, in NaClBitcodeParser() argument [all …]
|
D | NaClBitstreamReader.h | 124 explicit BlockInfo(unsigned BlockID) in BlockInfo() argument 125 : BlockID(BlockID), Abbrevs() {} in BlockInfo() 127 unsigned getBlockID() const { return BlockID; } in getBlockID() 128 void setBlockID(unsigned ID) { BlockID = ID; } in setBlockID() 132 unsigned BlockID; 172 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument 173 auto Pos = KnownInfos.find(BlockID); in getBlockInfo() 176 return getOrCreateUnknownBlockInfo(BlockID); in getBlockInfo() 219 BlockInfo *getOrCreateUnknownBlockInfo(unsigned BlockID); 295 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() argument [all …]
|
/external/swiftshader/third_party/subzero/tests_lit/parse_errs/ |
D | duplicate-fcn-name.test | 14 ; ASM: module { // BlockID = 8 16 ; ASM: types { // BlockID = 17 23 ; ASM: globals { // BlockID = 19 26 ; ASM: valuesymtab { // BlockID = 14 30 ; ASM: function void @f0() { // BlockID = 12 35 ; ASM: function void @f1() { // BlockID = 12
|
D | fcn-value-index-isnt-defined.test | 16 ; ASM: module { // BlockID = 8 18 ; ASM: types { // BlockID = 17 26 ; ASM: globals { // BlockID = 19 29 ; ASM: valuesymtab { // BlockID = 14 32 ; ASM: function i32 @f0() { // BlockID = 12 34 ; ASM: constants { // BlockID = 11
|
D | call-fcn-bad-param-type.test | 15 ; DIS: module { // BlockID = 8 17 ; DIS-NEXT: types { // BlockID = 17 27 ; DIS-NEXT: globals { // BlockID = 19 30 ; DIS-NEXT: valuesymtab { // BlockID = 14 34 ; DIS-NEXT: function void @f1() { // BlockID = 12 36 ; DIS-NEXT: constants { // BlockID = 11
|
D | dup-module-vst.test | 14 ; ASM: module { // BlockID = 8 15 ; ASM: valuesymtab { // BlockID = 14 18 ; ASM: valuesymtab { // BlockID = 14
|
D | symtab-after-fcn.test | 16 ; ASM: module { // BlockID = 8 17 ; ASM: function void @f0() { // BlockID = 12 19 ; ASM: valuesymtab { // BlockID = 14
|
D | bad-intrinsic-arg.test | 17 ; ASM: module { // BlockID = 8 19 ; ASM: valuesymtab { // BlockID = 14 23 ; ASM: function void @f3(i32 %p0, double %p1) { // BlockID = 12
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | TestAfterDivZeroChecker.cpp | 30 unsigned BlockID; member in __anonf83547830111::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/subzero/pnacl-llvm/ |
D | NaClBitstreamReader.cpp | 73 bool NaClBitstreamCursor::EnterSubBlock(unsigned BlockID, unsigned *NumWordsP) { in EnterSubBlock() argument 77 BlockScope.push_back(Block(BitStream->getBlockInfo(BlockID), CodeAbbrev)); in EnterSubBlock() 350 for (size_t BlockID : ValidBlockIDs) { in BlockInfoRecordsMap() local 351 std::unique_ptr<BlockInfo> Info(new BlockInfo(BlockID)); in BlockInfoRecordsMap() 352 KnownInfos.emplace(BlockID, std::move(Info)); in BlockInfoRecordsMap() 357 getOrCreateUnknownBlockInfo(unsigned BlockID) { in getOrCreateUnknownBlockInfo() argument 360 auto Pos = UnknownInfos.find(BlockID); in getOrCreateUnknownBlockInfo() 364 std::unique_ptr<BlockInfo> Info(new BlockInfo(BlockID)); in getOrCreateUnknownBlockInfo() 365 UnknownInfos.emplace(BlockID, std::move(Info)); in getOrCreateUnknownBlockInfo()
|
D | NaClBitcodeParser.cpp | 35 NaClBitcodeBlock::NaClBitcodeBlock(unsigned BlockID, in NaClBitcodeBlock() argument 38 BlockID(BlockID), in NaClBitcodeBlock() 44 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Bitcode/ |
D | BitstreamReaderTest.cpp | 90 const unsigned BlockID = bitc::FIRST_APPLICATION_BLOCKID; in TEST() local 102 Stream.EnterSubblock(BlockID, 3); in TEST() 126 ASSERT_EQ(BlockID, Entry.ID); in TEST() 127 ASSERT_FALSE(Stream.EnterSubBlock(BlockID)); in TEST()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | BlockCounter.h | 39 unsigned BlockID) const; 50 unsigned BlockID);
|