Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp451 Constant *AdjustedRHS; in visitSelectInstWithICmp() local
453 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() + 1); in visitSelectInstWithICmp()
455 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() - 1); in visitSelectInstWithICmp()
459 if ((CmpLHS == TrueVal && AdjustedRHS == FalseVal) || in visitSelectInstWithICmp()
460 (CmpLHS == FalseVal && AdjustedRHS == TrueVal)) in visitSelectInstWithICmp()
468 Constant *sextRHS = ConstantExpr::getSExt(AdjustedRHS, SelectTy); in visitSelectInstWithICmp()
477 AdjustedRHS = sextRHS; in visitSelectInstWithICmp()
481 AdjustedRHS = sextRHS; in visitSelectInstWithICmp()
483 Constant *zextRHS = ConstantExpr::getZExt(AdjustedRHS, SelectTy); in visitSelectInstWithICmp()
491 AdjustedRHS = zextRHS; in visitSelectInstWithICmp()
[all …]