Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1259 if (BinaryOperator *SI0 = dyn_cast<BinaryOperator>(Op0)) in visitAnd() local
1260 if (SI0->isShift() && SI0->getOpcode() == SI1->getOpcode() && in visitAnd()
1261 SI0->getOperand(1) == SI1->getOperand(1) && in visitAnd()
1262 (SI0->hasOneUse() || SI1->hasOneUse())) { in visitAnd()
1264 Builder->CreateAnd(SI0->getOperand(0), SI1->getOperand(0), in visitAnd()
1265 SI0->getName()); in visitAnd()
1944 if (BinaryOperator *SI0 = dyn_cast<BinaryOperator>(Op0)) in visitOr() local
1945 if (SI0->isShift() && SI0->getOpcode() == SI1->getOpcode() && in visitOr()
1946 SI0->getOperand(1) == SI1->getOperand(1) && in visitOr()
1947 (SI0->hasOneUse() || SI1->hasOneUse())) { in visitOr()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp633 if (auto *SI0 = dyn_cast<SelectInst>(LHS)) { in SimplifyUsingDistributiveLaws() local
635 if (SI0->getCondition() == SI1->getCondition()) { in SimplifyUsingDistributiveLaws()
637 if (Value *V = SimplifyBinOp(TopLevelOpcode, SI0->getFalseValue(), in SimplifyUsingDistributiveLaws()
639 SI = Builder->CreateSelect(SI0->getCondition(), in SimplifyUsingDistributiveLaws()
641 SI0->getTrueValue(), in SimplifyUsingDistributiveLaws()
644 if (Value *V = SimplifyBinOp(TopLevelOpcode, SI0->getTrueValue(), in SimplifyUsingDistributiveLaws()
647 SI0->getCondition(), V, in SimplifyUsingDistributiveLaws()
648 Builder->CreateBinOp(TopLevelOpcode, SI0->getFalseValue(), in SimplifyUsingDistributiveLaws()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp10270 auto SI0 = SelectTruncOp[0].find(PromOp.getNode()); in DAGCombineExtBoolTrunc() local
10271 if (SI0 != SelectTruncOp[0].end()) in DAGCombineExtBoolTrunc()
10272 Ops[0] = DAG.getNode(ISD::TRUNCATE, dl, SI0->second, Ops[0]); in DAGCombineExtBoolTrunc()