Lines Matching defs:MemoMap
249 UnwindDestMemoTy &MemoMap) {
254 // We only put pads on the worklist that aren't in the MemoMap. When
258 assert(!MemoMap.count(CurrentPad));
284 auto Memo = MemoMap.find(ChildPad);
285 if (Memo == MemoMap.end()) {
322 auto Memo = MemoMap.find(ChildPad);
323 if (Memo == MemoMap.end()) {
368 MemoMap[ExitedPad] = UnwindDestToken;
400 UnwindDestMemoTy &MemoMap) {
408 auto Memo = MemoMap.find(EHPad);
409 if (Memo != MemoMap.end())
413 Value *UnwindDestToken = getUnwindDestTokenHelper(EHPad, MemoMap);
414 assert((UnwindDestToken == nullptr) != (MemoMap.count(EHPad) != 0));
423 MemoMap[EHPad] = nullptr;
436 // If the MemoMap had an entry mapping AncestorPad to nullptr, since we
442 // find a null entry in the MemoMap for AncestorPad.
443 assert(!MemoMap.count(AncestorPad) || MemoMap[AncestorPad]);
444 auto AncestorMemo = MemoMap.find(AncestorPad);
445 if (AncestorMemo == MemoMap.end()) {
446 UnwindDestToken = getUnwindDestTokenHelper(AncestorPad, MemoMap);
453 MemoMap[LastUselessPad] = nullptr;
464 // and since any time it finds information it records it in the MemoMap for
475 auto Memo = MemoMap.find(UselessPad);
476 if (Memo != MemoMap.end() && Memo->second) {
488 // the MemoMap (mapping it to nullptr), it must be one of the TempMemos
495 // the MemoMap on that invocation, which isn't the case if we got here.
496 assert(!MemoMap.count(UselessPad) || TempMemos.count(UselessPad));
504 MemoMap[UselessPad] = UnwindDestToken;