MCPcopy Create free account
hub / github.com/csyonghe/Spire / MemoryAccessToString

Function MemoryAccessToString

Source/SpireCore/SpirVCodeGen.cpp:159–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 };
158
159 String MemoryAccessToString(MemoryAccess ma)
160 {
161 switch (ma)
162 {
163 case MemoryAccess::None:
164 return "None";
165 case MemoryAccess::Volatile:
166 return "Volatile";
167 case MemoryAccess::Aligned:
168 return "Aligned";
169 case MemoryAccess::Nontemporal:
170 return "Nontempora";
171 default:
172 throw NotImplementedException("Unknown MemoryAccess");
173 }
174 }
175
176 enum class Decoration
177 {

Callers 1

OpLoadMethod · 0.85

Calls 1

Tested by

no test coverage detected