Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp115 bool isValidRewrite(Value *FromVal, Value *ToVal);
153 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
165 Value *ToPtr = ToVal; in isValidRewrite()
169 if (GEPOperator *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()
172 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp99 bool isValidRewrite(Value *FromVal, Value *ToVal);
132 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
144 Value *ToPtr = ToVal; in isValidRewrite()
148 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()
151 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp139 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()
DJumpThreading.cpp430 static void ReplaceFoldableUses(Instruction *Cond, Value *ToVal) { in ReplaceFoldableUses() argument
431 assert(Cond->getType() == ToVal->getType()); in ReplaceFoldableUses()
436 replaceNonLocalUsesWith(Cond, ToVal); in ReplaceFoldableUses()
446 I.replaceUsesOfWith(Cond, ToVal); in ReplaceFoldableUses()
/external/clang/lib/AST/
DASTImporter.cpp2394 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local
2396 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()
2397 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()
2398 FromVal == ToVal; in IsStructuralMatch()