Home
last modified time | relevance | path

Searched refs:insertPoint (Results 1 – 12 of 12) sorted by relevance

/llvm-project/mlir/include/mlir/IR/
H A DBuilders.h230 OpBuilder(Block *block, Block::iterator insertPoint,
233 setInsertionPoint(block, insertPoint);
379 insertPoint = Block::iterator();
396 void setInsertionPoint(Block *block, Block::iterator insertPoint) { in restoreInsertionPoint()
397 // TODO: check that insertPoint is in this rather than some other block. in restoreInsertionPoint()
399 this->insertPoint = insertPoint;
443 Block::iterator getInsertionPoint() const { return insertPoint; }
527 block->getOperations().insert(insertPoint, op); in createOrFold()
612 Block::iterator insertPoint;
400 setInsertionPoint(Block * block,Block::iterator insertPoint) setInsertionPoint() argument
616 Block::iterator insertPoint; global() variable
[all...]
/llvm-project/mlir/include/mlir/Dialect/Vector/Utils/
H A DVectorUtils.h255 /// `loopToVectorDim`). `insertPoint` is the insertion point for the vectorized
308 makePermutationMap(Block *insertPoint, ArrayRef<Value> indices,
311 makePermutationMap(Operation *insertPoint, ArrayRef<Value> indices,
/llvm-project/mlir/test/lib/Dialect/Affine/
H A DTestLoopFusion.cpp95 unsigned ipd = getNestingDepth(&*sliceUnion.insertPoint); in getSliceStr()
96 unsigned ipb = getBlockIndex(*sliceUnion.insertPoint); in getSliceStr()
/llvm-project/mlir/lib/Dialect/Vector/Utils/
H A DVectorUtils.cpp184 Block *insertPoint, ArrayRef<Value> indices, in makePermutationMap() argument
187 auto enclosingLoops = getEnclosingforOps(insertPoint); in makePermutationMap()
/llvm-project/mlir/lib/Dialect/Affine/Utils/
H A DLoopFusionUtils.cpp430 OpBuilder b(srcSlice.insertPoint->getBlock(), srcSlice.insertPoint); in fuseLoops()
591 auto *insertPointParent = slice.insertPoint->getParentOp(); in getFusionComputeCost()
/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseBufferRewriting.cpp79 OpBuilder &builder, func::FuncOp insertPoint, TypeRange resultTypes, in getMangledSortHelperFunc() argument
87 ModuleOp module = insertPoint->getParentOfType<ModuleOp>(); in getMangledSortHelperFunc()
95 builder.setInsertionPoint(insertPoint); in getMangledSortHelperFunc()
96 Location loc = insertPoint.getLoc(); in getMangledSortHelperFunc()
1236 auto insertPoint = op->template getParentOfType<func::FuncOp>(); in matchAndRewriteSortOp()
1237 if (!insertPoint) in matchAndRewriteSortOp() local
1275 getMangledSortHelperFunc(rewriter, insertPoint, TypeRange(), funcName, in matchAndRewriteSortOp()
/llvm-project/mlir/include/mlir/Dialect/Affine/Analysis/
H A DUtils.h272 Block::iterator insertPoint; member
/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp477 BasicBlock::iterator insertPoint = Dest->getFirstNonPHIIt(); in UnrollAndJamLoop()
479 Phi->moveBefore(*Dest, insertPoint); in UnrollAndJamLoop()
476 BasicBlock::iterator insertPoint = Dest->getFirstNonPHIIt(); UnrollAndJamLoop() local
/llvm-project/mlir/lib/IR/
H A DBuilders.cpp419 block->getOperations().insert(insertPoint, op); in getShiftedAffineMap()
/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/
H A DOpenMPToLLVMIRTranslation.cpp829 [&, decl](llvm::OpenMPIRBuilder::InsertPointTy insertPoint, in collectReductionInfo()
835 builder.restoreIP(insertPoint); in collectReductionInfo()
864 [&, decl](llvm::OpenMPIRBuilder::InsertPointTy insertPoint, llvm::Type *, in inlineOmpRegionCleanup()
869 builder.restoreIP(insertPoint); in inlineOmpRegionCleanup()
445 __anonf04bb8b10802(llvm::OpenMPIRBuilder::InsertPointTy insertPoint, llvm::Value *lhs, llvm::Value *rhs, llvm::Value *&result) makeReductionGen() argument
478 __anonf04bb8b10902(llvm::OpenMPIRBuilder::InsertPointTy insertPoint, llvm::Type *, llvm::Value *lhs, llvm::Value *rhs) makeAtomicReductionGen() argument
/llvm-project/mlir/lib/Dialect/Affine/Analysis/
H A DUtils.cpp1557 sliceUnion->insertPoint = in computeSliceUnion()
1706 sliceState->insertPoint = in getComputationSliceState()
/llvm-project/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp417 InsertPoint insertPoint = saveInsertionPoint(); in convertWithSemantics()
422 return {typeInfo, insertPoint}; in convertWithSemantics()
376 InsertPoint insertPoint = saveInsertionPoint(); createTypeInfoOp() local