Lines Matching refs:LangAS
185 OrigLTy, /*FromAS=*/getContext().getTargetAddressSpace(LangAS::Default), in classifyKernelArgumentType()
186 /*ToAS=*/getContext().getTargetAddressSpace(LangAS::cuda_device)); in classifyKernelArgumentType()
199 getContext().getTargetAddressSpace(LangAS::opencl_constant), in classifyKernelArgumentType()
274 getContext().getTargetAddressSpace(LangAS::opencl_private)); in classifyArgumentType()
304 LangAS getASTAllocaAddressSpace() const override { in getASTAllocaAddressSpace()
308 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
423 CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant)); in emitTargetGlobals()
477 PT->getContext(), Ctx.getTargetAddressSpace(LangAS::opencl_generic)); in getNullPointer()
482 LangAS
488 LangAS DefaultGlobalAS = getLangASFromTargetAS( in getGlobalVarAddressSpace()
489 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global)); in getGlobalVarAddressSpace()
493 LangAS AddrSpace = D->getType().getAddressSpace(); in getGlobalVarAddressSpace()
494 if (AddrSpace != LangAS::Default) in getGlobalVarAddressSpace()