Searched refs:opencl_constant (Results 1 – 25 of 36) sorted by relevance
12
39 __attribute__((opencl_constant)) int *x_constant; in langas()42 [[clang::opencl_constant]] int *z_constant; in langas()
32 opencl_constant, enumerator
36 opencl_constant, enumerator
318 return LangAS::opencl_constant; in getOpenCLTypeAddrSpace()339 return LangAS::opencl_constant; in getOpenCLBuiltinAddressSpace()
454 return LangAS::opencl_constant; in getOpenCLTypeAddrSpace()
617 if (CT.getQualifiers().getAddressSpace() == LangAS::opencl_constant) in IsModifiable()
1598 case LangAS::opencl_constant: in print()
74 return T.getAddressSpace() == LangAS::opencl_constant; in isConstant()
2103 case LangAS::opencl_constant: ASString = "CLconstant"; break; in mangleQualifiers()
650 CT.getQualifiers().getAddressSpace() == LangAS::opencl_constant) in IsModifiable()
2084 case LangAS::opencl_constant: in getAddrSpaceAsString()
2066 case LangAS::opencl_constant: in mangleAddressSpaceType()
110 return T.getAddressSpace() == LangAS::opencl_constant; in isConstant()
2382 case LangAS::opencl_constant: in mangleQualifiers()
195 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor()259 AddrSpace = C.getTargetAddressSpace(LangAS::opencl_constant); in buildBlockDescriptor()1136 AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_constant); in getBlockDescriptorType()
1404 case LangAS::opencl_constant: in ArgInfoAddressSpace()1490 (pointeeTy.getAddressSpace() == LangAS::opencl_constant)) in GenOpenCLArgMetadata()3969 AddrSpace == LangAS::opencl_constant || in GetGlobalVarAddressSpace()3999 return LangAS::opencl_constant; in getStringLiteralAddressSpace()
1462 Ty.getAddressSpace() == LangAS::opencl_constant) && in EmitAutoVarAlloca()
606 return LangAS::opencl_constant; in asOpenCLLangAS()
508 (pointeeTy.getAddressSpace() == LangAS::opencl_constant)) in GenOpenCLArgMetadata()
85 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor()
6809 !(R.getAddressSpace() == LangAS::opencl_constant || in diagnoseOpenCLTypes()7909 !(T.getAddressSpace() == LangAS::opencl_constant || in CheckVariableDeclarationType()7930 if (T.getAddressSpace() == LangAS::opencl_constant || in CheckVariableDeclarationType()7936 if (T.getAddressSpace() == LangAS::opencl_constant) in CheckVariableDeclarationType()7949 if (T.getAddressSpace() == LangAS::opencl_constant) in CheckVariableDeclarationType()12247 } else if (VDecl->getType().getAddressSpace() == LangAS::opencl_constant) { in AddInitializerToDecl()12530 Var->getType().getAddressSpace() == LangAS::opencl_constant && in ActOnUninitializedDecl()
39 def ConstantAS : AddressSpace<"clang::LangAS::opencl_constant">;
6841 !(T.getAddressSpace() == LangAS::opencl_constant || in CheckVariableDeclarationType()6863 if (T.getAddressSpace() == LangAS::opencl_constant || in CheckVariableDeclarationType()6867 if (T.getAddressSpace() == LangAS::opencl_constant) in CheckVariableDeclarationType()8203 AddressSpace == LangAS::opencl_constant) { in ActOnFunctionDeclarator()10040 Var->getType().getAddressSpace() == LangAS::opencl_constant && in ActOnUninitializedDecl()
1065 if (getType().getAddressSpace() == LangAS::opencl_constant) in hasLocalStorage()
439 other.getAddressSpace() != LangAS::opencl_constant);