File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,9 @@ class SPIRVToOCLBase : public InstVisitor<SPIRVToOCLBase> {
241
241
// Transform FP atomic opcode to corresponding OpenCL function name
242
242
virtual std::string mapFPAtomicName (Op OC) = 0;
243
243
244
+ void translateOpaqueTypes ();
245
+
246
+ private:
244
247
// / Transform uniform group opcode to corresponding OpenCL function name,
245
248
// / example: GroupIAdd(Reduce) => group_iadd => work_group_reduce_add |
246
249
// / sub_group_reduce_add
@@ -267,9 +270,9 @@ class SPIRVToOCLBase : public InstVisitor<SPIRVToOCLBase> {
267
270
268
271
void getParameterTypes (CallInst *CI, SmallVectorImpl<StructType *> &Tys);
269
272
270
- void translateOpaqueTypes ();
271
273
std::string translateOpaqueType (StringRef STName);
272
274
275
+ protected:
273
276
Module *M;
274
277
LLVMContext *Ctx;
275
278
};
You can’t perform that action at this time.
0 commit comments