Home
last modified time | relevance | path

Searched refs:Res (Results 1 – 4 of 4) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_metadata_spec_encoder.cpp139 std::pair<StringsMapTy::iterator, bool> Res = in joinString() local
142 if (!Res.second) in joinString()
146 mEncodedStrings.push_back(Res.first->first.c_str()); in joinString()
150 return (Res.first->second + 1); in joinString()
166 std::pair<TypesMapTy::iterator, bool> Res = in encodeTypeBaseAsKey() local
169 if (!Res.second) in encodeTypeBaseAsKey()
186 unsigned Res = encodeTypeBaseAsKey(RS_GET_TYPE_BASE(T)); in encodePointerType() local
189 return Res; in encodePointerType()
208 unsigned Res = encodeTypeBase(RS_GET_TYPE_BASE(T)); in encodeConstantArrayType() local
211 return Res; in encodeConstantArrayType()
[all …]
Dslang_rs_object_ref_count.cpp1356 clang::Expr *Res = NULL; in CreateZeroInitializerForRSSpecificType() local
1386 Res = new(C) clang::InitListExpr(C, Loc, InitList, Loc); in CreateZeroInitializerForRSSpecificType()
1431 Res = new(C) clang::InitListExpr(C, Loc, InitExprVec, Loc); in CreateZeroInitializerForRSSpecificType()
1456 return Res; in CreateZeroInitializerForRSSpecificType()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp676 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]); in ParseTypeTableBody() local
677 if (Res) { in ParseTypeTableBody()
678 Res->setName(TypeName); in ParseTypeTableBody()
681 Res = StructType::create(Context, TypeName); in ParseTypeTableBody()
693 Res->setBody(EltTys, Record[0]); in ParseTypeTableBody()
694 ResultTy = Res; in ParseTypeTableBody()
705 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]); in ParseTypeTableBody() local
706 if (Res) { in ParseTypeTableBody()
707 Res->setName(TypeName); in ParseTypeTableBody()
710 Res = StructType::create(Context, TypeName); in ParseTypeTableBody()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp976 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]); in ParseTypeTableBody() local
977 if (Res) { in ParseTypeTableBody()
978 Res->setName(TypeName); in ParseTypeTableBody()
981 Res = StructType::create(Context, TypeName); in ParseTypeTableBody()
993 Res->setBody(EltTys, Record[0]); in ParseTypeTableBody()
994 ResultTy = Res; in ParseTypeTableBody()
1005 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]); in ParseTypeTableBody() local
1006 if (Res) { in ParseTypeTableBody()
1007 Res->setName(TypeName); in ParseTypeTableBody()
1010 Res = StructType::create(Context, TypeName); in ParseTypeTableBody()
[all …]