Home
last modified time | relevance | path

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

/freebsd/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.h3639 template <typename BlockTy, typename T>
3642 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly()
3650 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); in blocksOnly()
3651 return map_range(Filter, [](BaseTy &Block) -> BlockTy * { in blocksOnly()
3652 return cast<BlockTy>(&Block); in blocksOnly()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp316 llvm::Type *BlockTy) const override;
572 CodeGenFunction &CGF, llvm::Function *Invoke, llvm::Type *BlockTy) const { in createEnqueuedBlockKernel()
585 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel()
618 const auto BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlign(BlockTy); in createEnqueuedBlockKernel()
619 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr); in createEnqueuedBlockKernel()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp457 using BlockTy = std::pair<BasicBlock *, unsigned>; typedef
468 SmallVector<BlockTy, 0> Blocks = {};
617 auto RegionStartIt = remove_if(Blocks, [&](const BlockTy &Block) { in takeSingleEntrySubRegion()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DTargetInfo.cpp179 CodeGenFunction &CGF, llvm::Function *Invoke, llvm::Type *BlockTy) const { in createEnqueuedBlockKernel()
H A DTargetInfo.h366 llvm::Type *BlockTy) const;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSwift.cpp693 QualType BlockTy = in handleAsyncAttr() local
695 if (!BlockTy->castAs<FunctionType>()->getReturnType()->isVoidType()) { in handleAsyncAttr()
H A DSemaExpr.cpp16114 QualType BlockTy; in ActOnBlockStmtExpr() local
16127 BlockTy = Context.getFunctionType(RetTy, std::nullopt, EPI); in ActOnBlockStmtExpr()
16133 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr()
16141 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI); in ActOnBlockStmtExpr()
16148 BlockTy = Context.getFunctionType(RetTy, std::nullopt, EPI); in ActOnBlockStmtExpr()
16152 BlockTy = Context.getBlockPointerType(BlockTy); in ActOnBlockStmtExpr()
16248 PoppedFunctionScopePtr ScopeRAII = PopFunctionScopeInfo(&WP, BD, BlockTy); in ActOnBlockStmtExpr()
16250 BlockExpr *Result = new (Context) BlockExpr(BD, BlockTy); in ActOnBlockStmtExpr()
/freebsd/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/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp8108 QualType BlockTy = in getObjCEncodingForBlock() local
8110 QualType BlockReturnTy = BlockTy->castAs<FunctionType>()->getReturnType(); in getObjCEncodingForBlock()