Home
last modified time | relevance | path

Searched refs:EnqueuedBlockMap (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp130 assert(!EnqueuedBlockMap.contains(E) && "Block expression emitted twice"); in recordBlockInfo()
133 EnqueuedBlockMap[E].InvokeFunc = InvokeF; in recordBlockInfo()
134 EnqueuedBlockMap[E].BlockArg = Block; in recordBlockInfo()
135 EnqueuedBlockMap[E].BlockTy = BlockTy; in recordBlockInfo()
136 EnqueuedBlockMap[E].KernelHandle = nullptr; in recordBlockInfo()
140 return EnqueuedBlockMap[getBlockExpr(E)].InvokeFunc; in getInvokeFunction()
151 assert(EnqueuedBlockMap.contains(Block) && "Block expression not emitted"); in emitOpenCLEnqueuedBlock()
154 if (EnqueuedBlockMap[Block].KernelHandle) { in emitOpenCLEnqueuedBlock()
155 return EnqueuedBlockMap[Block]; in emitOpenCLEnqueuedBlock()
159 CGF, EnqueuedBlockMap[Block].InvokeFunc, EnqueuedBlockMap[Block].BlockTy); in emitOpenCLEnqueuedBlock()
[all …]
H A DCGOpenCLRuntime.h51 llvm::DenseMap<const Expr *, EnqueuedBlockInfo> EnqueuedBlockMap; variable