Home
last modified time | relevance | path

Searched refs:getInsertionBlock (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/mlir/lib/Conversion/SCFToStandard/
DSCFToStandard.cpp289 auto *initBlock = rewriter.getInsertionBlock(); in matchAndRewrite()
355 auto *condBlock = rewriter.getInsertionBlock(); in matchAndRewrite()
436 rewriter.setInsertionPointToEnd(rewriter.getInsertionBlock()); in matchAndRewrite()
461 Block *newBody = rewriter.getInsertionBlock(); in matchAndRewrite()
471 rewriter.setInsertionPointToEnd(rewriter.getInsertionBlock()); in matchAndRewrite()
486 Block *currentBlock = rewriter.getInsertionBlock(); in matchAndRewrite()
544 Block *currentBlock = rewriter.getInsertionBlock(); in matchAndRewrite()
/external/llvm-project/mlir/lib/EDSC/
DBuilders.cpp67 Block *block = builder.getInsertionBlock(); in createBlock()
99 Block *block = builder.getInsertionBlock(); in buildInNewBlock()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DAllReduceLowering.cpp179 Block *block = rewriter.getInsertionBlock(); in getFactory()
270 Block *currentBlock = rewriter.getInsertionBlock(); in createIf()
342 value = rewriter.getInsertionBlock()->getArgument(0); in createSubgroupReduce()
359 return rewriter.getInsertionBlock()->getArgument(0); in createSubgroupReduce()
/external/llvm-project/mlir/lib/Transforms/Utils/
DFoldUtils.cpp153 getInsertionRegion(interfaces, builder.getInsertionBlock()); in getOrCreateConstant()
197 getInsertionRegion(interfaces, builder.getInsertionBlock()); in tryToFold()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dembed_memref_prints.cc43 b->getInsertionBlock()->getParent()->getParentOfType<FuncOp>(); in emitCallToPrint()
Dembed_tf_framework.cc142 rewriter.getInsertionBlock(), std::next(rewriter.getInsertionPoint())); in matchAndRewrite()
/external/llvm-project/mlir/include/mlir/IR/
DBuilders.h302 return InsertPoint(getInsertionBlock(), getInsertionPoint()); in saveInsertionPoint()
358 Block *getInsertionBlock() const { return block; } in getInsertionBlock() function
/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/
DSCFToSPIRV.cpp279 cast<spirv::BranchOp>(rewriter.getInsertionBlock()->getTerminator()); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp1861 assert(builder.getInsertionBlock() && in createGlobalString()
1862 builder.getInsertionBlock()->getParentOp() && in createGlobalString()
1865 builder.getInsertionBlock()->getParentOp()->getParentOfType<ModuleOp>(); in createGlobalString()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlhlo_legalize_to_parallel_loops.cc561 if (b->getInsertionBlock() == loop_over_src.getBody()) { in InsertWindowLoops()
/external/llvm-project/mlir/lib/Dialect/Shape/IR/
DShape.cpp253 auto *blockBeforeAssuming = rewriter.getInsertionBlock(); in inlineRegionIntoParent()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DConvertFromLLVMIR.cpp635 v = b.getInsertionBlock()->addArgument(type); in processInstruction()
/external/llvm-project/mlir/lib/Dialect/SCF/
DSCF.cpp583 IfOp::ensureTerminator(*nested.getInsertionBlock()->getParent(), nested, in build()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp1732 Block *opBlock = rewriter.getInsertionBlock(); in matchAndRewrite()
2829 Block *initBlock = rewriter.getInsertionBlock(); in convertSourceMemRefToDescriptor()
3841 auto *initBlock = rewriter.getInsertionBlock(); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp1109 auto *currentBlock = rewriter.getInsertionBlock(); in matchAndRewrite()