Home | History | Annotate | Download | only in JIT

Lines Matching full:locked

285   MutexGuard locked(lock);
286 FunctionPassManager &PM = jitstate->getPM(locked);
332 MutexGuard locked(lock);
339 FunctionPassManager &PM = jitstate->getPM(locked);
360 MutexGuard locked(lock);
370 FunctionPassManager &PM = jitstate->getPM(locked);
556 MutexGuard locked(lock);
562 MutexGuard locked(lock);
574 MutexGuard locked(lock);
581 MutexGuard locked(lock);
592 MutexGuard locked(lock);
609 runJITOnFunctionUnlocked(F, locked);
615 void JIT::runJITOnFunctionUnlocked(Function *F, const MutexGuard &locked) {
618 jitTheFunction(F, locked);
622 while (!jitstate->getPendingFunctions(locked).empty()) {
623 Function *PF = jitstate->getPendingFunctions(locked).back();
624 jitstate->getPendingFunctions(locked).pop_back();
629 jitTheFunction(PF, locked);
637 void JIT::jitTheFunction(Function *F, const MutexGuard &locked) {
639 jitstate->getPM(locked).run(*F);
643 getBasicBlockAddressMap(locked).clear();
654 MutexGuard locked(lock);
675 runJITOnFunctionUnlocked(F, locked);
683 MutexGuard locked(lock);
686 getBasicBlockAddressMap(locked).find(BB);
687 if (I == getBasicBlockAddressMap(locked).end()) {
688 getBasicBlockAddressMap(locked)[BB] = Addr;
695 MutexGuard locked(lock);
696 getBasicBlockAddressMap(locked).erase(BB);
704 MutexGuard locked(lock);
707 getBasicBlockAddressMap(locked).find(BB);
708 if (I != getBasicBlockAddressMap(locked).end()) {
721 MutexGuard locked(lock);
795 MutexGuard locked(lock);
816 MutexGuard locked(lock);
817 jitstate->getPendingFunctions(locked).push_back(F);