Home
last modified time | relevance | path

Searched refs:opCount (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Transforms/
H A DOpStats.cpp38 llvm::StringMap<int64_t> opCount; member
44 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()
/llvm-project-15.0.7/mlir/test/lib/IR/
H A DTestOperationEquals.cpp25 int opCount = module.getBody()->getOperations().size(); in runOnOperation() local
26 if (opCount != 2) { in runOnOperation()
28 << opCount; in runOnOperation()
/llvm-project-15.0.7/mlir/test/lib/Pass/
H A DTestPassManager.cpp181 Statistic opCount{this, "num-ops", "Number of operations counted"}; member
184 getOperation()->walk([&](Operation *) { ++opCount; }); in runOnOperation()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Utils/
H A DLoopFusionUtils.cpp539 int64_t opCount = stats.opCountMap[forOp] - 1; in getComputeCostHelper() local
542 opCount += getComputeCostHelper(childForOp.getOperation(), stats, in getComputeCostHelper()
550 opCount += it->second; in getComputeCostHelper()
562 return tripCount * opCount; in getComputeCostHelper()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp2745 const auto opCount = destOperands.size(); in build() local
2749 if (i < opCount) { in build()
3010 const auto opCount = destOperands.size(); in build() local
3014 if (i < opCount) { in build()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIROps.td527 const auto opCount = destOperands.size();
531 if (i < opCount) {