Searched refs:ToVal (Results 1 – 2 of 2) sorted by relevance
393 static bool replaceFoldableUses(Instruction *Cond, Value *ToVal, in replaceFoldableUses() argument396 assert(Cond->getType() == ToVal->getType()); in replaceFoldableUses()401 Changed |= replaceNonLocalUsesWith(Cond, ToVal); in replaceFoldableUses()405 DVR.replaceVariableLocationOp(Cond, ToVal, true); in replaceFoldableUses()415 Changed |= I.replaceUsesOfWith(Cond, ToVal); in replaceFoldableUses()
1861 const llvm::APSInt &ToVal = D2->getInitVal(); in IsStructurallyEquivalent() local1862 if (FromVal.isSigned() != ToVal.isSigned()) in IsStructurallyEquivalent()1864 if (FromVal.getBitWidth() != ToVal.getBitWidth()) in IsStructurallyEquivalent()1866 if (FromVal != ToVal) in IsStructurallyEquivalent()