Home
last modified time | relevance | path

Searched refs:entryBlock (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/
H A DHoistAllocas.cpp36 mlir::Block &entryBlock = func.getRegion().front(); in process() local
37 mlir::Operation *insertPoint = &*entryBlock.begin(); in process()
42 if (alloca->getBlock() == &entryBlock) in process()
H A DFlattenCFG.cpp344 mlir::Block &entryBlock = caseOp.getCaseRegion().front(); in matchAndRewrite() local
349 rewriter.create<cir::BrOp>(caseOp.getLoc(), &entryBlock); in matchAndRewrite()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenFunction.h610 mlir::Block *entryBlock; member
635 : cgf(cgf), entryBlock(eb), parentScope(cgf.curLexScope), beginLoc(loc), in LexicalScope()
638 assert(entryBlock && "LexicalScope requires an entry block"); in LexicalScope()
719 mlir::Block *getEntryBlock() { return entryBlock; } in getEntryBlock()
H A DCIRGenFunction.cpp245 bool entryBlock = builder.getInsertionBlock()->isEntryBlock(); in cleanup() local
246 if (!entryBlock && curBlock->empty()) { in cleanup()
H A DCIRGenExpr.cpp1505 mlir::Block *entryBlock = insertIntoFnEntryBlock in emitAlloca() local
1516 builder.getBestAllocaInsertPoint(entryBlock), arraySize); in emitAlloca()