Searched refs:MappedOp (Results 1 – 3 of 3) sorted by relevance
611 if (std::optional<Metadata *> MappedOp = M.mapSimpleMetadata(Op)) { in tryToMapOperand() local614 assert((!*MappedOp || M.getVM().count(CMD->getValue()) || in tryToMapOperand()621 return *MappedOp; in tryToMapOperand()659 if (std::optional<Metadata *> MappedOp = M.getVM().getMappedMD(Op)) in getMappedOp() local660 return *MappedOp; in getMappedOp()753 if (std::optional<Metadata *> MappedOp = tryToMapOperand(Op)) { in visitOperands() local755 HasChanged |= Op != *MappedOp; in visitOperands()806 if (std::optional<Metadata *> MappedOp = getMappedOp(Old)) in mapNodesInPOT() local807 return *MappedOp; in mapNodesInPOT()845 if (std::optional<Metadata *> MappedOp = tryToMapOperand(Old)) in map() local[all …]
699 auto MappedOp = VMap ? cast<CallInst>((*VMap)[Op]) : Op; in replaceSwiftErrorOps() local700 IRBuilder<> Builder(MappedOp); in replaceSwiftErrorOps()710 auto Value = MappedOp->getArgOperand(0); in replaceSwiftErrorOps()717 MappedOp->replaceAllUsesWith(MappedResult); in replaceSwiftErrorOps()718 MappedOp->eraseFromParent(); in replaceSwiftErrorOps()
2042 for (auto &[OldOp, MappedOp] : OperandsToRemap) in cloneInstructions()2043 DbgInstruction->replaceVariableLocationOp(OldOp, MappedOp); in cloneInstructions()2061 for (auto &[OldOp, MappedOp] : OperandsToRemap) in cloneInstructions()2062 DPV->replaceVariableLocationOp(OldOp, MappedOp); in cloneInstructions()