Searched refs:opCount (Results 1 – 6 of 6) sorted by relevance
38 llvm::StringMap<int64_t> opCount; member44 opCount.clear(); in runOnOperation()48 [&](Operation *op) { ++opCount[op->getName().getStringRef()]; }); in runOnOperation()58 SmallVector<StringRef, 64> sorted(opCount.keys()); in printSummary()89 os << llvm::left_justify(opName, maxLenOpName) << " , " << opCount[key] in printSummary()95 SmallVector<StringRef, 64> sorted(opCount.keys()); in printSummaryInJSON()102 os << " \"" << key << "\" : " << opCount[key]; in printSummaryInJSON()
25 int opCount = module.getBody()->getOperations().size(); in runOnOperation() local26 if (opCount != 2) { in runOnOperation()28 << opCount; in runOnOperation()
181 Statistic opCount{this, "num-ops", "Number of operations counted"}; member184 getOperation()->walk([&](Operation *) { ++opCount; }); in runOnOperation()
539 int64_t opCount = stats.opCountMap[forOp] - 1; in getComputeCostHelper() local542 opCount += getComputeCostHelper(childForOp.getOperation(), stats, in getComputeCostHelper()550 opCount += it->second; in getComputeCostHelper()562 return tripCount * opCount; in getComputeCostHelper()
2745 const auto opCount = destOperands.size(); in build() local2749 if (i < opCount) { in build()3010 const auto opCount = destOperands.size(); in build() local3014 if (i < opCount) { in build()
527 const auto opCount = destOperands.size();531 if (i < opCount) {