Home
last modified time | relevance | path

Searched refs:ToVal (Results 1 – 3 of 3) 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/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()