23 bool SpeedOverMemory) {
26 Coinit |= COINIT_APARTMENTTHREADED;
28 Coinit |= COINIT_MULTITHREADED;
30 Coinit |= COINIT_SPEED_OVER_MEMORY;
31 ::CoInitializeEx(
nullptr, Coinit);
InitializeCOMRAII(COMThreadingMode Threading, bool SpeedOverMemory=false)
This is an optimization pass for GlobalISel generic memory operations.