Home
last modified time | relevance | path

Searched refs:bitc (Results 1 – 25 of 36) sorted by relevance

12

/external/swiftshader/third_party/LLVM/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp85 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName()
86 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName()
103 case bitc::MODULE_BLOCK_ID: return "MODULE_BLOCK"; in GetBlockName()
104 case bitc::PARAMATTR_BLOCK_ID: return "PARAMATTR_BLOCK"; in GetBlockName()
105 case bitc::TYPE_BLOCK_ID_OLD: return "TYPE_BLOCK_ID_OLD"; in GetBlockName()
106 case bitc::TYPE_BLOCK_ID_NEW: return "TYPE_BLOCK_ID"; in GetBlockName()
107 case bitc::CONSTANTS_BLOCK_ID: return "CONSTANTS_BLOCK"; in GetBlockName()
108 case bitc::FUNCTION_BLOCK_ID: return "FUNCTION_BLOCK"; in GetBlockName()
109 case bitc::TYPE_SYMTAB_BLOCK_ID_OLD: return "TYPE_SYMTAB_OLD"; in GetBlockName()
110 case bitc::VALUE_SYMTAB_BLOCK_ID: return "VALUE_SYMTAB"; in GetBlockName()
[all …]
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DBitcodeWriter.cpp40 VST_ENTRY_8_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
46 CONSTANTS_SETTYPE_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
52 FUNCTION_INST_LOAD_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
64 case Instruction::Trunc : return bitc::CAST_TRUNC; in GetEncodedCastOpcode()
65 case Instruction::ZExt : return bitc::CAST_ZEXT; in GetEncodedCastOpcode()
66 case Instruction::SExt : return bitc::CAST_SEXT; in GetEncodedCastOpcode()
67 case Instruction::FPToUI : return bitc::CAST_FPTOUI; in GetEncodedCastOpcode()
68 case Instruction::FPToSI : return bitc::CAST_FPTOSI; in GetEncodedCastOpcode()
69 case Instruction::UIToFP : return bitc::CAST_UITOFP; in GetEncodedCastOpcode()
70 case Instruction::SIToFP : return bitc::CAST_SITOFP; in GetEncodedCastOpcode()
[all …]
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp45 VST_ENTRY_8_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
51 CONSTANTS_SETTYPE_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
57 FUNCTION_INST_LOAD_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
475 case Instruction::Trunc : return bitc::CAST_TRUNC; in getEncodedCastOpcode()
476 case Instruction::ZExt : return bitc::CAST_ZEXT; in getEncodedCastOpcode()
477 case Instruction::SExt : return bitc::CAST_SEXT; in getEncodedCastOpcode()
478 case Instruction::FPToUI : return bitc::CAST_FPTOUI; in getEncodedCastOpcode()
479 case Instruction::FPToSI : return bitc::CAST_FPTOSI; in getEncodedCastOpcode()
480 case Instruction::UIToFP : return bitc::CAST_UITOFP; in getEncodedCastOpcode()
481 case Instruction::SIToFP : return bitc::CAST_SITOFP; in getEncodedCastOpcode()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp102 VST_ENTRY_8_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
108 CONSTANTS_SETTYPE_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
114 FUNCTION_INST_LOAD_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
146 Stream.EmitRecord(bitc::MODULE_CODE_VERSION, ArrayRef<uint64_t>{2}); in writeModuleVersion()
500 case Instruction::Trunc : return bitc::CAST_TRUNC; in getEncodedCastOpcode()
501 case Instruction::ZExt : return bitc::CAST_ZEXT; in getEncodedCastOpcode()
502 case Instruction::SExt : return bitc::CAST_SEXT; in getEncodedCastOpcode()
503 case Instruction::FPToUI : return bitc::CAST_FPTOUI; in getEncodedCastOpcode()
504 case Instruction::FPToSI : return bitc::CAST_FPTOSI; in getEncodedCastOpcode()
505 case Instruction::UIToFP : return bitc::CAST_UITOFP; in getEncodedCastOpcode()
[all …]
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp96 case bitc::CAST_TRUNC : return Instruction::Trunc; in GetDecodedCastOpcode()
97 case bitc::CAST_ZEXT : return Instruction::ZExt; in GetDecodedCastOpcode()
98 case bitc::CAST_SEXT : return Instruction::SExt; in GetDecodedCastOpcode()
99 case bitc::CAST_FPTOUI : return Instruction::FPToUI; in GetDecodedCastOpcode()
100 case bitc::CAST_FPTOSI : return Instruction::FPToSI; in GetDecodedCastOpcode()
101 case bitc::CAST_UITOFP : return Instruction::UIToFP; in GetDecodedCastOpcode()
102 case bitc::CAST_SITOFP : return Instruction::SIToFP; in GetDecodedCastOpcode()
103 case bitc::CAST_FPTRUNC : return Instruction::FPTrunc; in GetDecodedCastOpcode()
104 case bitc::CAST_FPEXT : return Instruction::FPExt; in GetDecodedCastOpcode()
105 case bitc::CAST_PTRTOINT: return Instruction::PtrToInt; in GetDecodedCastOpcode()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp168 if (Stream.EnterSubBlock(bitc::IDENTIFICATION_BLOCK_ID)) in readIdentificationBlock()
196 case bitc::IDENTIFICATION_CODE_STRING: // IDENTIFICATION: [strchr x N] in readIdentificationBlock()
199 case bitc::IDENTIFICATION_CODE_EPOCH: { // EPOCH: [epoch#] in readIdentificationBlock()
201 if (epoch != bitc::BITCODE_CURRENT_EPOCH) { in readIdentificationBlock()
204 "' vs current: '" + Twine(bitc::BITCODE_CURRENT_EPOCH) + "'"); in readIdentificationBlock()
225 if (Entry.ID == bitc::IDENTIFICATION_BLOCK_ID) in readIdentificationCode()
240 if (Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in hasObjCCategoryInModule()
264 case bitc::MODULE_CODE_SECTIONNAME: { // SECTIONNAME: [strchr x N] in hasObjCCategoryInModule()
293 if (Entry.ID == bitc::MODULE_BLOCK_ID) in hasObjCCategory()
309 if (Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in readModuleTriple()
[all …]
DMetadataLoader.cpp697 case bitc::METADATA_STRINGS: { in lazyLoadModuleMetadataBlock()
712 case bitc::METADATA_INDEX_OFFSET: { in lazyLoadModuleMetadataBlock()
731 assert(Code == bitc::METADATA_INDEX && "Corrupted bitcode: Expected " in lazyLoadModuleMetadataBlock()
744 case bitc::METADATA_INDEX: in lazyLoadModuleMetadataBlock()
748 case bitc::METADATA_NAME: { in lazyLoadModuleMetadataBlock()
753 assert(Code == bitc::METADATA_NAME); in lazyLoadModuleMetadataBlock()
763 assert(NextBitCode == bitc::METADATA_NAMED_NODE); in lazyLoadModuleMetadataBlock()
780 case bitc::METADATA_GLOBAL_DECL_ATTACHMENT: { in lazyLoadModuleMetadataBlock()
797 case bitc::METADATA_KIND: in lazyLoadModuleMetadataBlock()
798 case bitc::METADATA_STRING_OLD: in lazyLoadModuleMetadataBlock()
[all …]
DBitstreamReader.cpp38 CurCodeSize = ReadVBR(bitc::CodeLenWidth); in EnterSubBlock()
44 unsigned NumWords = Read(bitc::BlockSizeWidth); in EnterSubBlock()
98 if (AbbrevID == bitc::UNABBREV_RECORD) { in skipRecord()
182 if (AbbrevID == bitc::UNABBREV_RECORD) { in readRecord()
325 if (EnterSubBlock(bitc::BLOCKINFO_BLOCK_ID)) return None; in ReadBlockInfoBlock()
348 if (Entry.ID == bitc::DEFINE_ABBREV) { in ReadBlockInfoBlock()
363 case bitc::BLOCKINFO_CODE_SETBID: in ReadBlockInfoBlock()
367 case bitc::BLOCKINFO_CODE_BLOCKNAME: { in ReadBlockInfoBlock()
377 case bitc::BLOCKINFO_CODE_SETRECORDNAME: { in ReadBlockInfoBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp91 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName()
92 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName()
109 case bitc::OPERAND_BUNDLE_TAGS_BLOCK_ID: return "OPERAND_BUNDLE_TAGS_BLOCK"; in GetBlockName()
110 case bitc::MODULE_BLOCK_ID: return "MODULE_BLOCK"; in GetBlockName()
111 case bitc::PARAMATTR_BLOCK_ID: return "PARAMATTR_BLOCK"; in GetBlockName()
112 case bitc::PARAMATTR_GROUP_BLOCK_ID: return "PARAMATTR_GROUP_BLOCK_ID"; in GetBlockName()
113 case bitc::TYPE_BLOCK_ID_NEW: return "TYPE_BLOCK_ID"; in GetBlockName()
114 case bitc::CONSTANTS_BLOCK_ID: return "CONSTANTS_BLOCK"; in GetBlockName()
115 case bitc::FUNCTION_BLOCK_ID: return "FUNCTION_BLOCK"; in GetBlockName()
116 case bitc::IDENTIFICATION_BLOCK_ID: in GetBlockName()
[all …]
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp90 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName()
91 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName()
108 case bitc::OPERAND_BUNDLE_TAGS_BLOCK_ID: return "OPERAND_BUNDLE_TAGS_BLOCK"; in GetBlockName()
109 case bitc::MODULE_BLOCK_ID: return "MODULE_BLOCK"; in GetBlockName()
110 case bitc::PARAMATTR_BLOCK_ID: return "PARAMATTR_BLOCK"; in GetBlockName()
111 case bitc::PARAMATTR_GROUP_BLOCK_ID: return "PARAMATTR_GROUP_BLOCK_ID"; in GetBlockName()
112 case bitc::TYPE_BLOCK_ID_NEW: return "TYPE_BLOCK_ID"; in GetBlockName()
113 case bitc::CONSTANTS_BLOCK_ID: return "CONSTANTS_BLOCK"; in GetBlockName()
114 case bitc::FUNCTION_BLOCK_ID: return "FUNCTION_BLOCK"; in GetBlockName()
115 case bitc::IDENTIFICATION_BLOCK_ID: in GetBlockName()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp777 case bitc::CAST_TRUNC : return Instruction::Trunc; in getDecodedCastOpcode()
778 case bitc::CAST_ZEXT : return Instruction::ZExt; in getDecodedCastOpcode()
779 case bitc::CAST_SEXT : return Instruction::SExt; in getDecodedCastOpcode()
780 case bitc::CAST_FPTOUI : return Instruction::FPToUI; in getDecodedCastOpcode()
781 case bitc::CAST_FPTOSI : return Instruction::FPToSI; in getDecodedCastOpcode()
782 case bitc::CAST_UITOFP : return Instruction::UIToFP; in getDecodedCastOpcode()
783 case bitc::CAST_SITOFP : return Instruction::SIToFP; in getDecodedCastOpcode()
784 case bitc::CAST_FPTRUNC : return Instruction::FPTrunc; in getDecodedCastOpcode()
785 case bitc::CAST_FPEXT : return Instruction::FPExt; in getDecodedCastOpcode()
786 case bitc::CAST_PTRTOINT: return Instruction::PtrToInt; in getDecodedCastOpcode()
[all …]
DBitstreamReader.cpp41 CurCodeSize = ReadVBR(bitc::CodeLenWidth); in EnterSubBlock()
47 unsigned NumWords = Read(bitc::BlockSizeWidth); in EnterSubBlock()
103 if (AbbrevID == bitc::UNABBREV_RECORD) { in skipRecord()
179 if (AbbrevID == bitc::UNABBREV_RECORD) { in readRecord()
326 if (EnterSubBlock(bitc::BLOCKINFO_BLOCK_ID)) return true; in ReadBlockInfoBlock()
347 if (Entry.ID == bitc::DEFINE_ABBREV) { in ReadBlockInfoBlock()
362 case bitc::BLOCKINFO_CODE_SETBID: in ReadBlockInfoBlock()
367 case bitc::BLOCKINFO_CODE_BLOCKNAME: { in ReadBlockInfoBlock()
377 case bitc::BLOCKINFO_CODE_SETRECORDNAME: { in ReadBlockInfoBlock()
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h364 return ReadVBR(bitc::BlockIDWidth); in ReadSubBlockID()
373 ReadVBR(bitc::CodeLenWidth); in SkipBlock()
375 unsigned NumWords = Read(bitc::BlockSizeWidth); in SkipBlock()
406 CurCodeSize = ReadVBR(bitc::CodeLenWidth);
408 unsigned NumWords = Read(bitc::BlockSizeWidth);
477 unsigned AbbrevNo = AbbrevID-bitc::FIRST_APPLICATION_ABBREV; in getAbbrev()
484 if (AbbrevID == bitc::UNABBREV_RECORD) {
582 if (EnterSubBlock(bitc::BLOCKINFO_BLOCK_ID)) return true; in ReadBlockInfoBlock()
590 if (Code == bitc::END_BLOCK) in ReadBlockInfoBlock()
592 if (Code == bitc::ENTER_SUBBLOCK) { in ReadBlockInfoBlock()
[all …]
DBitstreamWriter.h197 EmitCode(bitc::ENTER_SUBBLOCK); in EnterSubblock()
198 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock()
199 EmitVBR(CodeLen, bitc::CodeLenWidth); in EnterSubblock()
206 Emit(0, bitc::BlockSizeWidth); in EnterSubblock()
238 EmitCode(bitc::END_BLOCK); in ExitBlock()
302 unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV; in EmitRecordWithAbbrevImpl()
398 EmitCode(bitc::UNABBREV_RECORD);
457 EmitCode(bitc::DEFINE_ABBREV); in EncodeAbbrev()
481 bitc::FIRST_APPLICATION_ABBREV; in EmitAbbrev()
490 EnterSubblock(bitc::BLOCKINFO_BLOCK_ID, CodeWidth); in EnterBlockInfoBlock()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitstreamWriter.h203 EmitCode(bitc::ENTER_SUBBLOCK); in EnterSubblock()
204 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock()
205 EmitVBR(CodeLen, bitc::CodeLenWidth); in EnterSubblock()
212 Emit(0, bitc::BlockSizeWidth); in EnterSubblock()
235 EmitCode(bitc::END_BLOCK); in ExitBlock()
301 unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV; in EmitRecordWithAbbrevImpl()
416 EmitCode(bitc::UNABBREV_RECORD);
473 EmitCode(bitc::DEFINE_ABBREV); in EncodeAbbrev()
497 bitc::FIRST_APPLICATION_ABBREV; in EmitAbbrev()
506 EnterSubblock(bitc::BLOCKINFO_BLOCK_ID, 2); in EnterBlockInfoBlock()
[all …]
DBitstreamReader.h376 if (Code == bitc::END_BLOCK) {
383 if (Code == bitc::ENTER_SUBBLOCK)
386 if (Code == bitc::DEFINE_ABBREV &&
422 return ReadVBR(bitc::BlockIDWidth); in ReadSubBlockID()
430 ReadVBR(bitc::CodeLenWidth); in SkipBlock()
432 size_t NumFourBytes = Read(bitc::BlockSizeWidth); in SkipBlock()
474 unsigned AbbrevNo = AbbrevID - bitc::FIRST_APPLICATION_ABBREV; in getAbbrev()
DBitCodes.h35 namespace bitc {
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h207 EmitCode(bitc::ENTER_SUBBLOCK); in EnterSubblock()
208 EmitVBR(BlockID, bitc::BlockIDWidth); in EnterSubblock()
209 EmitVBR(CodeLen, bitc::CodeLenWidth); in EnterSubblock()
216 Emit(0, bitc::BlockSizeWidth); in EnterSubblock()
239 EmitCode(bitc::END_BLOCK); in ExitBlock()
305 unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV; in EmitRecordWithAbbrevImpl()
420 EmitCode(bitc::UNABBREV_RECORD);
477 EmitCode(bitc::DEFINE_ABBREV); in EncodeAbbrev()
501 bitc::FIRST_APPLICATION_ABBREV; in EmitAbbrev()
510 EnterSubblock(bitc::BLOCKINFO_BLOCK_ID, CodeWidth); in EnterBlockInfoBlock()
[all …]
DBitstreamReader.h476 if (Code == bitc::END_BLOCK) {
483 if (Code == bitc::ENTER_SUBBLOCK)
486 if (Code == bitc::DEFINE_ABBREV &&
523 return ReadVBR(bitc::BlockIDWidth); in ReadSubBlockID()
531 ReadVBR(bitc::CodeLenWidth); in SkipBlock()
533 unsigned NumFourBytes = Read(bitc::BlockSizeWidth); in SkipBlock()
576 unsigned AbbrevNo = AbbrevID - bitc::FIRST_APPLICATION_ABBREV; in getAbbrev()
DBitCodes.h28 namespace bitc {
/external/clang/lib/Frontend/
DSerializedDiagnosticReader.cpp43 if (Stream.ReadCode() != llvm::bitc::ENTER_SUBBLOCK) in readDiagnostics()
48 case llvm::bitc::BLOCKINFO_BLOCK_ID: in readDiagnostics()
83 switch ((llvm::bitc::FixedAbbrevIDs)Code) { in skipUntilRecordOrBlock()
84 case llvm::bitc::ENTER_SUBBLOCK: in skipUntilRecordOrBlock()
88 case llvm::bitc::END_BLOCK: in skipUntilRecordOrBlock()
93 case llvm::bitc::DEFINE_ABBREV: in skipUntilRecordOrBlock()
97 case llvm::bitc::UNABBREV_RECORD: in skipUntilRecordOrBlock()
/external/u-boot/drivers/fpga/
Dzynqmppl.c52 u8 *bitc = (u8 *)buf; in load_word() local
58 word |= bitc[p]; in load_word()
63 word |= bitc[p]; in load_word()
Dzynqpl.c70 u8 *bitc = (u8 *)buf; in load_word() local
76 word |= bitc[p]; in load_word()
81 word |= bitc[p]; in load_word()
/external/clang/include/clang/Frontend/
DSerializedDiagnostics.h21 BLOCK_META = llvm::bitc::FIRST_APPLICATION_BLOCKID,
/external/clang/lib/Serialization/
DGlobalModuleIndex.cpp42 GLOBAL_INDEX_BLOCK_ID = llvm::bitc::FIRST_APPLICATION_BLOCKID
440 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); in emitBlockID()
447 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); in emitBlockID()
457 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); in emitRecordID()
463 Stream.EnterSubblock(llvm::bitc::BLOCKINFO_BLOCK_ID, 3); in emitBlockInfoBlock()

12