Home
last modified time | relevance | path

Searched refs:opencl_constant (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm-project/clang/test/AST/
Dlanguage_address_space_attribute.cpp39 __attribute__((opencl_constant)) int *x_constant; in langas()
42 [[clang::opencl_constant]] int *z_constant; in langas()
/external/clang/include/clang/Basic/
DAddressSpaces.h32 opencl_constant, enumerator
/external/llvm-project/clang/include/clang/Basic/
DAddressSpaces.h36 opencl_constant, enumerator
/external/llvm-project/clang/lib/Basic/Targets/
DAMDGPU.h318 return LangAS::opencl_constant; in getOpenCLTypeAddrSpace()
339 return LangAS::opencl_constant; in getOpenCLBuiltinAddressSpace()
/external/llvm-project/clang/lib/Basic/
DTargetInfo.cpp454 return LangAS::opencl_constant; in getOpenCLTypeAddrSpace()
/external/clang/lib/AST/
DExprClassification.cpp617 if (CT.getQualifiers().getAddressSpace() == LangAS::opencl_constant) in IsModifiable()
DTypePrinter.cpp1598 case LangAS::opencl_constant: in print()
DType.cpp74 return T.getAddressSpace() == LangAS::opencl_constant; in isConstant()
DItaniumMangle.cpp2103 case LangAS::opencl_constant: ASString = "CLconstant"; break; in mangleQualifiers()
/external/llvm-project/clang/lib/AST/
DExprClassification.cpp650 CT.getQualifiers().getAddressSpace() == LangAS::opencl_constant) in IsModifiable()
DTypePrinter.cpp2084 case LangAS::opencl_constant: in getAddrSpaceAsString()
DMicrosoftMangle.cpp2066 case LangAS::opencl_constant: in mangleAddressSpaceType()
DType.cpp110 return T.getAddressSpace() == LangAS::opencl_constant; in isConstant()
DItaniumMangle.cpp2382 case LangAS::opencl_constant: in mangleQualifiers()
/external/llvm-project/clang/lib/CodeGen/
DCGBlocks.cpp195 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()
DCodeGenModule.cpp1404 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()
DCGDecl.cpp1462 Ty.getAddressSpace() == LangAS::opencl_constant) && in EmitAutoVarAlloca()
/external/llvm-project/clang/include/clang/Sema/
DParsedAttr.h606 return LangAS::opencl_constant; in asOpenCLLangAS()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp508 (pointeeTy.getAddressSpace() == LangAS::opencl_constant)) in GenOpenCLArgMetadata()
DCGBlocks.cpp85 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp6809 !(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()
DOpenCLBuiltins.td39 def ConstantAS : AddressSpace<"clang::LangAS::opencl_constant">;
/external/clang/lib/Sema/
DSemaDecl.cpp6841 !(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()
/external/llvm-project/clang/include/clang/AST/
DDecl.h1065 if (getType().getAddressSpace() == LangAS::opencl_constant) in hasLocalStorage()
/external/clang/include/clang/AST/
DType.h439 other.getAddressSpace() != LangAS::opencl_constant);

12