Lines Matching full:locked
286 MutexGuard locked(lock);
287 FunctionPassManager &PM = jitstate->getPM(locked);
334 MutexGuard locked(lock);
341 FunctionPassManager &PM = jitstate->getPM(locked);
362 MutexGuard locked(lock);
372 FunctionPassManager &PM = jitstate->getPM(locked);
563 MutexGuard locked(lock);
569 MutexGuard locked(lock);
581 MutexGuard locked(lock);
588 MutexGuard locked(lock);
599 MutexGuard locked(lock);
616 runJITOnFunctionUnlocked(F, locked);
622 void JIT::runJITOnFunctionUnlocked(Function *F, const MutexGuard &locked) {
625 jitTheFunction(F, locked);
629 while (!jitstate->getPendingFunctions(locked).empty()) {
630 Function *PF = jitstate->getPendingFunctions(locked).back();
631 jitstate->getPendingFunctions(locked).pop_back();
636 jitTheFunction(PF, locked);
644 void JIT::jitTheFunction(Function *F, const MutexGuard &locked) {
646 jitstate->getPM(locked).run(*F);
650 getBasicBlockAddressMap(locked).clear();
661 MutexGuard locked(lock);
682 runJITOnFunctionUnlocked(F, locked);
690 MutexGuard locked(lock);
693 getBasicBlockAddressMap(locked).find(BB);
694 if (I == getBasicBlockAddressMap(locked).end()) {
695 getBasicBlockAddressMap(locked)[BB] = Addr;
702 MutexGuard locked(lock);
703 getBasicBlockAddressMap(locked).erase(BB);
711 MutexGuard locked(lock);
714 getBasicBlockAddressMap(locked).find(BB);
715 if (I != getBasicBlockAddressMap(locked).end()) {
748 MutexGuard locked(lock);
822 MutexGuard locked(lock);
843 MutexGuard locked(lock);
844 jitstate->getPendingFunctions(locked).push_back(F);