Lines Matching refs:LangAS
315 LangAS getOpenCLTypeAddrSpace(OpenCLTypeKind TK) const override { in getOpenCLTypeAddrSpace()
318 return LangAS::opencl_constant; in getOpenCLTypeAddrSpace()
323 return LangAS::opencl_global; in getOpenCLTypeAddrSpace()
330 LangAS getOpenCLBuiltinAddressSpace(unsigned AS) const override { in getOpenCLBuiltinAddressSpace()
333 return LangAS::opencl_generic; in getOpenCLBuiltinAddressSpace()
335 return LangAS::opencl_global; in getOpenCLBuiltinAddressSpace()
337 return LangAS::opencl_local; in getOpenCLBuiltinAddressSpace()
339 return LangAS::opencl_constant; in getOpenCLBuiltinAddressSpace()
341 return LangAS::opencl_private; in getOpenCLBuiltinAddressSpace()
347 LangAS getCUDABuiltinAddressSpace(unsigned AS) const override { in getCUDABuiltinAddressSpace()
348 return LangAS::Default; in getCUDABuiltinAddressSpace()
351 llvm::Optional<LangAS> getConstantAddressSpace() const override { in getConstantAddressSpace()
392 uint64_t getNullPointerValue(LangAS AS) const override { in getNullPointerValue()
394 return (AS == LangAS::opencl_local || AS == LangAS::opencl_private) in getNullPointerValue()