Searched refs:BlockPtr (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 619 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr); in createEnqueuedBlockKernel() local 620 BlockPtr->setAlignment(BlockAlign); in createEnqueuedBlockKernel() 621 Builder.CreateAlignedStore(F->arg_begin(), BlockPtr, BlockAlign); in createEnqueuedBlockKernel() 622 auto *Cast = Builder.CreatePointerCast(BlockPtr, InvokeFT->getParamType(0)); in createEnqueuedBlockKernel()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlan.h | 3584 static void insertBlockAfter(VPBlockBase *NewBlock, VPBlockBase *BlockPtr) { in insertBlockAfter() argument 3588 NewBlock->setParent(BlockPtr->getParent()); in insertBlockAfter() 3589 SmallVector<VPBlockBase *> Succs(BlockPtr->successors()); in insertBlockAfter() 3591 disconnectBlocks(BlockPtr, Succ); in insertBlockAfter() 3594 connectBlocks(BlockPtr, NewBlock); in insertBlockAfter() 3604 VPBlockBase *BlockPtr) { in insertTwoBlocksAfter() argument 3609 BlockPtr->setTwoSuccessors(IfTrue, IfFalse); in insertTwoBlocksAfter() 3610 IfTrue->setPredecessors({BlockPtr}); in insertTwoBlocksAfter() 3611 IfFalse->setPredecessors({BlockPtr}); in insertTwoBlocksAfter() 3612 IfTrue->setParent(BlockPtr->getParent()); in insertTwoBlocksAfter() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 1168 llvm::Value *BlockPtr = EmitScalarExpr(E->getCallee()); in EmitBlockCallExpr() local 1183 BlockPtr, GenericVoidPtrTy); in EmitBlockCallExpr() 1194 llvm::Value *FuncPtr = Builder.CreateStructGEP(GenBlockTy, BlockPtr, 2); in EmitBlockCallExpr() 1200 BlockPtr = in EmitBlockCallExpr() 1201 Builder.CreatePointerCast(BlockPtr, UnqualPtrTy, "block.literal"); in EmitBlockCallExpr() 1203 llvm::Value *FuncPtr = Builder.CreateStructGEP(GenBlockTy, BlockPtr, 3); in EmitBlockCallExpr() 1206 BlockPtr = Builder.CreatePointerCast(BlockPtr, VoidPtrTy); in EmitBlockCallExpr() 1207 Args.add(RValue::get(BlockPtr), Ctx.VoidPtrTy); in EmitBlockCallExpr()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 55 if (auto BlockPtr = TL.getAs<clang::BlockPointerTypeLoc>()) { in findTypeLocForBlockDecl() local 56 TL = BlockPtr.getPointeeLoc().IgnoreParens(); in findTypeLocForBlockDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCast.cpp | 593 enum { None, Ptr, MemPtr, BlockPtr, Array }; in unwrapCastAwayConstnessLevel() enumerator 597 if (T->isBlockPointerType()) return BlockPtr; in unwrapCastAwayConstnessLevel()
|
H A D | SemaCodeComplete.cpp | 2914 if (BlockPointerTypeLoc BlockPtr = TL.getAs<BlockPointerTypeLoc>()) { in findTypeLocationForBlockDecl() local 2915 TL = BlockPtr.getPointeeLoc().IgnoreParens(); in findTypeLocationForBlockDecl()
|