Home
last modified time | relevance | path

Searched refs:getSource (Results 1 – 25 of 112) sorted by relevance

12345

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DInterp.cpp106 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckInitialized()
138 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive()
156 const SourceInfo &E = S.Current->getSource(OpPC); in CheckTemporary()
197 const SourceInfo &E = S.Current->getSource(OpPC); in CheckArray()
204 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
235 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckNull()
244 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange()
253 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange()
265 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckConst()
276 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckMutable()
[all …]
H A DInterpState.h84 SourceInfo getSource(Function *F, CodePtr PC) const override { in getSource() function
85 return M ? M->getSource(F, PC) : F->getSource(PC); in getSource()
H A DSource.cpp32 if (const Expr *E = getSource(F, PC).asExpr()) in getExpr()
38 return getSource(F, PC).getLoc(); in getLocation()
H A DEvalEmitter.h74 SourceInfo getSource(Function *F, CodePtr PC) const override { in getSource() function
75 return F ? F->getSource(PC) : CurrentSource; in getSource()
/llvm-project-15.0.7/llvm/tools/llvm-mca/Views/
H A DTimelineView.cpp26 unsigned NumInstructions = getSource().size(); in TimelineView()
43 if (IR.getSourceIndex() >= getSource().size()) in onReservedBuffers()
73 WaitTimeEntry &WTEntry = WaitTime[Index % getSource().size()]; in onEvent()
138 bool PrintingTotals = SourceIndex == getSource().size(); in printWaitTimeEntry()
189 unsigned Executions = Timeline.size() / getSource().size(); in printAverageWaitTimes()
191 for (const MCInst &Inst : getSource()) { in printAverageWaitTimes()
200 if (getSource().size() != 1) { in printAverageWaitTimes()
287 ArrayRef<llvm::MCInst> Source = getSource(); in printTimeline()
H A DResourcePressureView.cpp40 ResourceUsage.resize(NumResourceUnits * (getSource().size() + 1)); in ResourcePressureView()
55 ArrayRef<llvm::MCInst> Source = getSource(); in onEvent()
136 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerIter()
157 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerInst()
181 ArrayRef<llvm::MCInst> Source = getSource(); in toJSON()
H A DInstructionInfoView.cpp25 ArrayRef<llvm::MCInst> Source = getSource(); in printView()
120 for (const auto I : zip(getSource(), IIVD)) { in collectData()
160 ArrayRef<llvm::MCInst> Source = getSource(); in toJSON()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/
H A DFoldSubViewOps.cpp100 return op.getSource(); in getMemRefOperand()
104 return op.getSource(); in getMemRefOperand()
165 rewriter.replaceOpWithNewOp<LoadOpTy>(loadOp, subViewOp.getSource(), in replaceOp()
177 transferReadOp, transferReadOp.getVectorType(), subViewOp.getSource(), in replaceOp()
190 subViewOp.getSource(), sourceIndices); in replaceOp()
201 transferWriteOp, transferWriteOp.getVector(), subViewOp.getSource(), in replaceOp()
H A DComposeSubView.cpp39 auto sourceOp = op.getSource().getDefiningOp<memref::SubViewOp>(); in matchAndRewrite()
122 rewriter.replaceOpWithNewOp<memref::SubViewOp>(op, sourceOp.getSource(), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp312 auto type = getSource().getType(); in verify()
341 Operation *definingOp = getSource().getDefiningOp(); in fold()
1412 return insertOp.getSource(); in foldExtractAfterInsertSlice()
1425 return this->getSource(); in fold()
1540 prevInsertOp.getSource().getType() != insertOp.getSource().getType() || in foldInsertAfterInsertSlice()
1618 Value toInsert = insertSliceOp.getSource(); in matchAndRewrite()
1671 return castOp.getSource(); in matchAndRewrite()
1674 getSourceOfCastOp(insertSliceOp.getSource()); in matchAndRewrite()
1966 padTensorOp.getSource()); in matchAndRewrite()
2228 return getSource(); in fold()
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToSPIRV/
H A DVectorToSPIRV.cpp49 if (dstType == adaptor.getSource().getType()) in matchAndRewrite()
50 rewriter.replaceOp(bitcastOp, adaptor.getSource()); in matchAndRewrite()
53 adaptor.getSource()); in matchAndRewrite()
66 if (broadcastOp.getSource().getType().isa<VectorType>() || in matchAndRewrite()
70 adaptor.getSource()); in matchAndRewrite()
167 rewriter.replaceOp(insertOp, adaptor.getSource()); in matchAndRewrite()
176 insertOp, adaptor.getSource(), adaptor.getDest(), id); in matchAndRewrite()
208 adaptor.getSource(), insertElementOp.getPosition()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferPermutationMapRewritePatterns.cpp116 op.getLoc(), newReadType, op.getSource(), op.getIndices(), in matchAndRewrite()
188 op, newVec, op.getSource(), op.getIndices(), AffineMapAttr::get(newMap), in matchAndRewrite()
241 op.getLoc(), op.getSource(), op.getIndices()); in matchAndRewrite()
244 op.getLoc(), originalVecType.getElementType(), op.getSource(), in matchAndRewrite()
264 op.getLoc(), newReadType, op.getSource(), op.getIndices(), in matchAndRewrite()
H A DVectorDropLeadUnitDim.cpp110 loc, insertOp.getSource(), splatZero(srcDropCount)); in matchAndRewrite()
156 Value newSrcVector = insertOp.getSource(); in matchAndRewrite()
159 loc, insertOp.getSource(), splatZero(srcDropCount)); in matchAndRewrite()
200 auto shapedType = read.getSource().getType().cast<ShapedType>(); in matchAndRewrite()
223 read.getLoc(), newType, read.getSource(), read.getIndices(), in matchAndRewrite()
248 auto shapedType = write.getSource().getType().dyn_cast<ShapedType>(); in matchAndRewrite()
273 write, newVector, write.getSource(), write.getIndices(), in matchAndRewrite()
H A DVectorInsertExtractStridedSliceRewritePatterns.cpp85 loc, op.getSource(), extracted, in matchAndRewrite()
131 rewriter.replaceOp(op, op.getSource()); in matchAndRewrite()
151 Value scaledSource = rewriter.create<ShuffleOp>(loc, op.getSource(), in matchAndRewrite()
152 op.getSource(), offsets); in matchAndRewrite()
175 Value extractedSource = extractOne(rewriter, loc, op.getSource(), idx); in matchAndRewrite()
H A DVectorMultiDimReductionTransforms.cpp42 auto src = multiReductionOp.getSource(); in matchAndRewrite()
190 loc, castedType, multiReductionOp.getSource()); in matchAndRewrite()
250 loc, multiReductionOp.getSource(), i); in matchAndRewrite()
283 loc, multiReductionOp.getSource(), ArrayRef<int64_t>{i}); in matchAndRewrite()
329 loc, castedType, multiReductionOp.getSource()); in matchAndRewrite()
H A DVectorTransferOpTransforms.cpp100 for (auto *user : write.getSource().getUsers()) { in deadStoreOp()
167 for (Operation *user : read.getSource().getUsers()) { in storeToLoadForwarding()
267 Value source = transferReadOp.getSource(); in matchAndRewrite()
310 Value source = transferWriteOp.getSource(); in matchAndRewrite()
422 Value source = transferReadOp.getSource(); in matchAndRewrite()
480 Value source = transferWriteOp.getSource(); in matchAndRewrite()
H A DBufferizableOpInterfaceImpl.cpp53 FailureOr<Value> buffer = getBuffer(rewriter, readOp.getSource(), options); in bufferize()
103 getBuffer(rewriter, writeOp.getSource(), options); in bufferize()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DHoisting.cpp121 write.insertSliceOp.getSource().getType()) in findMatchingTransferRead()
238 insertSliceOp.getSource().getDefiningOp<vector::TransferWriteOp>(); in getLoopInvariantTransferWriteOpDefining()
304 yieldOp->setOperand(initArgNumber, write.transferWriteOp.getSource()); in hoistReadWrite()
326 read.extractSliceOp.getSource()); in hoistReadWrite()
434 candidateWrite.getSource() != transferRead.getSource()) in hoistRedundantVectorTransfers()
465 for (auto &use : transferRead.getSource().getUses()) { in hoistRedundantVectorTransfers()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp350 return getSource(); in fold()
1232 res = nextInsertOp.getSource(); in handleInsertOpWithMatchingPos()
1252 res = nextInsertOp.getSource(); in handleInsertOpWithPrefixPos()
1736 return getSource(); in fold()
2059 return getSource(); in fold()
2295 return getSource(); in fold()
3577 return read.getSource() == write.getSource() && in checkSameValueWAR()
4326 return getSource(); in fold()
4331 return otherOp.getSource(); in fold()
4353 return bcastOp.getSource(); in fold()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DLoopCanonicalization.cpp89 auto blockArg = dimOp.getSource().template dyn_cast<BlockArgument>(); in matchAndRewrite()
134 auto forOp = dimOp.getSource().template getDefiningOp<scf::ForOp>(); in matchAndRewrite()
137 auto opResult = dimOp.getSource().template cast<OpResult>(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefOps.cpp696 if (copyOp.getSource() != copyOp.getTarget()) in matchAndRewrite()
765 auto type = getSource().getType(); in verify()
894 Operation *definingOp = getSource().getDefiningOp(); in fold()
1574 Value src = getSource(); in fold()
1578 return prev.getSource(); in fold()
1582 return prev.getSource(); in fold()
1590 return prev.getSource(); in fold()
2034 Type operandType = getSource().getType(); in verify()
2302 Value SubViewOp::getViewSource() { return getSource(); } in getViewSource()
2555 castOp.getSource().getType().cast<MemRefType>(), in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToLLVM/
H A DMemRefToLLVM.cpp350 Type operandType = dimOp.getSource().getType(); in matchAndRewrite()
432 MemRefDescriptor descriptor(adaptor.getSource()); in extractSizeOfRankedMemRef()
823 loc, adaptor.getSource(), rewriter); in rewrite()
876 MemRefDescriptor srcDesc(adaptor.getSource()); in lowerToMemCopyIntrinsic()
937 : adaptor.getSource(); in lowerToMemCopyFunctionCall()
1043 Type srcType = castOp.getSource().getType(); in matchAndRewrite()
1072 castOp.getSource(), adaptor.getSource(), in convertSourceMemRefToDescriptor()
1109 Type srcType = reshapeOp.getSource().getType(); in matchAndRewrite()
1143 reshapeOp.getSource(), adaptor.getSource(), in convertSourceMemRefToDescriptor()
1232 reshapeOp.getSource(), adaptor.getSource(), in convertSourceMemRefToDescriptor()
[all …]
/llvm-project-15.0.7/clang/lib/Tooling/
H A DCompilationDatabase.cpp294 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass || in stripPositionalArgs()
295 Cmd.getSource().getKind() == driver::Action::BackendJobClass || in stripPositionalArgs()
296 Cmd.getSource().getKind() == driver::Action::CompileJobClass) { in stripPositionalArgs()
297 CompileAnalyzer.run(&Cmd.getSource()); in stripPositionalArgs()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1114 if (M->getSource() != MDep->getDest() || MDep->isVolatile()) in processMemCpyMemCpyDependence()
1122 if (M->getSource() == MDep->getSource()) in processMemCpyMemCpyDependence()
1371 if (hasUndefContents(MSSA, AA, MemCpy->getSource(), MD, CopySize)) in performMemCpyToMemSetOptzn()
1402 if (M->getSource() == M->getDest()) { in processMemCpy()
1409 if (auto *GV = dyn_cast<GlobalVariable>(M->getSource())) in processMemCpy()
1464 M, M, M->getDest(), M->getSource(), in processMemCpy()
1488 if (hasUndefContents(MSSA, AA, M->getSource(), MD, M->getLength())) { in processMemCpy()
1562 getOrEnforceKnownAlignment(MDep->getSource(), ByValAlign, DL, &CB, AC, in processByValArgument()
1567 if (MDep->getSource()->getType()->getPointerAddressSpace() != in processByValArgument()
1581 Value *TmpCast = MDep->getSource(); in processByValArgument()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/Transforms/
H A DBufferizableOpInterfaceImpl.cpp56 getBuffer(rewriter, castOp.getSource(), options); in bufferize()
199 FailureOr<Value> v = getBuffer(rewriter, dimOp.getSource(), options); in bufferize()
288 getBuffer(rewriter, extractSliceOp.getSource(), options); in bufferize()
562 !state.areEquivalentBufferizedValues(extractSliceOp.getSource(), in areEquivalentExtractSliceOps()
656 insertSliceOp.getSource()) && in isNotConflictingInsertSliceLikeOp()
657 hasMatchingExtractSliceOp(state, insertSliceOp.getSource(), in isNotConflictingInsertSliceLikeOp()
731 getBuffer(rewriter, insertSliceOp.getSource(), options); in bufferize()
803 getBuffer(rewriter, reshapeOp.getSource(), options); in bufferize()
920 getBuffer(rewriter, parallelInsertSliceOp.getSource(), options); in bufferize()

12345