Searched refs:ToVal (Results 1 – 2 of 2) sorted by relevance
1711 const llvm::APSInt &ToVal = D2->getInitVal(); in IsStructurallyEquivalent() local1712 if (FromVal.isSigned() != ToVal.isSigned()) in IsStructurallyEquivalent()1714 if (FromVal.getBitWidth() != ToVal.getBitWidth()) in IsStructurallyEquivalent()1716 if (FromVal != ToVal) in IsStructurallyEquivalent()
490 static bool replaceFoldableUses(Instruction *Cond, Value *ToVal, in replaceFoldableUses() argument493 assert(Cond->getType() == ToVal->getType()); in replaceFoldableUses()498 Changed |= replaceNonLocalUsesWith(Cond, ToVal); in replaceFoldableUses()508 Changed |= I.replaceUsesOfWith(Cond, ToVal); in replaceFoldableUses()