/external/llvm/unittests/Bitcode/ |
BitstreamReaderTest.cpp | 186 const unsigned BlockID = bitc::FIRST_APPLICATION_BLOCKID; 198 Stream.EnterSubblock(BlockID, 3); 224 ASSERT_EQ(BlockID, Entry.ID); 225 ASSERT_FALSE(Stream.EnterSubBlock(BlockID));
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Bitcode/ |
BitstreamReaderTest.cpp | 90 const unsigned BlockID = bitc::FIRST_APPLICATION_BLOCKID; 102 Stream.EnterSubblock(BlockID, 3); 126 ASSERT_EQ(BlockID, Entry.ID); 127 ASSERT_FALSE(Stream.EnterSubBlock(BlockID));
|
/external/clang/lib/StaticAnalyzer/Core/ |
BlockCounter.cpp | 26 unsigned BlockID; 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) { [all...] |
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
NaClBitcodeParser.cpp | 35 NaClBitcodeBlock::NaClBitcodeBlock(unsigned BlockID, 38 BlockID(BlockID), 44 os << "Block " << BlockID;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
TestAfterDivZeroChecker.cpp | 30 unsigned BlockID; 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/include/llvm/Bitcode/ |
BitstreamWriter.h | 61 unsigned BlockID; 192 BlockInfo *getBlockInfo(unsigned BlockID) { 193 // Common case, the most recent entry matches BlockID. 194 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) 199 if (BlockInfoRecords[i].BlockID == BlockID) 204 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { 206 // [ENTER_SUBBLOCK, blockid, newcodelen, <align4bytes>, blocklen] 208 EmitVBR(BlockID, bitc::BlockIDWidth) [all...] |
BitstreamReader.h | 37 unsigned BlockID; 100 const BlockInfo *getBlockInfo(unsigned BlockID) const { 101 // Common case, the most recent entry matches BlockID. 102 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) 107 if (BlockInfoRecords[i].BlockID == BlockID) 112 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { 113 if (const BlockInfo *BI = getBlockInfo(BlockID)) 118 BlockInfoRecords.back().BlockID = BlockID [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
BitstreamWriter.h | 57 unsigned BlockID; 182 BlockInfo *getBlockInfo(unsigned BlockID) { 183 // Common case, the most recent entry matches BlockID. 184 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) 189 if (BlockInfoRecords[i].BlockID == BlockID) 194 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { 196 // [ENTER_SUBBLOCK, blockid, newcodelen, <align4bytes>, blocklen] 198 EmitVBR(BlockID, bitc::BlockIDWidth) [all...] |
BitstreamReader.h | 32 unsigned BlockID; 98 const BlockInfo *getBlockInfo(unsigned BlockID) const { 99 // Common case, the most recent entry matches BlockID. 100 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) 105 if (BlockInfoRecords[i].BlockID == BlockID) 110 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { 111 if (const BlockInfo *BI = getBlockInfo(BlockID)) 116 BlockInfoRecords.back().BlockID = BlockID [all...] |
/external/swiftshader/third_party/LLVM/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 82 static const char *GetBlockName(unsigned BlockID,
85 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
86 if (BlockID == bitc::BLOCKINFO_BLOCK_ID)
93 StreamFile.getBlockInfo(BlockID)) {
101 switch (BlockID) {
118 static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
121 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
122 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
135 StreamFile.getBlockInfo(BlockID)) {
144 switch (BlockID) {
[all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
BitstreamWriter.h | 61 unsigned BlockID; 188 BlockInfo *getBlockInfo(unsigned BlockID) { 189 // Common case, the most recent entry matches BlockID. 190 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) 195 if (BlockInfoRecords[i].BlockID == BlockID) 200 void EnterSubblock(unsigned BlockID, unsigned CodeLen) { 202 // [ENTER_SUBBLOCK, blockid, newcodelen, <align4bytes>, blocklen] 204 EmitVBR(BlockID, bitc::BlockIDWidth) [all...] |
BitstreamReader.h | 43 unsigned BlockID; 55 const BlockInfo *getBlockInfo(unsigned BlockID) const { 56 // Common case, the most recent entry matches BlockID. 57 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) 62 if (BlockInfoRecords[i].BlockID == BlockID) 67 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { 68 if (const BlockInfo *BI = getBlockInfo(BlockID)) 73 BlockInfoRecords.back().BlockID = BlockID [all...] |
/external/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 86 static const char *GetBlockName(unsigned BlockID, 90 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { 91 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) 98 StreamFile.getBlockInfo(BlockID)) { 106 switch (BlockID) { 130 static const char *GetCodeName(unsigned CodeID, unsigned BlockID, 134 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { 135 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { 148 StreamFile.getBlockInfo(BlockID)) { 160 switch (BlockID) { [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 87 static const char *GetBlockName(unsigned BlockID, 91 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { 92 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) 99 BlockInfo.getBlockInfo(BlockID)) { 107 switch (BlockID) { 135 static const char *GetCodeName(unsigned CodeID, unsigned BlockID, 139 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { 140 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { 153 BlockInfo.getBlockInfo(BlockID)) { 165 switch (BlockID) { [all...] |
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
NaClBitcodeParser.h | 168 /// Given the found (begin) block record for block BlockID, create 170 NaClBitcodeBlock(unsigned BlockID, const NaClBitcodeRecord &Record); 172 /// Create block data for block BlockID, using the input cursor. 173 NaClBitcodeBlock(unsigned BlockID, NaClBitstreamCursor &Cursor) 175 BlockID(BlockID), 191 return BlockID; 202 unsigned BlockID; 465 virtual void ProcessAbbreviation(unsigned /*BlockID*/, 474 virtual bool ParseBlock(unsigned BlockID) { [all...] |
NaClBitstreamReader.h | 124 explicit BlockInfo(unsigned BlockID) 125 : BlockID(BlockID), Abbrevs() {} 127 unsigned getBlockID() const { return BlockID; } 128 void setBlockID(unsigned ID) { BlockID = ID; } 132 unsigned BlockID; 172 BlockInfo *getBlockInfo(unsigned BlockID) { 173 auto Pos = KnownInfos.find(BlockID); 176 return getOrCreateUnknownBlockInfo(BlockID); 219 BlockInfo *getOrCreateUnknownBlockInfo(unsigned BlockID); [all...] |
/external/clang/lib/Analysis/ |
UninitializedValues.cpp | 636 unsigned BlockID = Block->getBlockID(); 638 if (SuccsVisited[BlockID] && SuccsVisited[BlockID] < Block->succ_size() &&
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |
/external/swiftshader/third_party/subzero/src/ |
PNaClTranslator.cpp | 450 bool ParseBlock(unsigned BlockID) override; 666 BlockParserBaseClass(unsigned BlockID, TopLevelParser *Context) 667 : NaClBitcodeParser(BlockID, Context), Context(Context) {} 669 BlockParserBaseClass(unsigned BlockID, BlockParserBaseClass *EnclosingParser, 671 : NaClBitcodeParser(BlockID, EnclosingParser, Cursor), 693 BlockParserBaseClass(unsigned BlockID, BlockParserBaseClass *EnclosingParser) 694 : NaClBitcodeParser(BlockID, EnclosingParser), 702 bool ParseBlock(unsigned BlockID) override; 806 bool BlockParserBaseClass::ParseBlock(unsigned BlockID) { 811 StrBuf << "Don't know how to parse block id: " << BlockID; [all...] |