Home
last modified time | relevance | path

Searched refs:AbbrevToUse (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DBitcodeWriter.cpp142 unsigned AbbrevToUse, BitstreamWriter &Stream) { in WriteStringRecord() argument
147 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in WriteStringRecord()
148 AbbrevToUse = 0; in WriteStringRecord()
153 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
256 int AbbrevToUse = 0; in WriteTypeTable() local
282 if (AddressSpace == 0) AbbrevToUse = PtrAbbrev; in WriteTypeTable()
294 AbbrevToUse = FunctionAbbrev; in WriteTypeTable()
308 AbbrevToUse = StructAnonAbbrev; in WriteTypeTable()
314 AbbrevToUse = StructNamedAbbrev; in WriteTypeTable()
330 AbbrevToUse = ArrayAbbrev; in WriteTypeTable()
[all …]
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp151 void writeStringRecord(unsigned Code, StringRef Str, unsigned AbbrevToUse);
554 unsigned AbbrevToUse) { in writeStringRecord() argument
559 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in writeStringRecord()
560 AbbrevToUse = 0; in writeStringRecord()
565 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeStringRecord()
815 int AbbrevToUse = 0; in writeTypeTable() local
842 if (AddressSpace == 0) AbbrevToUse = PtrAbbrev; in writeTypeTable()
853 AbbrevToUse = FunctionAbbrev; in writeTypeTable()
867 AbbrevToUse = StructAnonAbbrev; in writeTypeTable()
873 AbbrevToUse = StructNamedAbbrev; in writeTypeTable()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp571 StringRef Str, unsigned AbbrevToUse) { in writeStringRecord() argument
576 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in writeStringRecord()
577 AbbrevToUse = 0; in writeStringRecord()
582 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeStringRecord()
839 int AbbrevToUse = 0; in writeTypeTable() local
866 if (AddressSpace == 0) AbbrevToUse = PtrAbbrev; in writeTypeTable()
877 AbbrevToUse = FunctionAbbrev; in writeTypeTable()
891 AbbrevToUse = StructAnonAbbrev; in writeTypeTable()
897 AbbrevToUse = StructNamedAbbrev; in writeTypeTable()
913 AbbrevToUse = ArrayAbbrev; in writeTypeTable()
[all …]
/external/clang/lib/Serialization/
DASTWriterDecl.cpp40 unsigned AbbrevToUse; member in clang::ASTDeclWriter
46 Code((serialization::DeclCode)0), AbbrevToUse(0) {} in ASTDeclWriter()
52 return Record.Emit(Code, AbbrevToUse); in Emit()
381 AbbrevToUse = Writer.getDeclTypedefAbbrev(); in VisitTypedefDecl()
452 AbbrevToUse = Writer.getDeclEnumAbbrev(); in VisitEnumDecl()
479 AbbrevToUse = Writer.getDeclRecordAbbrev(); in VisitRecordDecl()
731 AbbrevToUse = Writer.getDeclObjCIvarAbbrev(); in VisitObjCIvarDecl()
867 AbbrevToUse = Writer.getDeclFieldAbbrev(); in VisitFieldDecl()
952 AbbrevToUse = Writer.getDeclVarAbbrev(); in VisitVarDecl()
997 AbbrevToUse = Writer.getDeclParmVarAbbrev(); in VisitParmVarDecl()
[all …]
DASTWriterStmt.cpp36 unsigned AbbrevToUse; member in clang::ASTStmtWriter
41 Code(serialization::STMT_NULL_PTR), AbbrevToUse(0) {} in ASTStmtWriter()
48 return Record.EmitStmt(Code, AbbrevToUse); in Emit()
392 AbbrevToUse = Writer.getDeclRefExprAbbrev(); in VisitDeclRefExpr()
417 AbbrevToUse = Writer.getIntegerLiteralAbbrev(); in VisitIntegerLiteral()
460 AbbrevToUse = Writer.getCharacterLiteralAbbrev(); in VisitCharacterLiteral()
686 AbbrevToUse = Writer.getExprImplicitCastAbbrev(); in VisitImplicitCastExpr()
DASTWriter.cpp93 unsigned AbbrevToUse; member in clang::ASTTypeWriter
97 : Writer(Writer), Record(Writer, Record), Code((TypeCode)0), AbbrevToUse(0) { } in ASTTypeWriter()
100 return Record.Emit(Code, AbbrevToUse); in Emit()
109 AbbrevToUse = Writer.TypeExtQualAbbrev; in Visit()
227 AbbrevToUse = 0; in VisitFunctionType()
273 AbbrevToUse = 0; in VisitFunctionProtoType()