Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp384 Constant *AdjustedRHS; in visitSelectInstWithICmp() local
386 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() + 1); in visitSelectInstWithICmp()
388 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() - 1); in visitSelectInstWithICmp()
392 if ((CmpLHS == TrueVal && AdjustedRHS == FalseVal) || in visitSelectInstWithICmp()
393 (CmpLHS == FalseVal && AdjustedRHS == TrueVal)) in visitSelectInstWithICmp()
401 Constant *sextRHS = ConstantExpr::getSExt(AdjustedRHS, SelectTy); in visitSelectInstWithICmp()
410 AdjustedRHS = sextRHS; in visitSelectInstWithICmp()
414 AdjustedRHS = sextRHS; in visitSelectInstWithICmp()
416 Constant *zextRHS = ConstantExpr::getZExt(AdjustedRHS, SelectTy); in visitSelectInstWithICmp()
424 AdjustedRHS = zextRHS; in visitSelectInstWithICmp()
[all …]