Lines Matching defs:mapValue
146 Value *mapValue(const Value *V);
152 return cast_or_null<Constant>(mapValue(C));
339 Value *Mapper::mapValue(const Value *V) {
384 if (Value *LV = mapValue(LAM->getValue())) {
402 // be mapped via mapValue. The exceptions are constants when we have no
408 } else if (Value *LV = mapValue(VAM->getValue())) {
445 auto *Val = mapValue(E->getGlobalValue());
459 auto *Val = mapValue(NC->getGlobalValue());
465 auto Mapped = mapValue(V);
559 auto *NewAddr = mapValue(V.getAddress());
572 NewVals.push_back(mapValue(Val));
592 Function *F = cast<Function>(mapValue(BA.getFunction()));
602 BB = cast_or_null<BasicBlock>(mapValue(BA.getBasicBlock()));
902 return wrapConstantAsMetadata(*CMD, mapValue(CMD->getValue()));
965 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB));
973 Value *V = mapValue(Op);
985 Value *V = mapValue(PN->getIncomingBlock(i));
1058 Op = mapValue(Op);
1104 auto *E1 = cast<Constant>(mapValue(S->getOperand(0)));
1105 auto *E2 = cast<Constant>(mapValue(S->getOperand(1)));
1109 NewV = cast_or_null<Constant>(mapValue(V));
1219 Value *ValueMapper::mapValue(const Value &V) {
1220 return FlushingMapper(pImpl)->mapValue(&V);
1224 return cast_or_null<Constant>(mapValue(C));