Lines Matching refs:getVM

178   ValueToValueMapTy &getVM() { return *MCs[CurrentMCID].VM; }  in getVM()  function in __anoncb3f1d700111::Mapper
340 ValueToValueMapTy::iterator I = getVM().find(V); in mapValue()
343 if (I != getVM().end()) { in mapValue()
351 getVM()[V] = NewV; in mapValue()
361 return getVM()[V] = const_cast<Value *>(V); in mapValue()
376 return getVM()[V] = const_cast<Value *>(V); in mapValue()
426 return getVM()[V] = const_cast<Value *>(V); in mapValue()
431 return getVM()[V] = const_cast<Value *>(V); in mapValue()
432 return getVM()[V] = MetadataAsValue::get(V->getContext(), MappedMD); in mapValue()
448 return getVM()[E] = DSOLocalEquivalent::get(GV); in mapValue()
454 return getVM()[E] = llvm::ConstantExpr::getBitCast( in mapValue()
461 return getVM()[NC] = NoCFIValue::get(GV); in mapValue()
493 return getVM()[V] = C; in mapValue()
520 return getVM()[V] = CE->getWithOperands(Ops, NewTy, false, NewSrcTy); in mapValue()
522 return getVM()[V] = ConstantArray::get(cast<ArrayType>(NewTy), Ops); in mapValue()
524 return getVM()[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops); in mapValue()
526 return getVM()[V] = ConstantVector::get(Ops); in mapValue()
529 return getVM()[V] = PoisonValue::get(NewTy); in mapValue()
531 return getVM()[V] = UndefValue::get(NewTy); in mapValue()
533 return getVM()[V] = ConstantAggregateZero::get(NewTy); in mapValue()
535 return getVM()[V] = Constant::getNullValue(NewTy); in mapValue()
537 return getVM()[V] = ConstantPointerNull::get(cast<PointerType>(NewTy)); in mapValue()
605 return getVM()[&BA] = BlockAddress::get(F, BB ? BB : BA.getBasicBlock()); in mapBlockAddress()
609 getVM().MD()[Key].reset(Val); in mapToMetadata()
624 assert((!*MappedOp || M.getVM().count(CMD->getValue()) || in tryToMapOperand()
625 M.getVM().getMappedMD(Op)) && in tryToMapOperand()
628 assert((isa<MDString>(Op) || M.getVM().getMappedMD(Op)) && in tryToMapOperand()
642 assert(!M.getVM().getMappedMD(&N) && "Expected an unmapped node"); in mapDistinctNode()
669 if (std::optional<Metadata *> MappedOp = M.getVM().getMappedMD(Op)) in getMappedOp()
676 return wrapConstantAsMetadata(*CMD, M.getVM().lookup(CMD->getValue())); in getMappedOp()
886 if (std::optional<Metadata *> NewMD = getVM().getMappedMD(MD)) in mapSimpleMetadata()