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

Method InsertPass

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

Source from the content-addressed store, hash-verified

47 void AddDefaultPasses(FEXCore::Context::ContextImpl* ctx);
48 void AddDefaultValidationPasses();
49 Pass* InsertPass(fextl::unique_ptr<Pass> Pass, fextl::string Name = "") {
50 auto PassPtr = InsertAt(Passes.end(), std::move(Pass))->get();
51
52 if (!Name.empty()) {
53 NameToPassMaping[Name] = PassPtr;
54 }
55 return PassPtr;
56 }
57
58 void InsertRegisterAllocationPass(FEXCore::Context::ContextImpl* ctx);
59

Callers

nothing calls this directly

Calls 2

getMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected