Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DASTDiagnostic.cpp1402 APValue &ToVal = ToResult.Val; in IsEqualExpr() local
1404 if (FromVal.getKind() != ToVal.getKind()) return false; in IsEqualExpr()
1408 return FromVal.getInt() == ToVal.getInt(); in IsEqualExpr()
1411 APValue::LValueBase ToBase = ToVal.getLValueBase(); in IsEqualExpr()
1420 return FromVal.getMemberPointerDecl() == ToVal.getMemberPointerDecl(); in IsEqualExpr()
DASTImporter.cpp2273 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local
2275 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()
2276 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()
2277 FromVal == ToVal; in IsStructuralMatch()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp127 bool isValidRewrite(Value *FromVal, Value *ToVal);
166 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
178 Value *ToPtr = ToVal; in isValidRewrite()
182 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()
185 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()