HomeSort by relevance Sort by last modified time
    Searched refs:slangAssert (Results 1 - 25 of 29) sorted by null

1 2

  /frameworks/compile/slang/
slang_assert.h 24 #define slangAssert(v) do {} while (0)
27 #define slangAssert(v) \
30 fprintf(stderr, "slangAssert failed at %s:%d - '%s'\n", \
slang_bitcode_gen.cpp 78 slangAssert(false && "Invalid target API value");
96 slangAssert(ActualWrapperLen > 0);
slang_rs_export_element.cpp 82 slangAssert(EI != nullptr && "Element info not found");
91 slangAssert(EI->vsize == 1 && "Element not a primitive class (please "
99 slangAssert(EI->type == EPT->getType() && "Element has unexpected type");
104 slangAssert(EI->vsize > 1 && "Element not a vector class (please check "
114 slangAssert(EI->type == EVT->getType() && "Element has unexpected type");
115 slangAssert(EI->vsize == EVT->getNumElement() && "Element has unexpected "
slang_rs_export_foreach.cpp 56 slangAssert(Context && FD);
88 slangAssert(Context && FD);
90 slangAssert(numParams > 0);
166 slangAssert(Context && FD);
274 slangAssert(mOut == nullptr);
275 slangAssert(mUsrData == nullptr);
277 slangAssert(!mHasReturnType);
311 slangAssert(Context && FD);
315 slangAssert(!Name.empty() && "Function must have a name");
331 slangAssert(QT->isPointerType() &
    [all...]
slang_rs_ast_replace.h 45 slangAssert(mNewExpr &&
52 slangAssert(mOldStmt);
slang_rs_export_func.h 77 slangAssert((mParamPacketType != nullptr) &&
82 slangAssert((mParamPacketType != nullptr) &&
slang_rs_special_func.cpp 57 slangAssert(Context && FD);
100 slangAssert(false && "must be called on root, init or .rs.dtor function!");
slang_rs_export_func.cpp 37 slangAssert(Context && FD);
55 slangAssert(!Name.empty() && "Function must have a name");
105 slangAssert(!T.isNull());
117 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) &&
133 slangAssert(mParamPacketType != nullptr);
slang_rs_special_kernel_param.cpp 102 slangAssert(IndexOfFirstSpecialParameter != nullptr);
103 slangAssert(SignatureMetadata != nullptr);
104 slangAssert(*SignatureMetadata == 0);
218 slangAssert(!"Unexpected special parameter type");
222 slangAssert(!(*SignatureMetadata & SP.bitval));
slang_diagnostic_buffer.cpp 66 slangAssert(0 && "Diagnostic not handled during diagnostic buffering!");
slang_rs_export_var.h 63 slangAssert(i < mNumInits);
slang_rs_object_ref_count.h 168 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT));
172 slangAssert(false && "incorrect type");
182 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT));
186 slangAssert(false && "incorrect type");
slang_rs_reflection_cpp.cpp 57 slangAssert(false && "GetMatrixTypeName : Unsupported matrix dimension");
63 slangAssert(false && "Non-array type post identifier?");
113 default: { slangAssert(false && "Unknown class of type"); }
327 slangAssert(ef->getIns().size() == 1);
353 slangAssert(ef->getIns().size() == 1);
373 slangAssert(ef->getIns().size() == 1);
544 default: { slangAssert(false && "Unknown class of type"); }
586 slangAssert((ET->getClass() == RSExportType::ExportClassPointer) &&
619 slangAssert(EVT != nullptr);
672 slangAssert(false)
    [all...]
slang_rs_reflection.cpp 119 slangAssert(false && "GetMatrixTypeName : Unsupported matrix dimension");
130 slangAssert((Index < (sizeof(VectorAccessorMap) / sizeof(const char *))) &&
174 slangAssert(false && "GetPackerAPIName : Unknown primitive data type");
195 slangAssert(!(Style & TypeNameC) &&
214 slangAssert(!(Style & TypeNameC) &&
223 slangAssert(!(Style & TypeNameC) &&
230 slangAssert(!(Style & TypeNameC) &&
237 default: { slangAssert(false && "Unknown class of type"); }
286 default: { slangAssert(false && "Unknown class of type"); }
304 slangAssert(false && "Vectors should be size 2, 3, 4")
    [all...]
slang_rs_context.cpp 80 slangAssert(!VD->getName().empty() && "Variable name should not be empty");
109 slangAssert(!FD->getName().empty() && "Function name should not be empty");
115 slangAssert(FD->getStorageClass() == clang::SC_None);
139 slangAssert((mTargetAPI < SLANG_FEATURE_SINGLE_SOURCE_API ||
176 slangAssert(TUDecl != nullptr && "Translation unit declaration (top-level "
285 slangAssert(numExportedForEach == 1);
slang_rs_export_foreach.h 152 slangAssert((mParamPacketType != nullptr) &&
158 slangAssert((mParamPacketType != nullptr) &&
slang_rs_object_ref_count.cpp 61 slangAssert((FD->getNumParams() == 2) &&
65 slangAssert((FD->getNumParams() == 1) &&
75 slangAssert(PVT->isPointerType() &&
81 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)
87 slangAssert(false && "incorrect type");
117 slangAssert(CompoundStmtCount == NewStmtCount);
131 slangAssert(CS);
160 slangAssert(Once <= 1);
164 slangAssert(Once == 0);
268 slangAssert(RefRSVar)
    [all...]
slang_rs_export_type.cpp 204 slangAssert(false && "Variables should be validated before exporting");
289 slangAssert(false && "Unknown type cannot be exported");
416 slangAssert(false && "Unknown type cannot be validated");
530 slangAssert(false && "Unknown type cannot be exported");
758 slangAssert(false && "Unknown data type of the builtin");
781 slangAssert(*RI != nullptr && "cannot be NULL object");
    [all...]
slang_rs_export_var.cpp 93 slangAssert(false && "Unknown class of type");
slang_rs_reflect_utils.cpp 221 slangAssert(false && "Couldn't generate 32-bit embedded bitcode!");
225 slangAssert(false && "Couldn't generate 64-bit embedded bitcode!");
245 slangAssert(false &&
395 slangAssert(!mIndent.empty() && "No indent");
slang_rs_export_reduce.cpp 60 slangAssert(Context);
76 slangAssert(!"Unknown FnIdent");
167 slangAssert(TUDecl);
222 slangAssert(Fn);
237 slangAssert(ParamQType->isPointerType());
295 slangAssert(S.FnAccumulator);
386 slangAssert(S.FnAccumulatorIndexOfFirstSpecialParameter < S.FnAccumulator->getNumParams());
458 slangAssert(!S.Ok);
582 slangAssert(!S.Ok);
645 slangAssert(!S.Ok)
    [all...]
rs_cc_options.cpp 165 default: { slangAssert(false && "Invalid option in M group!"); }
187 default: { slangAssert(false && "Invalid option in output type group!"); }
269 slangAssert(OptParser->getOptionKind(Opt) == llvm::opt::Option::FlagClass);
slang_rs_reflection.h 160 slangAssert((mFieldIndexMap.find(F) == mFieldIndexMap.end()) &&
167 slangAssert((I != mFieldIndexMap.end()) &&
slang.cpp 132 slangAssert((OutputFile != nullptr) &&
289 slangAssert(0 && "Not implemented");
557 slangAssert(false && "Type shouldn't be in map yet!");
626 slangAssert(false && "Should have equal number of 32/64-bit files");
slang_rs_ast_replace.cpp 147 slangAssert(false && "Both case and default have specialized handlers");

Completed in 120 milliseconds

1 2