MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / InsertValidationPass

Method InsertValidationPass

FEXCore/Source/Interface/IR/PassManager.h:95–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93#if defined(ASSERTIONS_ENABLED) && ASSERTIONS_ENABLED
94 fextl::vector<fextl::unique_ptr<Pass>> ValidationPasses;
95 void InsertValidationPass(fextl::unique_ptr<Pass> Pass, fextl::string Name = "") {
96 Pass->RegisterPassManager(this);
97 auto PassPtr = ValidationPasses.emplace_back(std::move(Pass)).get();
98
99 if (!Name.empty()) {
100 NameToPassMaping[Name] = PassPtr;
101 }
102 }
103#endif
104
105 FEX_CONFIG_OPT(Is64BitMode, IS64BIT_MODE);

Callers

nothing calls this directly

Calls 2

RegisterPassManagerMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected