Lines Matching refs:MemInst
598 ParseMemoryInst MemInst(Inst, TTI);
600 if (MemInst.isValid() && MemInst.isLoad()) {
603 if (MemInst.isVolatile() || !MemInst.isUnordered()) {
610 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand());
612 InVal.MatchingId == MemInst.getMatchingId() &&
614 !MemInst.isVolatile() && MemInst.isUnordered() &&
616 InVal.IsAtomic >= MemInst.isAtomic()) {
632 MemInst.getPointerOperand(),
633 LoadValue(Inst, CurrentGeneration, MemInst.getMatchingId(),
634 MemInst.isAtomic()));
645 !(MemInst.isValid() && !MemInst.mayReadFromMemory()))
686 if (MemInst.isValid() && MemInst.isStore()) {
687 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand());
691 InVal.MatchingId == MemInst.getMatchingId() &&
693 !MemInst.isVolatile() && MemInst.isUnordered()) {
696 MemInst.getPointerOperand()) &&
714 if (MemInst.isValid() && MemInst.isStore()) {
727 if (LastStoreMemInst.isMatchingMemLoc(MemInst)) {
744 MemInst.getPointerOperand(),
745 LoadValue(Inst, CurrentGeneration, MemInst.getMatchingId(),
746 MemInst.isAtomic()));
755 if (MemInst.isUnordered() && !MemInst.isVolatile())