Home
last modified time | relevance | path

Searched refs:createBlock (Results 1 – 25 of 44) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp1497 Succ = createBlock(); in buildCFG()
1544 B = createBlock(); in buildCFG()
2601 Block = createBlock(false); in VisitBreakStmt()
2700 Block = createBlock(); in VisitCallExpr()
2735 Block = createBlock(false); in VisitChooseExpr()
2819 Block = createBlock(false); in VisitConditionalOperator()
3421 Block = createBlock(); in VisitGCCAsmStmt()
3598 Block = createBlock(); in VisitForStmt()
3731 Block = createBlock(); in VisitObjCForCollectionStmt()
4721 Block = createBlock(); in VisitCXXForRangeStmt()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DForToWhile.cpp53 auto *beforeBlock = rewriter.createBlock( in matchAndRewrite()
65 auto *afterBlock = rewriter.createBlock( in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToSCF/
H A DTosaToSCF.cpp94 rewriter.createBlock(&newWhile.getBefore()); in matchAndRewrite()
95 rewriter.createBlock(&newWhile.getAfter()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/
H A DExpandPatterns.cpp76 rewriter.createBlock(&whileOp.getBefore(), {}, types, locations); in convertCtlzOp()
78 rewriter.createBlock(&whileOp.getAfter(), {}, types, locations); in convertCtlzOp()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/
H A DSCFToOpenMP.cpp190 builder.createBlock(&decl.initializerRegion(), decl.initializerRegion().end(), in createDecl()
218 builder.createBlock(&decl.atomicReductionRegion(), in addAtomicRMW()
384 rewriter.createBlock(&ompParallel.region()); in matchAndRewrite()
405 Block *scopeBlock = rewriter.createBlock(&scope.getBodyRegion()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/CAPI/Dialect/
H A DLinalg.cpp39 Block *body = b.createBlock(&region, /*insertPt=*/{}, argTypes, argLocs); in mlirLinalgFillBuiltinNamedOpRegion()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/Transforms/
H A DLegalizeForExport.cpp49 Block *dummyBlock = builder.createBlock(bb.getParent()); in ensureDistinctSuccessors()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp1150 builder.createBlock(bodyRegion); in build()
1172 builder.createBlock(bodyRegion); in build()
1198 builder.createBlock(&terminator.getRegion()); in ensureTerminator()
1222 b.createBlock(bodyRegion); in build()
1254 OpBuilder(builder.getContext()).createBlock(region.get()); in parse()
1332 builder.createBlock(thenRegion); in build()
1339 builder.createBlock(elseRegion); in build()
2061 newIfBlock = rewriter.createBlock(&newIf.getThenRegion()); in matchAndRewrite()
2066 rewriter.createBlock(&newIf.getElseRegion()); in matchAndRewrite()
2895 Block &newBeforeBlock = *rewriter.createBlock( in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/Utils/
H A DUtils.cpp34 builder.createBlock(&region, region.end(), blockArgTypes, blockArgLocs); in createPadScalarOp()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuilders.cpp353 Block *OpBuilder::createBlock(Region *parent, Region::iterator insertPt, in createBlock() function in OpBuilder
372 Block *OpBuilder::createBlock(Block *insertBefore, TypeRange argTypes, in createBlock() function in OpBuilder
375 return createBlock(insertBefore->getParent(), Region::iterator(insertBefore), in createBlock()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugLinesSubsection.h124 void createBlock(StringRef FileName);
/llvm-project-15.0.7/mlir/lib/Conversion/ControlFlowToLLVM/
H A DControlFlowToLLVM.cpp61 Block *failureBlock = rewriter.createBlock(opBlock->getParent()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToSPIRV/
H A DSCFToSPIRV.cpp255 rewriter.createBlock(&selectionOp.body(), selectionOp.body().end()); in matchAndRewrite()
260 rewriter.createBlock(&selectionOp.body().front()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncParallelFor.cpp275 b.createBlock(&func.getBody(), func.begin(), type.getInputs(), in createParallelComputeFunction()
489 Block *block = b.createBlock(&func.getBody(), func.begin(), type.getInputs(), in createAsyncDispatchFunction()
511 Block *before = b.createBlock(&whileOp.getBefore(), {}, types, locations); in createAsyncDispatchFunction()
512 Block *after = b.createBlock(&whileOp.getAfter(), {}, types, locations); in createAsyncDispatchFunction()
/llvm-project-15.0.7/polly/include/polly/CodeGen/
H A DIslNodeBuilder.h383 virtual void createBlock(__isl_take isl_ast_node *Block);
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DDebugLinesSubsection.cpp75 void DebugLinesSubsection::createBlock(StringRef FileName) { in createBlock() function in DebugLinesSubsection
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuilders.h396 Block *createBlock(Region *parent, Region::iterator insertPt = {},
404 Block *createBlock(Block *insertBefore, TypeRange argTypes = llvm::None,
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h838 template <typename... ArgTs> Block &createBlock(ArgTs &&... Args) { in createBlock() function
1020 return createBlock(Parent, Content, Address, Alignment, AlignmentOffset); in createContentBlock()
1029 return createBlock(Parent, MutableContent, Address, Alignment, in createMutableContentBlock()
1037 return createBlock(Parent, Size, Address, Alignment, AlignmentOffset); in createZeroFillBlock()
1127 createBlock(Section, Size, Address, Alignment, 0), Name, Size, S, in addCommonSymbol()
/llvm-project-15.0.7/flang/lib/Lower/
H A DOpenMP.cpp362 eval.block = firOpBuilder.createBlock(region); in createEmptyRegionBlocks()
418 firOpBuilder.createBlock(&op.getRegion(), {}, tiv, locs);
434 firOpBuilder.createBlock(&op.getRegion());
802 builder.createBlock(&decl.initializerRegion(), decl.initializerRegion().end(), in createReductionDecl()
809 builder.createBlock(&decl.reductionRegion(), decl.reductionRegion().end(), in createReductionDecl()
1333 firOpBuilder.createBlock(&atomicUpdateOp.getRegion(), {}, varTys, locs); in genOmpAtomicUpdateStatement()
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseTensorConversion.cpp496 Block *before = rewriter.createBlock(&whileOp.getBefore(), {}, noTypes); in genSparse2SparseReshape()
502 Block *after = rewriter.createBlock(&whileOp.getAfter(), {}, noTypes); in genSparse2SparseReshape()
762 Block *before = rewriter.createBlock(&whileOp.getBefore(), {}, noTypes); in matchAndRewrite()
766 Block *after = rewriter.createBlock(&whileOp.getAfter(), {}, noTypes); in matchAndRewrite()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestPatterns.cpp425 auto *entryBlock = rewriter.createBlock(&regionOp->getRegion(0)); in matchAndRewrite()
449 rewriter.createBlock(&region, region.end(), {i32Type, i32Type}, {loc, loc}); in matchAndRewrite()
467 rewriter.createBlock(&region, region.end(), {i32Type, i32Type}, {loc, loc}); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToLLVM/
H A DMemRefToLLVM.cpp233 continueBlock = rewriter.createBlock( in matchAndRewrite()
500 auto *loopBlock = rewriter.createBlock( in matchAndRewrite()
503 auto *endBlock = rewriter.createBlock( in matchAndRewrite()
1264 Block *condBlock = rewriter.createBlock(initBlock->getParent(), {}, in convertSourceMemRefToDescriptor()
1543 nextEntryBlock = rewriter.createBlock( in fillInStridesForCollapsedMemDescriptor()
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DRewriteLoop.cpp158 continueBlock = rewriter.createBlock( in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/
H A DPDLToPDLInterp.cpp285 Block *continueBlock = builder.createBlock(&foreach.getRegion()); in getValueAt()
499 Block *predicateBlock = builder.createBlock(childBlock); in generate()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToControlFlow/
H A DSCFToControlFlow.cpp372 rewriter.createBlock(remainingOpsBlock, ifOp.getResultTypes(), in matchAndRewrite()

12