Home
last modified time | relevance | path

Searched refs:BlockTy (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanCFG.h114 template <typename BlockTy> class VPBlockDeepTraversalWrapper {
115 BlockTy Entry;
118 VPBlockDeepTraversalWrapper(BlockTy Entry) : Entry(Entry) {} in VPBlockDeepTraversalWrapper()
119 BlockTy getEntry() { return Entry; } in getEntry()
165 template <typename BlockTy> class VPBlockShallowTraversalWrapper {
166 BlockTy Entry;
169 VPBlockShallowTraversalWrapper(BlockTy Entry) : Entry(Entry) {}
170 BlockTy getEntry() { return Entry; }
H A DVPlan.h2537 template <typename BlockTy, typename T>
2540 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly()
2548 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); in blocksOnly()
2549 return map_range(Filter, [](BaseTy &Block) -> BlockTy * { in blocksOnly()
2550 return cast<BlockTy>(&Block); in blocksOnly()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp151 llvm::Value *Block, llvm::Type *BlockTy) { in recordBlockInfo() argument
158 EnqueuedBlockMap[E].BlockTy = BlockTy; in recordBlockInfo()
183 CGF, EnqueuedBlockMap[Block].InvokeFunc, EnqueuedBlockMap[Block].BlockTy); in emitOpenCLEnqueuedBlock()
H A DCGOpenCLRuntime.h49 llvm::Type *BlockTy; /// Type of the block argument. member
97 llvm::Value *Block, llvm::Type *BlockTy);
H A DTargetInfo.h345 llvm::Type *BlockTy) const;
H A DTargetInfo.cpp9464 llvm::Type *BlockTy) const override;
12435 llvm::Type *BlockTy) const { in createEnqueuedBlockKernel()
12465 llvm::Type *BlockTy) const { in createEnqueuedBlockKernel()
12478 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel()
12503 const auto BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlign(BlockTy); in createEnqueuedBlockKernel()
12504 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr); in createEnqueuedBlockKernel()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp398 using BlockTy = std::pair<BasicBlock *, unsigned>; typedef
409 SmallVector<BlockTy, 0> Blocks = {};
558 auto RegionStartIt = remove_if(Blocks, [&](const BlockTy &Block) { in takeSingleEntrySubRegion()
646 bool RegionsOverlap = any_of(Region.blocks(), [&](const BlockTy &Block) { in outlineColdRegions()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp16613 QualType BlockTy; in ActOnBlockStmtExpr() local
16626 BlockTy = Context.getFunctionType(RetTy, std::nullopt, EPI); in ActOnBlockStmtExpr()
16632 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr()
16640 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI); in ActOnBlockStmtExpr()
16647 BlockTy = Context.getFunctionType(RetTy, std::nullopt, EPI); in ActOnBlockStmtExpr()
16651 BlockTy = Context.getBlockPointerType(BlockTy); in ActOnBlockStmtExpr()
16747 PoppedFunctionScopePtr ScopeRAII = PopFunctionScopeInfo(&WP, BD, BlockTy); in ActOnBlockStmtExpr()
16749 BlockExpr *Result = new (Context) BlockExpr(BD, BlockTy); in ActOnBlockStmtExpr()
H A DSemaDeclAttr.cpp6835 QualType BlockTy = in handleSwiftAsyncAttr() local
6837 if (!BlockTy->castAs<FunctionType>()->getReturnType()->isVoidType()) { in handleSwiftAsyncAttr()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DAttrDocs.td249 typedef void (^BlockTy)();
250 BlockTy g0, g1;
252 void nonescapingFunc(__attribute__((noescape)) BlockTy block) {
256 void escapingFunc(__attribute__((noescape)) BlockTy block) {
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp7645 QualType BlockTy = in getObjCEncodingForBlock() local
7647 QualType BlockReturnTy = BlockTy->castAs<FunctionType>()->getReturnType(); in getObjCEncodingForBlock()