Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1205 if (SelectInst *TrueSI = dyn_cast<SelectInst>(TrueVal)) { in visitSelectInst() local
1206 if (TrueSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
1208 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
1209 if (SI.getTrueValue() == TrueSI->getTrueValue()) in visitSelectInst()
1211 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst()
1217 if (TrueSI->getFalseValue() == FalseVal && TrueSI->hasOneUse()) { in visitSelectInst()
1218 Value *And = Builder->CreateAnd(CondVal, TrueSI->getCondition()); in visitSelectInst()
1220 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst()