class TargetCodeGenInfo::TargetOpenCLBlockHelper
Declaration
class TargetCodeGenInfo::TargetOpenCLBlockHelper { /* full declaration omitted */ };
Description
Interface class for filling custom fields of a block literal for OpenCL.
Declared at: clang/lib/CodeGen/TargetInfo.h:304
Method Overview
- public TargetOpenCLBlockHelper()
- public virtual bool areAllCustomFieldValuesConstant(const clang::CodeGen::CGBlockInfo & Info)
- public virtual llvm::SmallVector<llvm::Type *, 1> getCustomFieldTypes()
- public virtual llvm::SmallVector<ValueTy, 1> getCustomFieldValues(clang::CodeGen::CodeGenFunction & CGF, const clang::CodeGen::CGBlockInfo & Info)
- public virtual llvm::SmallVector<llvm::Constant *, 1> getCustomFieldValues(clang::CodeGen::CodeGenModule & CGM, const clang::CodeGen::CGBlockInfo & Info)
- public virtual ~TargetOpenCLBlockHelper()
Methods
¶TargetOpenCLBlockHelper()
TargetOpenCLBlockHelper()
Declared at: clang/lib/CodeGen/TargetInfo.h:307
¶virtual bool areAllCustomFieldValuesConstant(
const clang::CodeGen::CGBlockInfo& Info)
virtual bool areAllCustomFieldValuesConstant(
const clang::CodeGen::CGBlockInfo& Info)
Declared at: clang/lib/CodeGen/TargetInfo.h:314
Parameters
- const clang::CodeGen::CGBlockInfo& Info
¶virtual llvm::SmallVector<llvm::Type*, 1>
getCustomFieldTypes()
virtual llvm::SmallVector<llvm::Type*, 1>
getCustomFieldTypes()
Description
Get the custom field types for OpenCL blocks.
Declared at: clang/lib/CodeGen/TargetInfo.h:310
¶virtual llvm::SmallVector<ValueTy, 1>
getCustomFieldValues(
clang::CodeGen::CodeGenFunction& CGF,
const clang::CodeGen::CGBlockInfo& Info)
virtual llvm::SmallVector<ValueTy, 1>
getCustomFieldValues(
clang::CodeGen::CodeGenFunction& CGF,
const clang::CodeGen::CGBlockInfo& Info)
Description
Get the custom field values for OpenCL blocks.
Declared at: clang/lib/CodeGen/TargetInfo.h:313
Parameters
- clang::CodeGen::CodeGenFunction& CGF
- const clang::CodeGen::CGBlockInfo& Info
¶virtual llvm::SmallVector<llvm::Constant*, 1>
getCustomFieldValues(
clang::CodeGen::CodeGenModule& CGM,
const clang::CodeGen::CGBlockInfo& Info)
virtual llvm::SmallVector<llvm::Constant*, 1>
getCustomFieldValues(
clang::CodeGen::CodeGenModule& CGM,
const clang::CodeGen::CGBlockInfo& Info)
Description
Get the custom field values for OpenCL blocks if all values are LLVM constants.
Declared at: clang/lib/CodeGen/TargetInfo.h:318
Parameters
- clang::CodeGen::CodeGenModule& CGM
- const clang::CodeGen::CGBlockInfo& Info
¶virtual ~TargetOpenCLBlockHelper()
virtual ~TargetOpenCLBlockHelper()
Declared at: clang/lib/CodeGen/TargetInfo.h:308