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

/freebsd-current/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) {}
120 BlockTy getEntry() { return Entry; }
166 template <typename BlockTy> class VPBlockShallowTraversalWrapper {
167 BlockTy Entry;
170 VPBlockShallowTraversalWrapper(BlockTy Entry) : Entry(Entry) {}
171 BlockTy getEntry() { return Entry; }
H A DVPlan.h3030 /// Return an iterator range over \p Range which only includes \p BlockTy
3031 /// blocks. The accesses are casted to \p BlockTy.
3032 template <typename BlockTy, typename T>
3034 // Create BaseTy with correct const-ness based on BlockTy.
3035 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value,
3039 // of (const) BlockTy * for filter_range to work properly.
3043 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); });
3044 return map_range(Filter, [](BaseTy &Block) -> BlockTy * {
3045 return cast<BlockTy>(&Block);
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.h48 llvm::Type *BlockTy; /// Type of the block argument. member in struct:clang::CodeGen::CGOpenCLRuntime::EnqueuedBlockInfo
96 llvm::Value *Block, llvm::Type *BlockTy);
H A DCGOpenCLRuntime.cpp129 llvm::Value *Block, llvm::Type *BlockTy) {
135 EnqueuedBlockMap[E].BlockTy = BlockTy;
159 CGF, EnqueuedBlockMap[Block].InvokeFunc, EnqueuedBlockMap[Block].BlockTy);
127 recordBlockInfo(const BlockExpr *E, llvm::Function *InvokeF, llvm::Value *Block, llvm::Type *BlockTy) argument
H A DTargetInfo.cpp178 CodeGenFunction &CGF, llvm::Function *Invoke, llvm::Type *BlockTy) const {
H A DTargetInfo.h354 llvm::Type *BlockTy) const;
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp439 using BlockTy = std::pair<BasicBlock *, unsigned>;
450 SmallVector<BlockTy, 0> Blocks = {};
599 auto RegionStartIt = remove_if(Blocks, [&](const BlockTy &Block) {
689 bool RegionsOverlap = any_of(Region.blocks(), [&](const BlockTy &Block) {
/freebsd-current/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 {
545 ArgTys.push_back(BlockTy);
578 const auto BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlign(BlockTy);
579 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr);
/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp15672 // BlockTy b;
17125 QualType BlockTy; local
17138 BlockTy = Context.getFunctionType(RetTy, std::nullopt, EPI);
17144 BlockTy = BSI->FunctionType;
17152 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI);
17159 BlockTy = Context.getFunctionType(RetTy, std::nullopt, EPI);
17163 BlockTy = Context.getBlockPointerType(BlockTy);
17259 PoppedFunctionScopePtr ScopeRAII = PopFunctionScopeInfo(&WP, BD, BlockTy);
17261 BlockExpr *Result = new (Context) BlockExpr(BD, BlockTy);
[all...]
H A DSemaDeclAttr.cpp7050 QualType BlockTy = local
7052 if (!BlockTy->castAs<FunctionType>()->getReturnType()->isVoidType()) {
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7652 QualType BlockTy = local
7654 QualType BlockReturnTy = BlockTy->castAs<FunctionType>()->getReturnType();

Completed in 402 milliseconds