Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1187 if (SelectInst *TrueSI = dyn_cast<SelectInst>(TrueVal)) { in visitSelectInst() local
1188 if (TrueSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
1190 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
1191 if (SI.getTrueValue() == TrueSI->getTrueValue()) in visitSelectInst()
1193 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst()
1199 if (TrueSI->getFalseValue() == FalseVal && TrueSI->hasOneUse()) { in visitSelectInst()
1200 Value *And = Builder->CreateAnd(CondVal, TrueSI->getCondition()); in visitSelectInst()
1202 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1843 if (SelectInst *TrueSI = dyn_cast<SelectInst>(TrueVal)) { in visitSelectInst() local
1844 if (TrueSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
1846 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
1847 if (SI.getTrueValue() == TrueSI->getTrueValue()) in visitSelectInst()
1849 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst()
1855 if (TrueSI->getFalseValue() == FalseVal && TrueSI->hasOneUse()) { in visitSelectInst()
1856 Value *And = Builder.CreateAnd(CondVal, TrueSI->getCondition()); in visitSelectInst()
1858 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp867 if (SelectInst *TrueSI = dyn_cast<SelectInst>(TrueVal)) { in visitSelectInst() local
868 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
869 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst()