Lines Matching refs:mapValue
146 Value *mapValue(const Value *V);
151 return cast_or_null<Constant>(mapValue(C)); in mapConstant()
338 Value *Mapper::mapValue(const Value *V) { in mapValue() function in Mapper
383 if (Value *LV = mapValue(LAM->getValue())) { in mapValue()
404 } else if (Value *LV = mapValue(VAM->getValue())) { in mapValue()
439 auto *Val = mapValue(E->getGlobalValue()); in mapValue()
453 auto Mapped = mapValue(V); in mapValue()
525 Function *F = cast<Function>(mapValue(BA.getFunction())); in mapBlockAddress()
535 BB = cast_or_null<BasicBlock>(mapValue(BA.getBasicBlock())); in mapBlockAddress()
835 return wrapConstantAsMetadata(*CMD, mapValue(CMD->getValue())); in mapSimpleMetadata()
891 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB)); in flush()
899 Value *V = mapValue(Op); in remapInstruction()
911 Value *V = mapValue(PN->getIncomingBlock(i)); in remapInstruction()
983 Op = mapValue(Op); in remapFunction()
1025 auto *E1 = cast<Constant>(mapValue(S->getOperand(0))); in mapAppendingVariable()
1026 auto *E2 = cast<Constant>(mapValue(S->getOperand(1))); in mapAppendingVariable()
1030 NewV = cast_or_null<Constant>(mapValue(V)); in mapAppendingVariable()
1138 Value *ValueMapper::mapValue(const Value &V) { in mapValue() function in ValueMapper
1139 return FlushingMapper(pImpl)->mapValue(&V); in mapValue()
1143 return cast_or_null<Constant>(mapValue(C)); in mapConstant()