Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanCFG.h115 template <typename BlockTy> class VPBlockDeepTraversalWrapper {
116 BlockTy Entry;
119 VPBlockDeepTraversalWrapper(BlockTy Entry) : Entry(Entry) {} in VPBlockDeepTraversalWrapper()
120 BlockTy getEntry() { return Entry; } in getEntry()
166 template <typename BlockTy> class VPBlockShallowTraversalWrapper {
167 BlockTy Entry;
170 VPBlockShallowTraversalWrapper(BlockTy Entry) : Entry(Entry) {}
171 BlockTy getEntry() { return Entry; }
H A DVPlan.h3032 template <typename BlockTy, typename T>
3035 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly()
3043 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); in blocksOnly()
3044 return map_range(Filter, [](BaseTy &Block) -> BlockTy * { in blocksOnly()
3045 return cast<BlockTy>(&Block); in blocksOnly()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp129 llvm::Value *Block, llvm::Type *BlockTy) { in recordBlockInfo() argument
135 EnqueuedBlockMap[E].BlockTy = BlockTy; in recordBlockInfo()
159 CGF, EnqueuedBlockMap[Block].InvokeFunc, EnqueuedBlockMap[Block].BlockTy); in emitOpenCLEnqueuedBlock()
H A DCGOpenCLRuntime.h48 llvm::Type *BlockTy; /// Type of the block argument. member
96 llvm::Value *Block, llvm::Type *BlockTy);
H A DTargetInfo.cpp178 CodeGenFunction &CGF, llvm::Function *Invoke, llvm::Type *BlockTy) const { in createEnqueuedBlockKernel()
H A DTargetInfo.h354 llvm::Type *BlockTy) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp439 using BlockTy = std::pair<BasicBlock *, unsigned>; typedef
450 SmallVector<BlockTy, 0> Blocks = {};
599 auto RegionStartIt = remove_if(Blocks, [&](const BlockTy &Block) { in takeSingleEntrySubRegion()
689 bool RegionsOverlap = any_of(Region.blocks(), [&](const BlockTy &Block) { in outlineColdRegions()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp299 llvm::Type *BlockTy) const override;
532 CodeGenFunction &CGF, llvm::Function *Invoke, llvm::Type *BlockTy) const { in createEnqueuedBlockKernel()
545 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel()
578 const auto BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlign(BlockTy); in createEnqueuedBlockKernel()
579 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr); in createEnqueuedBlockKernel()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp17125 QualType BlockTy; in ActOnBlockStmtExpr() local
17138 BlockTy = Context.getFunctionType(RetTy, std::nullopt, EPI); in ActOnBlockStmtExpr()
17144 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr()
17152 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI); in ActOnBlockStmtExpr()
17159 BlockTy = Context.getFunctionType(RetTy, std::nullopt, EPI); in ActOnBlockStmtExpr()
17163 BlockTy = Context.getBlockPointerType(BlockTy); in ActOnBlockStmtExpr()
17259 PoppedFunctionScopePtr ScopeRAII = PopFunctionScopeInfo(&WP, BD, BlockTy); in ActOnBlockStmtExpr()
17261 BlockExpr *Result = new (Context) BlockExpr(BD, BlockTy); in ActOnBlockStmtExpr()
H A DSemaDeclAttr.cpp7050 QualType BlockTy = in handleSwiftAsyncAttr() local
7052 if (!BlockTy->castAs<FunctionType>()->getReturnType()->isVoidType()) { in handleSwiftAsyncAttr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrDocs.td258 typedef void (^BlockTy)();
259 BlockTy g0, g1;
261 void nonescapingFunc(__attribute__((noescape)) BlockTy block) {
265 void escapingFunc(__attribute__((noescape)) BlockTy block) {
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7652 QualType BlockTy = in getObjCEncodingForBlock() local
7654 QualType BlockReturnTy = BlockTy->castAs<FunctionType>()->getReturnType(); in getObjCEncodingForBlock()