Lines Matching refs:jitstate
277 jitstate = new JITState(M);
287 FunctionPassManager &PM = jitstate->getPM(locked);
325 delete jitstate;
332 /// Module, we need re-initialize jitstate with a valid Module.
337 assert(!jitstate && "jitstate should be NULL if Modules vector is empty!");
339 jitstate = new JITState(M);
341 FunctionPassManager &PM = jitstate->getPM(locked);
357 /// removeModule - If we are removing the last Module, invalidate the jitstate
364 if (jitstate && jitstate->getModule() == M) {
365 delete jitstate;
366 jitstate = 0;
369 if (!jitstate && !Modules.empty()) {
370 jitstate = new JITState(Modules[0]);
372 FunctionPassManager &PM = jitstate->getPM(locked);
629 while (!jitstate->getPendingFunctions(locked).empty()) {
630 Function *PF = jitstate->getPendingFunctions(locked).back();
631 jitstate->getPendingFunctions(locked).pop_back();
646 jitstate->getPM(locked).run(*F);
844 jitstate->getPendingFunctions(locked).push_back(F);