Home | History | Annotate | Download | only in Reader

Lines Matching refs:BitCode

10 #include "llvm/Bitcode/ReaderWriter.h"
15 #include "llvm/Bitcode/LLVMBitCodes.h"
430 // Functions for parsing blocks from the bitcode file
1179 unsigned BitCode = Stream.readRecord(Entry.ID, Record);
1180 switch (BitCode) {
1274 BitCode == bitc::CST_CODE_CSTRING);
1383 BitCode ==
1694 // For streaming bitcode, suspend parsing when we reach the function
1697 // the bitcode. If the bitcode file is old, the symbol table will be
1894 // Old bitcode files didn't have visibility field.
1925 return Error("Invalid bitcode signature");
2026 return Error("Invalid bitcode signature");
2129 return Error("Bitcode error in function block");
2163 unsigned BitCode = Stream.readRecord(Entry.ID, Record);
2164 switch (BitCode) {
2294 if (BitCode == bitc::FUNC_CODE_INST_INBOUNDS_GEP)
2346 // handles select i1 ... in old bitcode
2985 /// FindFunctionInStream - Find the function body in the bitcode stream
3116 return Error("Invalid bitcode signature");
3118 return Error("Bitcode stream should be a multiple of 4 bytes in length");
3125 return Error("Invalid bitcode wrapper header");
3134 // Check and strip off the bitcode wrapper; BitstreamReader expects never to
3142 return Error("Bitcode stream must be at least 16 bytes in length");
3145 return Error("Invalid bitcode signature");
3202 /// ParseBitcodeFile - Read the specified bitcode file, returning the module.
3219 // TODO: Restore the use-lists to the in-memory state when the bitcode was