| /llvm-project-15.0.7/mlir/lib/Rewrite/ |
| H A D | PatternApplicator.cpp | 65 if (pattern->getBenefit().isImpossibleToMatch()) in applyCostModel() 74 if (pattern.getBenefit().isImpossibleToMatch()) in applyCostModel() 163 bestPattern->getBenefit() < anyOpPatterns[anyIt]->getBenefit())) { in matchAndRewrite() 168 if (pdlIt < pdlE && (!bestPattern || bestPattern->getBenefit() < in matchAndRewrite()
|
| H A D | ByteCode.cpp | 43 PatternBenefit benefit = matchOp.getBenefit(); in create() 1043 state.currentPatternBenefits.push_back(pattern.getBenefit()); in initializeMutableState() 1898 LLVM_DEBUG(llvm::dbgs() << " * Benefit: " << benefit.getBenefit() << "\n" in executeRecordMatch()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineOutliner.h | 252 unsigned getBenefit() const { in getBenefit() function 266 const unsigned B = getBenefit(); in OutlinedFunction()
|
| /llvm-project-15.0.7/mlir/include/mlir/Rewrite/ |
| H A D | PatternApplicator.h | 60 applyCostModel([](const Pattern &pattern) { return pattern.getBenefit(); }); in applyDefaultCostModel()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineOutliner.cpp | 508 R << "Saved " << NV("OutliningBenefit", OF.getBenefit()) << " bytes by " in emitOutlinedFunctionRemark() 600 if (OF.getBenefit() < 1) { in findCandidates() 758 return LHS.getBenefit() > RHS.getBenefit(); in outline() 774 if (OF.getBenefit() < 1) in outline()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | IROutliner.h | 190 InstructionCost getBenefit(TargetTransformInfo &TTI);
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | InlineCost.h | 70 const APInt &getBenefit() const { return Benefit; } in getBenefit() function
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | Pattern.h | 486 int getBenefit() const;
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | PatternMatch.cpp | 23 unsigned short PatternBenefit::getBenefit() const { in getBenefit() function in PatternBenefit
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/ |
| H A D | NodePrinter.cpp | 332 if (Optional<uint16_t> benefit = decl->getBenefit()) in printImpl()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | PatternMatch.h | 46 unsigned short getBenefit() const; 121 PatternBenefit getBenefit() const { return benefit; } in getBenefit() function
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | MLIRGen.cpp | 283 genLoc(decl->getLoc()), decl->getBenefit(), in genImpl()
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Pattern.cpp | 678 int Pattern::getBenefit() const { in getBenefit() function in Pattern
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Nodes.h | 998 Optional<uint16_t> getBenefit() const { return benefit; } in getBenefit() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | IROutliner.cpp | 481 InstructionCost OutlinableRegion::getBenefit(TargetTransformInfo &TTI) { in getBenefit() function in OutlinableRegion 2474 RegionBenefit += Region->getBenefit(TTI); in findBenefitFromAllRegions()
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | PatternRewriter.md | 297 return pattern.getBenefit();
|
| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | DialectConversion.cpp | 2312 auto lhsBenefit = lhs->first->getBenefit(); in applyCostModelToPatterns() 2313 auto rhsBenefit = rhs->first->getBenefit(); in applyCostModelToPatterns()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | RewriterGen.cpp | 957 rewriteName, rootName, pattern.getBenefit()); in emit()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | Vectorization.cpp | 1091 patterns.getContext(), baseBenefit.getBenefit() + 1); in populatePadOpVectorizationPatterns()
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/ |
| H A D | PDLLServer.cpp | 576 if (Optional<uint16_t> benefit = decl->getBenefit()) in buildHoverForPattern()
|