| /llvm-project-15.0.7/mlir/lib/Dialect/Utils/ |
| H A D | StructuredOpsUtils.cpp | 30 AffineExpr m = map2.getResult(0); in isRowMajorMatmul() 31 AffineExpr n = map2.getResult(1); in isRowMajorMatmul() 32 AffineExpr k = map0.getResult(1); in isRowMajorMatmul() 56 AffineExpr n = map2.getResult(0); in isColumnMajorMatmul() 57 AffineExpr m = map2.getResult(1); in isColumnMajorMatmul() 58 AffineExpr k = map0.getResult(0); in isColumnMajorMatmul() 82 AffineExpr b = map2.getResult(0); in isRowMajorBatchMatmul() 83 AffineExpr m = map2.getResult(1); in isRowMajorBatchMatmul() 84 AffineExpr n = map2.getResult(2); in isRowMajorBatchMatmul() 85 AffineExpr k = map0.getResult(2); in isRowMajorBatchMatmul()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/ |
| H A D | InferIntRangeInterfaceImpls.cpp | 28 setResultRange(getResult(), getIndexRange(1, kMaxDim)); in inferResultRanges() 33 setResultRange(getResult(), getIndexRange(0, kMaxDim - 1)); in inferResultRanges() 38 setResultRange(getResult(), getIndexRange(1, kMaxDim)); in inferResultRanges() 43 setResultRange(getResult(), getIndexRange(0, kMaxDim - 1)); in inferResultRanges() 48 setResultRange(getResult(), getIndexRange(0, kMaxSubgroupSize - 1)); in inferResultRanges() 53 setResultRange(getResult(), getIndexRange(0, kMaxDim - 1)); in inferResultRanges() 58 setResultRange(getResult(), in inferResultRanges() 64 setResultRange(getResult(), getIndexRange(1, kMaxDim)); in inferResultRanges() 69 setResultRange(getResult(), getIndexRange(1, kMaxSubgroupSize)); in inferResultRanges()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | InferIntRangeInterfaceImpls.cpp | 181 setResultRange(getResult(), in inferResultRanges() 212 setResultRange(getResult(), in inferResultRanges() 377 setResultRange(getResult(), in inferResultRanges() 394 setResultRange(getResult(), in inferResultRanges() 411 setResultRange(getResult(), in inferResultRanges() 474 Type destType = getResult().getType(); in inferResultRanges() 495 Type destType = getResult().getType(); in inferResultRanges() 515 Type destType = getResult().getType(); in inferResultRanges() 526 Type destType = getResult().getType(); in inferResultRanges() 535 setResultRange(getResult(), argRanges[0]); in inferResultRanges() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPassManager.cpp | 77 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(L, AR); in runWithLoopNestPasses() 149 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(L, AR); in runWithoutLoopNestPasses() 194 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(F); in run() 205 LoopInfo &LI = AM.getResult<LoopAnalysis>(F); in run() 215 ? (&AM.getResult<BlockFrequencyAnalysis>(F)) in run() 219 ? (&AM.getResult<BranchProbabilityAnalysis>(F)) in run() 221 LoopStandardAnalysisResults LAR = {AM.getResult<AAManager>(F), in run() 222 AM.getResult<AssumptionAnalysis>(F), in run() 224 AM.getResult<LoopAnalysis>(F), in run() 227 AM.getResult<TargetIRAnalysis>(F), in run() [all …]
|
| H A D | InstSimplifyPass.cpp | 131 auto &DT = AM.getResult<DominatorTreeAnalysis>(F); in run() 132 auto &TLI = AM.getResult<TargetLibraryAnalysis>(F); in run() 133 auto &AC = AM.getResult<AssumptionAnalysis>(F); in run() 134 auto &ORE = AM.getResult<OptimizationRemarkEmitterAnalysis>(F); in run()
|
| H A D | LoopLoadElimination.cpp | 709 auto &LI = AM.getResult<LoopAnalysis>(F); in run() 714 auto &SE = AM.getResult<ScalarEvolutionAnalysis>(F); in run() 715 auto &TTI = AM.getResult<TargetIRAnalysis>(F); in run() 716 auto &DT = AM.getResult<DominatorTreeAnalysis>(F); in run() 717 auto &TLI = AM.getResult<TargetLibraryAnalysis>(F); in run() 718 auto &AA = AM.getResult<AAManager>(F); in run() 719 auto &AC = AM.getResult<AssumptionAnalysis>(F); in run() 720 auto &MAMProxy = AM.getResult<ModuleAnalysisManagerFunctionProxy>(F); in run() 723 &AM.getResult<BlockFrequencyAnalysis>(F) : nullptr; in run() 725 auto &LAM = AM.getResult<LoopAnalysisManagerFunctionProxy>(F).getManager(); in run() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | SCCP.cpp | 27 auto &FAM = AM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run() 29 return FAM.getResult<TargetLibraryAnalysis>(F); in run() 32 DominatorTree &DT = FAM.getResult<DominatorTreeAnalysis>(F); in run() 34 std::make_unique<PredicateInfo>(F, DT, FAM.getResult<AssumptionAnalysis>(F)), in run() 112 auto &FAM = AM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run() 114 return FAM.getResult<TargetLibraryAnalysis>(F); in run() 117 return FAM.getResult<TargetIRAnalysis>(F); in run() 120 return FAM.getResult<AssumptionAnalysis>(F); in run() 123 DominatorTree &DT = FAM.getResult<DominatorTreeAnalysis>(F); in run() 125 F, DT, FAM.getResult<AssumptionAnalysis>(F)), in run()
|
| H A D | ModuleInliner.cpp | 113 auto &IAA = MAM.getResult<InlineAdvisorAnalysis>(M); in run() 128 MAM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run() 131 return FAM.getResult<TargetLibraryAnalysis>(F); in run() 158 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(F); in run() 213 return FAM.getResult<AssumptionAnalysis>(F); in run() 243 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())), in run() 244 &FAM.getResult<BlockFrequencyAnalysis>(Callee)); in run() 247 InlineFunction(*CB, IFI, &FAM.getResult<AAManager>(*CB->getCaller())); in run()
|
| H A D | AlwaysInliner.cpp | 35 MAM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run() 37 return FAM.getResult<AssumptionAnalysis>(F); in run() 39 auto &PSI = MAM.getResult<ProfileSummaryAnalysis>(M); in run() 70 &FAM.getResult<BlockFrequencyAnalysis>(*Caller), in run() 71 &FAM.getResult<BlockFrequencyAnalysis>(F)); in run() 74 *CB, IFI, &FAM.getResult<AAManager>(F), InsertLifetime); in run()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | FusePadOpWithLinalgProducer.cpp | 86 rewriter.create<linalg::FillOp>(loc, padValue, initTensor.getResult()); in matchAndRewrite() 101 .getResult()); in matchAndRewrite() 108 loc, fillTensor.getResult(0), offsets, sizes, strides); in matchAndRewrite() 113 clonedOp.setOutputOperand(resultNumber, slice.getResult()); in matchAndRewrite() 117 padOp, clonedOp.getResult(resultNumber), fillTensor.getResult(0), in matchAndRewrite()
|
| /llvm-project-15.0.7/polly/include/polly/ |
| H A D | ScopPass.h | 102 (void)AM.template getResult<AnalysisT>(L, AR); 224 ScopDetection &SD = AM.getResult<ScopAnalysis>(F); 225 ScopInfo &SI = AM.getResult<ScopInfoAnalysis>(F); 243 ScopStandardAnalysisResults AR = {AM.getResult<DominatorTreeAnalysis>(F), 244 AM.getResult<ScopInfoAnalysis>(F), 245 AM.getResult<ScalarEvolutionAnalysis>(F), 246 AM.getResult<LoopAnalysis>(F), 247 AM.getResult<RegionInfoAnalysis>(F), 248 AM.getResult<TargetIRAnalysis>(F)}; 251 AM.getResult<ScopAnalysisManagerFunctionProxy>(F).getManager();
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/ |
| H A D | VectorDistribute.cpp | 488 Value distributedVal = warpOp.getResult(operandIndex); in matchAndRewrite() 515 newOperands[i] = newWarpOp.getResult(newRetIndices[i]); in matchAndRewrite() 521 {newWarpOp.getResult(operandIndex).getType()}); in matchAndRewrite() 522 newWarpOp.getResult(operandIndex).replaceAllUsesWith(newOp->getResult(0)); in matchAndRewrite() 556 warpOp.getResult(operandIndex).getType(), scalarAttr); in matchAndRewrite() 593 Value distributedVal = warpOp.getResult(operandIndex); in matchAndRewrite() 668 Value result = warpOp.getResult(operand.getOperandNumber()); in matchAndRewrite() 834 warpOp.getResult(res.value()) in matchAndRewrite() 835 .replaceAllUsesWith(newForOp.getResult(res.index())); in matchAndRewrite() 908 Value laneValVec = newWarpOp.getResult(newRetIndices[0]); in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/ |
| H A D | LoopRangeFolding.cpp | 66 op.setLowerBound(lbFold->getResult(0)); in runOnOperation() 67 op.setUpperBound(ubFold->getResult(0)); in runOnOperation() 73 op.setUpperBound(ubFold->getResult(0)); in runOnOperation() 74 op.setStep(stepFold->getResult(0)); in runOnOperation()
|
| H A D | LoopPipelining.cpp | 164 setValueMapping(op->getResult(destId), newOp->getResult(destId), in emitPrologue() 169 if (operand.get() != op->getResult(destId)) in emitPrologue() 172 newOp->getResult(destId), i - stages[op] + 1); in emitPrologue() 352 setValueMapping(it.first, newForOp->getResult(yieldOperands.size()), in createKernel() 358 setValueMapping(it.first, newForOp->getResult(yieldOperands.size()), in createKernel() 369 newForOp->getResult(retVal.index()), in createKernel() 403 setValueMapping(op->getResult(destId), newOp->getResult(destId), in emitEpilogue() 410 if (operand.get() != op->getResult(destId)) in emitEpilogue() 416 returnValues[operand.getOperandNumber()] = newOp->getResult(destId); in emitEpilogue() 420 newOp->getResult(destId), version); in emitEpilogue()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/ |
| H A D | SparseTensorRewriting.cpp | 140 !prod.getResult(0).hasOneUse()) in matchAndRewrite() 156 loc, op.getResult(0).getType(), inputOps, outputOps, in matchAndRewrite() 176 last = op.getResult(0); in matchAndRewrite() 179 mapper.map(consBlock.getArgument(other), fusedBlock->back().getResult(0)); in matchAndRewrite() 180 mapper.map(last, rewriter.clone(*sampler, mapper)->getResult(0)); in matchAndRewrite() 181 last = rewriter.clone(*acc, mapper)->getResult(0); in matchAndRewrite() 205 auto encDst = getSparseTensorEncoding(op.getResult().getType()); in matchAndRewrite() 223 op.getResult().getType().template cast<RankedTensorType>(); in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopVersioning.cpp | 349 auto &SE = AM.getResult<ScalarEvolutionAnalysis>(F); in run() 350 auto &LI = AM.getResult<LoopAnalysis>(F); in run() 351 auto &TTI = AM.getResult<TargetIRAnalysis>(F); in run() 352 auto &DT = AM.getResult<DominatorTreeAnalysis>(F); in run() 353 auto &TLI = AM.getResult<TargetLibraryAnalysis>(F); in run() 354 auto &AA = AM.getResult<AAManager>(F); in run() 355 auto &AC = AM.getResult<AssumptionAnalysis>(F); in run() 357 auto &LAM = AM.getResult<LoopAnalysisManagerFunctionProxy>(F).getManager(); in run() 361 return LAM.getResult<LoopAccessAnalysis>(L, AR); in run()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Tosa/ |
| H A D | TosaTestPasses.cpp | 52 tosaNegateOp.getResult().getType().dyn_cast<mlir::RankedTensorType>(); in matchAndRewrite() 92 op->getLoc(), dstQConstType, newConstOp.getResult()); in matchAndRewrite() 94 rewriter.replaceOp(op, {newNegateOp.getResult()}); in matchAndRewrite() 130 tosaConv2DOp.getResult().getType().dyn_cast<mlir::RankedTensorType>(); in matchAndRewrite() 168 op->getLoc(), outputType, newTosaConv2DOp.getResult(), in matchAndRewrite() 174 rewriter.replaceOp(op, {newTosaRescaleOp.getResult()}); in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemoryDependenceAnalysis.cpp | 732 if (Entry.getResult().isDirty()) in getNonLocalCallDependency() 776 if (!Entry->getResult().isDirty()) in getNonLocalCallDependency() 928 return ExistingResult->getResult(); in getNonLocalInfoForBlock() 1148 if (Entry.getResult().isNonLocal()) { in getNonLocalPointerDepFromBB() 1475 Instruction *Target = DE.getResult().getInst(); in removeCachedNonLocalPointerDependencies() 1602 if (Entry.getResult().getInst() != RemInst) in removeInstruction() 1642 if (Entry.getResult().getInst() != RemInst) in removeInstruction() 1694 assert(Entry.getResult().getInst() != D && in verifyRemoved() 1727 auto &AA = AM.getResult<AAManager>(F); in run() 1728 auto &AC = AM.getResult<AssumptionAnalysis>(F); in run() [all …]
|
| H A D | RegionInfo.cpp | 190 auto *DT = &AM.getResult<DominatorTreeAnalysis>(F); in run() 191 auto *PDT = &AM.getResult<PostDominatorTreeAnalysis>(F); in run() 192 auto *DF = &AM.getResult<DominanceFrontierAnalysis>(F); in run() 204 AM.getResult<RegionInfoAnalysis>(F).print(OS); in run() 211 AM.getResult<RegionInfoAnalysis>(F).verifyAnalysis(); in run()
|
| H A D | CFGPrinter.cpp | 129 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run() 130 auto *BPI = &AM.getResult<BranchProbabilityAnalysis>(F); in run() 170 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run() 171 auto *BPI = &AM.getResult<BranchProbabilityAnalysis>(F); in run() 211 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run() 212 auto *BPI = &AM.getResult<BranchProbabilityAnalysis>(F); in run() 252 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run() 253 auto *BPI = &AM.getResult<BranchProbabilityAnalysis>(F); in run()
|
| H A D | InlineAdvisor.cpp | 135 FAM.getResult<ModuleAnalysisManagerFunctionProxy>(Caller) in getDefaultInlineAdvice() 139 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller); in getDefaultInlineAdvice() 141 return FAM.getResult<AssumptionAnalysis>(F); in getDefaultInlineAdvice() 144 return FAM.getResult<BlockFrequencyAnalysis>(F); in getDefaultInlineAdvice() 147 return FAM.getResult<TargetLibraryAnalysis>(F); in getDefaultInlineAdvice() 152 auto &CalleeTTI = FAM.getResult<TargetIRAnalysis>(Callee); in getDefaultInlineAdvice() 169 FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller())); in getAdviceImpl() 589 return FAM.getResult<TargetLibraryAnalysis>(F); in getMandatoryKind() 592 auto &TIR = FAM.getResult<TargetIRAnalysis>(Callee); in getMandatoryKind() 617 return FAM.getResult<OptimizationRemarkEmitterAnalysis>(*CB.getCaller()); in getCallerORE() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/ |
| H A D | TosaToLinalgNamed.cpp | 64 .getResult(); in applyPad() 287 ->getResult(0); in matchAndRewrite() 300 .getResult(0); in matchAndRewrite() 322 .getResult(0); in matchAndRewrite() 463 .getResult(0); in matchAndRewrite() 473 .getResult(0); in matchAndRewrite() 490 .getResult(0); in matchAndRewrite() 648 .getResult(0); in matchAndRewrite() 664 ->getResult(0); in matchAndRewrite() 676 .getResult(0); in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/ |
| H A D | Command.cpp | 32 return builder.create<fir::CallOp>(loc, argumentCountFunc).getResult(0); in genCommandArgumentCount() 44 return builder.create<fir::CallOp>(loc, argumentValueFunc, args).getResult(0); in genArgumentValue() 55 .getResult(0); in genArgumentLength() 70 return builder.create<fir::CallOp>(loc, valueFunc, args).getResult(0); in genEnvVariableValue() 85 return builder.create<fir::CallOp>(loc, lengthFunc, args).getResult(0); in genEnvVariableLength()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/ |
| H A D | TosaDecomposeDepthwise.cpp | 70 .getResult(); in matchAndRewrite() 82 .getResult(); in matchAndRewrite() 95 .getResult(); in matchAndRewrite() 110 .getResult(); in matchAndRewrite()
|
| H A D | TosaDecomposeConv2D.cpp | 65 .getResult(); in matchAndRewrite() 77 .getResult(); in matchAndRewrite() 91 .getResult(); in matchAndRewrite() 97 .getResult(); in matchAndRewrite()
|