static PassManagerBuilder getBuilder() { PassManagerBuilder Builder; Builder.VerifyInput = false; Builder.VerifyOutput = false; Builder.OptLevel = 3; Builder.addGlobalExtension(PassManagerBuilder::EP_EarlyAsPossible, registerPolly); return Builder; }
static PassManagerBuilder getDebugBuilder() { PassManagerBuilder Builder; Builder.VerifyInput = true; Builder.VerifyOutput = true; Builder.OptLevel = 0; Builder.DisableUnrollLoops = true; Builder.DisableTailCalls = true; Builder.addGlobalExtension(PassManagerBuilder::EP_EarlyAsPossible, registerPolly); return Builder; }