Lines Matching refs:CHECK

109     CHECK(token != nullptr);  in compile()
110 CHECK(preparedModel != nullptr); in compile()
334 CHECK(!mDeclared); in declare()
340 CHECK(isNew); in declare()
354 CHECK(mDeclared); in redeclare()
377 CHECK(mDeclared); in allocate()
389 CHECK(temp.paddedLength % temp.padding == 0); in allocate()
425 CHECK(mDeclared); in lookup()
431 CHECK(isAllocated) << "Source operand " << toString(sourceOperandIndex) in lookup()
460 CHECK(kind == INPUT); in addOperand()
625 CHECK(false) << "Cannot map step input " << stepInputIndex << " from operand " in mapInputsAndOutputs()
643 CHECK(false) << "Cannot map step output " << stepOutputIndex << " from operand " in mapInputsAndOutputs()
659 CHECK(it != mOutputToDefiningExecutionStep.end()); in findModelOutputsThatAreDownstreamInputs()
666 CHECK(mSourceOperandToOutputIndex.find(sourceOperandIndex) != in findModelOutputsThatAreDownstreamInputs()
710 CHECK(logicalStep->isGoto()); in findTempsAsStepModelOutputs()
720 CHECK(it != mOutputIndexStepModelToMainModel.end()); in declareModelOutputIsDownstreamInput()
722 CHECK(stepModelOutputIndex < mModelOutputs.size()); in declareModelOutputIsDownstreamInput()
728 CHECK(it != mOperandMap.end()); in recordTempAsStepModelOutput()
786 CHECK(mDevice != nullptr); in finishStepModel()
919 CHECK(!mSuccessfulFinish); in finish()
920 CHECK(!deadline.has_value()); in finish()
921 CHECK(metadata.empty()); in finish()
967 CHECK(!containsUnknownSize(step->outerInputOperands)); in finish()
968 CHECK(!containsUnknownSize(step->outerOutputOperands)); in finish()
970 CHECK(!containsUnknownSize(step->thenBranchInputOperands)); in finish()
971 CHECK(!containsUnknownSize(step->thenBranchOutputOperands)); in finish()
972 CHECK(!containsUnknownSize(step->elseBranchInputOperands)); in finish()
973 CHECK(!containsUnknownSize(step->elseBranchOutputOperands)); in finish()
976 CHECK(!containsUnknownSize(step->outerInputOperands)); in finish()
977 CHECK(!containsUnknownSize(step->outerOutputOperands)); in finish()
978 CHECK(!containsUnknownSize(step->condInputOperands)); in finish()
980 CHECK(!containsUnknownSize(step->bodyInputOperands)); in finish()
981 CHECK(!containsUnknownSize(step->bodyOutputOperands)); in finish()
983 CHECK(logicalStep->isGoto()); in finish()
1132 CHECK(false) << "Unexpected LogicalStep kind"; in findMemoryStepRoles()
1142 CHECK(!mSuccessfulFinish); in finish()
1143 CHECK(mDevice != nullptr); in finish()
1164 CHECK(mBody != nullptr); in finish()
1261 CHECK(isValid()); in makeController()
1262 CHECK(mState != SIMPLE); in makeController()
1301 CHECK(lifetime == Operand::LifeTime::TEMPORARY_VARIABLE || in makeController()
1317 CHECK(isNew); in makeController()
1403 CHECK(logicalStep->isGoto()); in makeController()
1422 CHECK(typeManager->isTensorType(sourceOperand.type)); in makeController()
1562 CHECK(mState == COMPOUND); in next()
1604 CHECK(false) << "Unknown step variant"; in nextCompound()
1667 CHECK(false) << "Cannot set step model input operand " << toString(innerOperand) in setInput()
1691 CHECK(false) << "Cannot set step model output operand " << toString(innerOperand) in setOutput()
1790 CHECK(state.stage == WhileState::EVALUATE_BODY); in nextCompound()
1898 CHECK(mState != SIMPLE); in becomeCompoundIfEmpty()
1940 CHECK(mState == EMPTY); in becomeSingleStep()
1948 CHECK(isNew) << "Step " << stepIndex << " redefines output operand " in recordOutputDef()
1955 CHECK(isNew) << "Step " << stepIndex << " redefines temporary operand " in recordTemporaryDef()
1984 CHECK(mBody); in forTest_getKind()
1987 CHECK(mBody); in forTest_getKind()
2091 CHECK(mState == SIMPLE || mState == COMPOUND); in getMemoryPreference()
2389 CHECK(false) << operation.type << " is not a control flow operation"; in partitionTheWorkInternal()