Lines Matching defs:BlockPtr
1168 llvm::Value *BlockPtr = EmitScalarExpr(E->getCallee());
1176 // For OpenCL, BlockPtr is already casted to generic block literal.
1183 BlockPtr, GenericVoidPtrTy);
1194 llvm::Value *FuncPtr = Builder.CreateStructGEP(GenBlockTy, BlockPtr, 2);
1200 BlockPtr =
1201 Builder.CreatePointerCast(BlockPtr, UnqualPtrTy, "block.literal");
1203 llvm::Value *FuncPtr = Builder.CreateStructGEP(GenBlockTy, BlockPtr, 3);
1206 BlockPtr = Builder.CreatePointerCast(BlockPtr, VoidPtrTy);
1207 Args.add(RValue::get(BlockPtr), Ctx.VoidPtrTy);