Lines Matching defs:To
1721 Value *BlockAddress::handleOperandChangeImpl(Value *From, Value *To) {
1728 NewF = cast<Function>(To->stripPointerCasts());
1731 NewBB = cast<BasicBlock>(To);
3084 /// 'From' to be uses of 'To'. This must update the uniquing data structures
3087 /// Note that we intentionally replace all uses of From with To here. Consider
3094 void Constant::handleOperandChange(Value *From, Value *To) {
3101 Replacement = cast<Name>(this)->handleOperandChangeImpl(From, To); \
3121 Value *ConstantArray::handleOperandChangeImpl(Value *From, Value *To) {
3122 assert(isa<Constant>(To) && "Cannot make Constant refer to non-constant!");
3123 Constant *ToC = cast<Constant>(To);
3162 Value *ConstantStruct::handleOperandChangeImpl(Value *From, Value *To) {
3163 assert(isa<Constant>(To) && "Cannot make Constant refer to non-constant!");
3164 Constant *ToC = cast<Constant>(To);
3198 Value *ConstantVector::handleOperandChangeImpl(Value *From, Value *To) {
3199 assert(isa<Constant>(To) && "Cannot make Constant refer to non-constant!");
3200 Constant *ToC = cast<Constant>(To);
3226 Constant *To = cast<Constant>(ToV);
3236 Op = To;
3247 NewOps, this, From, To, NumUpdated, OperandNo);