Home
last modified time | relevance | path

Searched refs:naclbitc (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/subzero/unittest/
DIceParseInstsTest.cpp40 1, naclbitc::BLK_CODE_ENTER, naclbitc::MODULE_BLOCK_ID, 2, Terminator, in TEST()
41 1, naclbitc::BLK_CODE_ENTER, naclbitc::TYPE_BLOCK_ID_NEW, 2, Terminator, in TEST()
42 3, naclbitc::TYPE_CODE_NUMENTRY, 3, Terminator, in TEST()
43 3, naclbitc::TYPE_CODE_INTEGER, 32, Terminator, in TEST()
44 3, naclbitc::TYPE_CODE_VOID, Terminator, in TEST()
45 3, naclbitc::TYPE_CODE_FUNCTION, 0, 1, 0, 0, Terminator, in TEST()
46 0, naclbitc::BLK_CODE_EXIT, Terminator, in TEST()
47 3, naclbitc::MODULE_CODE_FUNCTION, 2, 0, 1, 3, Terminator, in TEST()
48 3, naclbitc::MODULE_CODE_FUNCTION, 2, 0, 0, 3, Terminator, in TEST()
49 1, naclbitc::BLK_CODE_ENTER, naclbitc::FUNCTION_BLOCK_ID, 2, Terminator, in TEST()
[all …]
DIceParseTypesTest.cpp25 NaClBitsNeededForValue(naclbitc::DEFAULT_MAX_ABBREV);
28 naclbitc::ENTER_SUBBLOCK, naclbitc::BLK_CODE_ENTER,
29 naclbitc::MODULE_BLOCK_ID, NO_LOCAL_ABBREVS, Terminator,
30 naclbitc::ENTER_SUBBLOCK, naclbitc::BLK_CODE_ENTER,
31 naclbitc::TYPE_BLOCK_ID_NEW, NO_LOCAL_ABBREVS, Terminator,
32 naclbitc::UNABBREV_RECORD, naclbitc::TYPE_CODE_NUMENTRY, 2, Terminator,
33 naclbitc::UNABBREV_RECORD, naclbitc::TYPE_CODE_INTEGER, 32, Terminator,
34 naclbitc::UNABBREV_RECORD, naclbitc::TYPE_CODE_FLOAT, Terminator,
35 naclbitc::END_BLOCK, naclbitc::BLK_CODE_EXIT, Terminator,
36 naclbitc::END_BLOCK, naclbitc::BLK_CODE_EXIT, Terminator};
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp14 namespace naclbitc { namespace
22 case naclbitc::CAST_TRUNC: in DecodeCastOpcode()
25 case naclbitc::CAST_ZEXT: in DecodeCastOpcode()
28 case naclbitc::CAST_SEXT: in DecodeCastOpcode()
31 case naclbitc::CAST_FPTOUI: in DecodeCastOpcode()
34 case naclbitc::CAST_FPTOSI: in DecodeCastOpcode()
37 case naclbitc::CAST_UITOFP: in DecodeCastOpcode()
40 case naclbitc::CAST_SITOFP: in DecodeCastOpcode()
43 case naclbitc::CAST_FPTRUNC: in DecodeCastOpcode()
46 case naclbitc::CAST_FPEXT: in DecodeCastOpcode()
[all …]
DNaClBitstreamReader.cpp28 std::string llvm::naclbitc::getBitAddress(uint64_t Bit) { in getBitAddress()
35 raw_ostream &llvm::naclbitc::ErrorAt( in ErrorAt()
39 << naclbitc::getBitAddress(BitPosition) << "): "; in ErrorAt()
52 naclbitc::ErrorAt(StrBuf, naclbitc::Fatal, in Fatal()
76 CodeAbbrev(IsFixed, ReadVBR(naclbitc::CodeLenWidth)); in EnterSubBlock()
79 unsigned NumWords = Read(naclbitc::BlockSizeWidth); in EnterSubBlock()
114 if (AbbrevID == naclbitc::UNABBREV_RECORD) { in skipRecord()
204 if (AbbrevID == naclbitc::UNABBREV_RECORD) { in readRecord()
336 naclbitc::BLOCKINFO_BLOCK_ID,
337 naclbitc::CONSTANTS_BLOCK_ID,
[all …]
DNaClBitcodeParser.cpp54 Parser->Record.Entry.ID = naclbitc::UNABBREV_RECORD; in SetBID()
55 Parser->Record.Data.Code = naclbitc::BLOCKINFO_CODE_SETBID; in SetBID()
65 Parser->Record.Entry.ID = naclbitc::END_BLOCK; in EndBlockInfoBlock()
66 Parser->Record.Data.Code = naclbitc::END_BLOCK; in EndBlockInfoBlock()
68 GlobalBlockID = naclbitc::BLOCKINFO_BLOCK_ID; in EndBlockInfoBlock()
76 Parser->Record.Entry.ID = naclbitc::DEFINE_ABBREV; in ProcessAbbreviation()
77 Parser->Record.Data.Code = naclbitc::BLK_CODE_DEFINE_ABBREV; in ProcessAbbreviation()
90 naclbitc::ErrorLevel Level, uint64_t BitPosition, in ErrorAt()
92 naclbitc::ErrorAt(*ErrStream, Level, BitPosition) << Message << "\n"; in ErrorAt()
93 if (Level == naclbitc::Fatal) in ErrorAt()
[all …]
DNaClBitCodes.cpp52 return Val <= naclbitc::MaxAbbrevWidth; in isValid()
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp243 bool ErrorAt(naclbitc::ErrorLevel Level, uint64_t BitPosition,
583 bool TopLevelParser::ErrorAt(naclbitc::ErrorLevel Level, uint64_t Bit, in ErrorAt()
596 if (Level >= naclbitc::Error && !Ice::getFlags().getAllowErrorRecovery()) in ErrorAt()
683 bool ErrorAt(naclbitc::ErrorLevel Level, uint64_t Bit,
767 bool BlockParserBaseClass::ErrorAt(naclbitc::ErrorLevel Level, uint64_t Bit, in ErrorAt()
868 case naclbitc::TYPE_CODE_NUMENTRY: { in ProcessRecord()
890 case naclbitc::TYPE_CODE_VOID: in ProcessRecord()
896 case naclbitc::TYPE_CODE_FLOAT: in ProcessRecord()
902 case naclbitc::TYPE_CODE_DOUBLE: in ProcessRecord()
908 case naclbitc::TYPE_CODE_INTEGER: in ProcessRecord()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitcodeParser.h315 GetEntryID() != naclbitc::UNABBREV_RECORD; in UsedAnAbbreviation()
322 ? GetEntryID() : static_cast<unsigned>(naclbitc::UNABBREV_RECORD); in GetAbbreviationIndex()
380 : Parser(Parser), GlobalBlockID(naclbitc::BLOCKINFO_BLOCK_ID) { in NaClBitcodeParserListener()
496 virtual bool ErrorAt(naclbitc::ErrorLevel Level, uint64_t BitPosition,
500 return ErrorAt(naclbitc::Error, BitPosition, Message); in ErrorAt()
514 ErrorAt(naclbitc::Fatal, BitPosition, Message); in FatalAt()
639 if (GetBlockID() == naclbitc::BLOCKINFO_BLOCK_ID) { in ParseThisBlockInternal()
DNaClBitstreamReader.h35 namespace naclbitc {
499 Block(BitStream->getBlockInfo(naclbitc::TOP_LEVEL_BLOCKID))); in init()
563 return naclbitc::getBitAddress(GetCurrentBitNo()); in getCurrentBitAddress()
582 if (Code == naclbitc::END_BLOCK) { in advance()
589 if (Code == naclbitc::ENTER_SUBBLOCK) in advance()
592 if (Code == naclbitc::DEFINE_ABBREV && in advance()
800 return ReadVBR(naclbitc::BlockIDWidth); in ReadSubBlockID()
808 ReadVBR(naclbitc::CodeLenWidth); in SkipBlock()
810 unsigned NumFourBytes = Read(naclbitc::BlockSizeWidth); in SkipBlock()
875 unsigned AbbrevNo = AbbrevID-naclbitc::FIRST_APPLICATION_ABBREV; in getAbbrev()
DNaClBitcodeDefs.h21 namespace naclbitc {
DNaClBitcodeDecoders.h26 namespace naclbitc {
DNaClBitCodes.h30 namespace naclbitc {
402 NumBits(NaClBitsNeededForValue(naclbitc::DEFAULT_MAX_ABBREV)) {}
DNaClLLVMBitCodes.h28 namespace naclbitc {