Home
last modified time | relevance | path

Searched refs:ToVal (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp140 bool isValidRewrite(Value *FromVal, Value *ToVal);
173 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
185 Value *ToPtr = ToVal; in isValidRewrite()
189 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()
192 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
H A DJumpThreading.cpp435 static void ReplaceFoldableUses(Instruction *Cond, Value *ToVal) { in ReplaceFoldableUses() argument
436 assert(Cond->getType() == ToVal->getType()); in ReplaceFoldableUses()
441 replaceNonLocalUsesWith(Cond, ToVal); in ReplaceFoldableUses()
451 I.replaceUsesOfWith(Cond, ToVal); in ReplaceFoldableUses()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTImporter.cpp2040 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local
2042 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()
2043 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()
2044 FromVal == ToVal; in IsStructuralMatch()