Lines Matching refs:AddrSpace
258 unsigned AddrSpace = 0; in buildBlockDescriptor() local
260 AddrSpace = C.getTargetAddressSpace(LangAS::opencl_constant); in buildBlockDescriptor()
276 /*constant*/ true, linkage, AddrSpace); in buildBlockDescriptor()
1216 unsigned AddrSpace = 0; in getBlockDescriptorType() local
1218 AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_constant); in getBlockDescriptorType()
1219 BlockDescriptorType = llvm::PointerType::get(BlockDescriptorType, AddrSpace); in getBlockDescriptorType()
1272 unsigned AddrSpace = 0; in EmitBlockCallExpr() local
1274 AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBlockCallExpr()
1277 llvm::PointerType::get(CGM.getGenericBlockLiteralType(), AddrSpace); in EmitBlockCallExpr()
1443 unsigned AddrSpace = 0; in buildGlobalBlock() local
1445 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in buildGlobalBlock()
1449 /*constant*/ !IsWindows, llvm::GlobalVariable::InternalLinkage, AddrSpace); in buildGlobalBlock()