Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DASTDiagnostic.cpp1340 APValue &ToVal = ToResult.Val; in IsEqualExpr() local
1342 if (FromVal.getKind() != ToVal.getKind()) return false; in IsEqualExpr()
1346 return FromVal.getInt() == ToVal.getInt(); in IsEqualExpr()
1349 APValue::LValueBase ToBase = ToVal.getLValueBase(); in IsEqualExpr()
1358 return FromVal.getMemberPointerDecl() == ToVal.getMemberPointerDecl(); in IsEqualExpr()
DASTImporter.cpp2221 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local
2223 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()
2224 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()
2225 FromVal == ToVal; in IsStructuralMatch()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp108 bool isValidRewrite(Value *FromVal, Value *ToVal);
143 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
155 Value *ToPtr = ToVal; in isValidRewrite()
159 if (GEPOperator *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()
162 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()