Lines Matching refs:BlockID
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()
833 TypesParser(unsigned BlockID, BlockParserBaseClass *EnclosingParser) in TypesParser() argument
834 : BlockParserBaseClass(BlockID, EnclosingParser), in TypesParser()
1037 GlobalsParser(unsigned BlockID, BlockParserBaseClass *EnclosingParser) in GlobalsParser() argument
1038 : BlockParserBaseClass(BlockID, EnclosingParser), in GlobalsParser()
1254 ValuesymtabParser(unsigned BlockID, BlockParserBaseClass *EnclosingParser) in ValuesymtabParser() argument
1255 : BlockParserBaseClass(BlockID, EnclosingParser) {} in ValuesymtabParser()
1357 FunctionParser(unsigned BlockID, BlockParserBaseClass *EnclosingParser, in FunctionParser() argument
1359 : BlockParserBaseClass(BlockID, EnclosingParser), in FunctionParser()
1365 FunctionParser(unsigned BlockID, BlockParserBaseClass *EnclosingParser, in FunctionParser() argument
1367 : BlockParserBaseClass(BlockID, EnclosingParser, Cursor), in FunctionParser()
1463 bool ParseBlock(unsigned BlockID) override;
2794 ConstantsParser(unsigned BlockID, FunctionParser *FuncParser) in ConstantsParser() argument
2795 : BlockParserBaseClass(BlockID, FuncParser), in ConstantsParser()
2911 FunctionValuesymtabParser(unsigned BlockID, FunctionParser *EnclosingParser) in FunctionValuesymtabParser() argument
2912 : ValuesymtabParser(BlockID, EnclosingParser), in FunctionValuesymtabParser()
2972 bool FunctionParser::ParseBlock(unsigned BlockID) { in ParseBlock() argument
2976 switch (BlockID) { in ParseBlock()
2978 ConstantsParser Parser(BlockID, this); in ParseBlock()
2983 FunctionValuesymtabParser Parser(BlockID, this); in ParseBlock()
2991 return BlockParserBaseClass::ParseBlock(BlockID); in ParseBlock()
3001 ModuleParser(unsigned BlockID, TopLevelParser *Context) in ModuleParser() argument
3002 : BlockParserBaseClass(BlockID, Context), in ModuleParser()
3035 bool ParseBlock(unsigned BlockID) override;
3051 ModuleValuesymtabParser(unsigned BlockID, ModuleParser *MP) in ModuleValuesymtabParser() argument
3052 : ValuesymtabParser(BlockID, MP), in ModuleValuesymtabParser()
3096 CfgParserWorkItem(unsigned BlockID, NaClBcIndexSize_t FcnId, in CfgParserWorkItem() argument
3099 : BlockID(BlockID), FcnId(FcnId), ModParser(ModParser), in CfgParserWorkItem()
3106 const unsigned BlockID; member in __anon013ef65f0111::CfgParserWorkItem
3125 FunctionParser Parser(BlockID, ModParser, FcnId, NewCursor); in getParsedCfg()
3129 bool ModuleParser::ParseBlock(unsigned BlockID) { in ParseBlock() argument
3130 switch (BlockID) { in ParseBlock()
3132 return NaClBitcodeParser::ParseBlock(BlockID); in ParseBlock()
3134 TypesParser Parser(BlockID, this); in ParseBlock()
3138 GlobalsParser Parser(BlockID, this); in ParseBlock()
3152 ModuleValuesymtabParser Parser(BlockID, this); in ParseBlock()
3178 BlockID, FcnId, this, std::move(Buffer), BufferSize, StartBit, in ParseBlock()
3182 FunctionParser Parser(BlockID, this, FcnId); in ParseBlock()
3190 return BlockParserBaseClass::ParseBlock(BlockID); in ParseBlock()
3245 bool TopLevelParser::ParseBlock(unsigned BlockID) { in ParseBlock() argument
3246 if (BlockID == naclbitc::MODULE_BLOCK_ID) { in ParseBlock()
3249 ModuleParser Parser(BlockID, this); in ParseBlock()
3255 BlockParserBaseClass Parser(BlockID, this); in ParseBlock()