• Home
  • Raw
  • Download

Lines Matching refs:bitc

85   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()
111 case bitc::METADATA_BLOCK_ID: return "METADATA_BLOCK"; in GetBlockName()
112 case bitc::METADATA_ATTACHMENT_ID: return "METADATA_ATTACHMENT_BLOCK"; in GetBlockName()
121 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetCodeName()
122 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName()
125 case bitc::BLOCKINFO_CODE_SETBID: return "SETBID"; in GetCodeName()
126 case bitc::BLOCKINFO_CODE_BLOCKNAME: return "BLOCKNAME"; in GetCodeName()
127 case bitc::BLOCKINFO_CODE_SETRECORDNAME: return "SETRECORDNAME"; in GetCodeName()
146 case bitc::MODULE_BLOCK_ID: in GetCodeName()
149 case bitc::MODULE_CODE_VERSION: return "VERSION"; in GetCodeName()
150 case bitc::MODULE_CODE_TRIPLE: return "TRIPLE"; in GetCodeName()
151 case bitc::MODULE_CODE_DATALAYOUT: return "DATALAYOUT"; in GetCodeName()
152 case bitc::MODULE_CODE_ASM: return "ASM"; in GetCodeName()
153 case bitc::MODULE_CODE_SECTIONNAME: return "SECTIONNAME"; in GetCodeName()
154 case bitc::MODULE_CODE_DEPLIB: return "DEPLIB"; in GetCodeName()
155 case bitc::MODULE_CODE_GLOBALVAR: return "GLOBALVAR"; in GetCodeName()
156 case bitc::MODULE_CODE_FUNCTION: return "FUNCTION"; in GetCodeName()
157 case bitc::MODULE_CODE_ALIAS: return "ALIAS"; in GetCodeName()
158 case bitc::MODULE_CODE_PURGEVALS: return "PURGEVALS"; in GetCodeName()
159 case bitc::MODULE_CODE_GCNAME: return "GCNAME"; in GetCodeName()
161 case bitc::PARAMATTR_BLOCK_ID: in GetCodeName()
164 case bitc::PARAMATTR_CODE_ENTRY: return "ENTRY"; in GetCodeName()
166 case bitc::TYPE_BLOCK_ID_OLD: in GetCodeName()
167 case bitc::TYPE_BLOCK_ID_NEW: in GetCodeName()
170 case bitc::TYPE_CODE_NUMENTRY: return "NUMENTRY"; in GetCodeName()
171 case bitc::TYPE_CODE_VOID: return "VOID"; in GetCodeName()
172 case bitc::TYPE_CODE_FLOAT: return "FLOAT"; in GetCodeName()
173 case bitc::TYPE_CODE_DOUBLE: return "DOUBLE"; in GetCodeName()
174 case bitc::TYPE_CODE_LABEL: return "LABEL"; in GetCodeName()
175 case bitc::TYPE_CODE_OPAQUE: return "OPAQUE"; in GetCodeName()
176 case bitc::TYPE_CODE_INTEGER: return "INTEGER"; in GetCodeName()
177 case bitc::TYPE_CODE_POINTER: return "POINTER"; in GetCodeName()
178 case bitc::TYPE_CODE_FUNCTION: return "FUNCTION"; in GetCodeName()
179 case bitc::TYPE_CODE_STRUCT_OLD: return "STRUCT_OLD"; in GetCodeName()
180 case bitc::TYPE_CODE_ARRAY: return "ARRAY"; in GetCodeName()
181 case bitc::TYPE_CODE_VECTOR: return "VECTOR"; in GetCodeName()
182 case bitc::TYPE_CODE_X86_FP80: return "X86_FP80"; in GetCodeName()
183 case bitc::TYPE_CODE_FP128: return "FP128"; in GetCodeName()
184 case bitc::TYPE_CODE_PPC_FP128: return "PPC_FP128"; in GetCodeName()
185 case bitc::TYPE_CODE_METADATA: return "METADATA"; in GetCodeName()
186 case bitc::TYPE_CODE_STRUCT_ANON: return "STRUCT_ANON"; in GetCodeName()
187 case bitc::TYPE_CODE_STRUCT_NAME: return "STRUCT_NAME"; in GetCodeName()
188 case bitc::TYPE_CODE_STRUCT_NAMED: return "STRUCT_NAMED"; in GetCodeName()
191 case bitc::CONSTANTS_BLOCK_ID: in GetCodeName()
194 case bitc::CST_CODE_SETTYPE: return "SETTYPE"; in GetCodeName()
195 case bitc::CST_CODE_NULL: return "NULL"; in GetCodeName()
196 case bitc::CST_CODE_UNDEF: return "UNDEF"; in GetCodeName()
197 case bitc::CST_CODE_INTEGER: return "INTEGER"; in GetCodeName()
198 case bitc::CST_CODE_WIDE_INTEGER: return "WIDE_INTEGER"; in GetCodeName()
199 case bitc::CST_CODE_FLOAT: return "FLOAT"; in GetCodeName()
200 case bitc::CST_CODE_AGGREGATE: return "AGGREGATE"; in GetCodeName()
201 case bitc::CST_CODE_STRING: return "STRING"; in GetCodeName()
202 case bitc::CST_CODE_CSTRING: return "CSTRING"; in GetCodeName()
203 case bitc::CST_CODE_CE_BINOP: return "CE_BINOP"; in GetCodeName()
204 case bitc::CST_CODE_CE_CAST: return "CE_CAST"; in GetCodeName()
205 case bitc::CST_CODE_CE_GEP: return "CE_GEP"; in GetCodeName()
206 case bitc::CST_CODE_CE_INBOUNDS_GEP: return "CE_INBOUNDS_GEP"; in GetCodeName()
207 case bitc::CST_CODE_CE_SELECT: return "CE_SELECT"; in GetCodeName()
208 case bitc::CST_CODE_CE_EXTRACTELT: return "CE_EXTRACTELT"; in GetCodeName()
209 case bitc::CST_CODE_CE_INSERTELT: return "CE_INSERTELT"; in GetCodeName()
210 case bitc::CST_CODE_CE_SHUFFLEVEC: return "CE_SHUFFLEVEC"; in GetCodeName()
211 case bitc::CST_CODE_CE_CMP: return "CE_CMP"; in GetCodeName()
212 case bitc::CST_CODE_INLINEASM: return "INLINEASM"; in GetCodeName()
213 case bitc::CST_CODE_CE_SHUFVEC_EX: return "CE_SHUFVEC_EX"; in GetCodeName()
215 case bitc::FUNCTION_BLOCK_ID: in GetCodeName()
218 case bitc::FUNC_CODE_DECLAREBLOCKS: return "DECLAREBLOCKS"; in GetCodeName()
220 case bitc::FUNC_CODE_INST_BINOP: return "INST_BINOP"; in GetCodeName()
221 case bitc::FUNC_CODE_INST_CAST: return "INST_CAST"; in GetCodeName()
222 case bitc::FUNC_CODE_INST_GEP: return "INST_GEP"; in GetCodeName()
223 case bitc::FUNC_CODE_INST_INBOUNDS_GEP: return "INST_INBOUNDS_GEP"; in GetCodeName()
224 case bitc::FUNC_CODE_INST_SELECT: return "INST_SELECT"; in GetCodeName()
225 case bitc::FUNC_CODE_INST_EXTRACTELT: return "INST_EXTRACTELT"; in GetCodeName()
226 case bitc::FUNC_CODE_INST_INSERTELT: return "INST_INSERTELT"; in GetCodeName()
227 case bitc::FUNC_CODE_INST_SHUFFLEVEC: return "INST_SHUFFLEVEC"; in GetCodeName()
228 case bitc::FUNC_CODE_INST_CMP: return "INST_CMP"; in GetCodeName()
230 case bitc::FUNC_CODE_INST_RET: return "INST_RET"; in GetCodeName()
231 case bitc::FUNC_CODE_INST_BR: return "INST_BR"; in GetCodeName()
232 case bitc::FUNC_CODE_INST_SWITCH: return "INST_SWITCH"; in GetCodeName()
233 case bitc::FUNC_CODE_INST_INVOKE: return "INST_INVOKE"; in GetCodeName()
234 case bitc::FUNC_CODE_INST_UNWIND: return "INST_UNWIND"; in GetCodeName()
235 case bitc::FUNC_CODE_INST_UNREACHABLE: return "INST_UNREACHABLE"; in GetCodeName()
237 case bitc::FUNC_CODE_INST_PHI: return "INST_PHI"; in GetCodeName()
238 case bitc::FUNC_CODE_INST_ALLOCA: return "INST_ALLOCA"; in GetCodeName()
239 case bitc::FUNC_CODE_INST_LOAD: return "INST_LOAD"; in GetCodeName()
240 case bitc::FUNC_CODE_INST_VAARG: return "INST_VAARG"; in GetCodeName()
241 case bitc::FUNC_CODE_INST_STORE: return "INST_STORE"; in GetCodeName()
242 case bitc::FUNC_CODE_INST_EXTRACTVAL: return "INST_EXTRACTVAL"; in GetCodeName()
243 case bitc::FUNC_CODE_INST_INSERTVAL: return "INST_INSERTVAL"; in GetCodeName()
244 case bitc::FUNC_CODE_INST_CMP2: return "INST_CMP2"; in GetCodeName()
245 case bitc::FUNC_CODE_INST_VSELECT: return "INST_VSELECT"; in GetCodeName()
246 case bitc::FUNC_CODE_DEBUG_LOC_AGAIN: return "DEBUG_LOC_AGAIN"; in GetCodeName()
247 case bitc::FUNC_CODE_INST_CALL: return "INST_CALL"; in GetCodeName()
248 case bitc::FUNC_CODE_DEBUG_LOC: return "DEBUG_LOC"; in GetCodeName()
250 case bitc::TYPE_SYMTAB_BLOCK_ID_OLD: in GetCodeName()
253 case bitc::TST_CODE_ENTRY: return "ENTRY"; in GetCodeName()
255 case bitc::VALUE_SYMTAB_BLOCK_ID: in GetCodeName()
258 case bitc::VST_CODE_ENTRY: return "ENTRY"; in GetCodeName()
259 case bitc::VST_CODE_BBENTRY: return "BBENTRY"; in GetCodeName()
261 case bitc::METADATA_ATTACHMENT_ID: in GetCodeName()
264 case bitc::METADATA_ATTACHMENT: return "METADATA_ATTACHMENT"; in GetCodeName()
266 case bitc::METADATA_BLOCK_ID: in GetCodeName()
269 case bitc::METADATA_STRING: return "METADATA_STRING"; in GetCodeName()
270 case bitc::METADATA_NAME: return "METADATA_NAME"; in GetCodeName()
271 case bitc::METADATA_KIND: return "METADATA_KIND"; in GetCodeName()
272 case bitc::METADATA_NODE: return "METADATA_NODE"; in GetCodeName()
273 case bitc::METADATA_FN_NODE: return "METADATA_FN_NODE"; in GetCodeName()
274 case bitc::METADATA_NAMED_NODE: return "METADATA_NAMED_NODE"; in GetCodeName()
335 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in ParseBlock()
375 case bitc::END_BLOCK: { in ParseBlock()
389 case bitc::ENTER_SUBBLOCK: { in ParseBlock()
400 case bitc::DEFINE_ABBREV: in ParseBlock()
408 if (AbbrevID != bitc::UNABBREV_RECORD) in ParseBlock()
423 if (AbbrevID != bitc::UNABBREV_RECORD) in ParseBlock()
436 if (AbbrevID != bitc::UNABBREV_RECORD) in ParseBlock()
522 if (Code != bitc::ENTER_SUBBLOCK) in AnalyzeBitcode()