// slang-ir-ssa-register-allocate.h #pragma once #include "slang-ir.h" namespace Slang { struct IRDominatorTree; struct RegisterInfo : RefObject { IRType* type; List insts; }; struct RegisterAllocationResult { OrderedDictionary>> mapTypeToRegisterList; Dictionary> mapInstToRegister; }; RegisterAllocationResult allocateRegistersForFunc( IRGlobalValueWithCode* func, RefPtr& inOutDom, bool allocateForCompositeTypesOnly); } // namespace Slang