Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1152 if (SelectInst *TrueSI = dyn_cast<SelectInst>(TrueVal)) { in visitSelectInst() local
1153 if (TrueSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
1155 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
1156 if (SI.getTrueValue() == TrueSI->getTrueValue()) in visitSelectInst()
1158 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst()
1164 if (TrueSI->getFalseValue() == FalseVal && TrueSI->hasOneUse()) { in visitSelectInst()
1165 Value *And = Builder->CreateAnd(CondVal, TrueSI->getCondition()); in visitSelectInst()
1167 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst()