Searched refs:ToVal (Results 1 – 2 of 2) sorted by relevance
392 static bool replaceFoldableUses(Instruction *Cond, Value *ToVal, in replaceFoldableUses() argument395 assert(Cond->getType() == ToVal->getType()); in replaceFoldableUses()400 Changed |= replaceNonLocalUsesWith(Cond, ToVal); in replaceFoldableUses()404 DVR.replaceVariableLocationOp(Cond, ToVal, true); in replaceFoldableUses()414 Changed |= I.replaceUsesOfWith(Cond, ToVal); in replaceFoldableUses()
2058 const llvm::APSInt &ToVal = D2->getInitVal(); in IsStructurallyEquivalent() local2059 if (FromVal.isSigned() != ToVal.isSigned()) in IsStructurallyEquivalent()2061 if (FromVal.getBitWidth() != ToVal.getBitWidth()) in IsStructurallyEquivalent()2063 if (FromVal != ToVal) in IsStructurallyEquivalent()