Lines Matching refs:LangAS
176 OrigLTy, /*FromAS=*/getContext().getTargetAddressSpace(LangAS::Default), in classifyKernelArgumentType()
177 /*ToAS=*/getContext().getTargetAddressSpace(LangAS::cuda_device)); in classifyKernelArgumentType()
190 getContext().getTargetAddressSpace(LangAS::opencl_constant), in classifyKernelArgumentType()
257 getContext().getTargetAddressSpace(LangAS::opencl_private)); in classifyArgumentType()
287 LangAS getASTAllocaAddressSpace() const override { in getASTAllocaAddressSpace()
291 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
383 CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant)); in emitTargetGlobals()
437 PT->getContext(), Ctx.getTargetAddressSpace(LangAS::opencl_generic)); in getNullPointer()
442 LangAS
448 LangAS DefaultGlobalAS = getLangASFromTargetAS( in getGlobalVarAddressSpace()
449 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global)); in getGlobalVarAddressSpace()
453 LangAS AddrSpace = D->getType().getAddressSpace(); in getGlobalVarAddressSpace()
454 if (AddrSpace != LangAS::Default) in getGlobalVarAddressSpace()