Searched refs:prev_op (Results 1 – 4 of 4) sorted by relevance
109 enum op prev_op = ERR; in main() local133 if (ret != -1 && prev_op == ERR) { in main()155 prev_op = op; in main()188 switch (prev_op) { in main()194 prev_op = ERR; in main()198 prev_op = ERR; in main()205 if (prev_op != ERR) { in main()
106 Operation* prev_op = op.getOperation()->getPrevNode(); in matchAndRewrite() local107 if (!prev_op) return failure(); in matchAndRewrite()116 if (llvm::isa<TF::ExpandDimsOp>(prev_op)) { in matchAndRewrite()121 expand_op = llvm::cast<TF::ExpandDimsOp>(prev_op); in matchAndRewrite()154 prev_op = prev_op->getPrevNode(); in matchAndRewrite()155 if (!prev_op) return failure(); in matchAndRewrite()161 if (!llvm::isa<TF::SpaceToBatchNDOp>(prev_op)) return failure(); in matchAndRewrite()163 TF::SpaceToBatchNDOp stb_op = llvm::cast<TF::SpaceToBatchNDOp>(prev_op); in matchAndRewrite()
2060 if (auto prev_op = in fold() local2062 setOperand(prev_op.getOperand()); in fold()
485 - pan/bi: Add bi_next/prev_op helpers