Lines Matching defs:mapValue
148 Value *mapValue(const Value *V);
154 return cast_or_null<Constant>(mapValue(C));
341 Value *Mapper::mapValue(const Value *V) {
386 if (Value *LV = mapValue(LAM->getValue())) {
403 // be mapped via mapValue. The exceptions are constants when we have no
409 } else if (Value *LV = mapValue(VAM->getValue())) {
446 auto *Val = mapValue(E->getGlobalValue());
460 auto *Val = mapValue(NC->getGlobalValue());
466 auto Mapped = mapValue(V);
560 auto *NewAddr = mapValue(V.getAddress());
572 NewVals.push_back(mapValue(Val));
591 Function *F = cast<Function>(mapValue(BA.getFunction()));
601 BB = cast_or_null<BasicBlock>(mapValue(BA.getBasicBlock()));
901 return wrapConstantAsMetadata(*CMD, mapValue(CMD->getValue()));
971 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB));
979 Value *V = mapValue(Op);
991 Value *V = mapValue(PN->getIncomingBlock(i));
1064 Op = mapValue(Op);
1110 auto *E1 = cast<Constant>(mapValue(S->getOperand(0)));
1111 auto *E2 = cast<Constant>(mapValue(S->getOperand(1)));
1115 NewV = cast_or_null<Constant>(mapValue(V));
1226 Value *ValueMapper::mapValue(const Value &V) {
1227 return FlushingMapper(pImpl)->mapValue(&V);
1231 return cast_or_null<Constant>(mapValue(C));