/external/clang/lib/StaticAnalyzer/Core/ |
D | BlockCounter.cpp | 26 unsigned BlockID; member in __anon589bda7b0111::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/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/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/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/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
|
D | multiple-modules.test | 16 ; ASM: module { // BlockID = 8 19 ; ASM: module { // BlockID = 8
|
D | insertelt-wrong-type.test | 17 ; ASM: function void @f0(<16 x i1> %p0) { // BlockID = 12 19 ; ASM: constants { // BlockID = 11
|
/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/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/clang/lib/StaticAnalyzer/Checkers/ |
D | TestAfterDivZeroChecker.cpp | 30 unsigned BlockID; member in __anonf38bc0b90111::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/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | BlockCounter.h | 39 unsigned BlockID) const; 50 unsigned BlockID);
|
/external/swiftshader/third_party/subzero/tests_lit/reader_tests/ |
D | forwardref.ll | 30 ; DUMP: function void @f0() { // BlockID = 12 32 ; DUMP-NEXT: constants { // BlockID = 11 83 ; DUMP: function void @f1(i32 %p0) { // BlockID = 12 85 ; DUMP-NEXT: constants { // BlockID = 11
|
/external/llvm/unittests/Bitcode/ |
D | BitstreamReaderTest.cpp | 186 const unsigned BlockID = bitc::FIRST_APPLICATION_BLOCKID; in TEST() local 198 Stream.EnterSubblock(BlockID, 3); in TEST() 224 ASSERT_EQ(BlockID, Entry.ID); in TEST() 225 ASSERT_FALSE(Stream.EnterSubBlock(BlockID)); in TEST()
|