Searched refs:Op0I (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1053 if (BinaryOperator *Op0I = dyn_cast<BinaryOperator>(Op0)) { in visitAnd() local 1054 Value *Op0LHS = Op0I->getOperand(0); in visitAnd() 1055 Value *Op0RHS = Op0I->getOperand(1); in visitAnd() 1056 switch (Op0I->getOpcode()) { in visitAnd() 1061 if (!Op0I->hasOneUse()) break; in visitAnd() 1068 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); in visitAnd() 1075 return BinaryOperator::Create(Op0I->getOpcode(), NewLHS, Op0RHS); in visitAnd() 1099 if (Op0I->hasOneUse() && !match(Op0LHS, m_Zero())) { in visitAnd() 1123 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) in visitAnd() 1124 if (Instruction *Res = OptAndOp(Op0I, Op0CI, AndRHS, I)) in visitAnd() [all …]
|
D | InstCombineMulDivRem.cpp | 595 if (Instruction *Op0I = dyn_cast<Instruction>(Op0)) { in commonIRemTransforms() local 596 if (SelectInst *SI = dyn_cast<SelectInst>(Op0I)) { in commonIRemTransforms() 599 } else if (isa<PHINode>(Op0I)) { in commonIRemTransforms()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1334 if (BinaryOperator *Op0I = dyn_cast<BinaryOperator>(Op0)) { in visitAnd() local 1335 Value *Op0LHS = Op0I->getOperand(0); in visitAnd() 1336 Value *Op0RHS = Op0I->getOperand(1); in visitAnd() 1337 switch (Op0I->getOpcode()) { in visitAnd() 1342 if (!Op0I->hasOneUse()) break; in visitAnd() 1349 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); in visitAnd() 1356 return BinaryOperator::Create(Op0I->getOpcode(), NewLHS, Op0RHS); in visitAnd() 1384 if (Op0I->hasOneUse() && !match(Op0LHS, m_Zero())) { in visitAnd() 1408 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) in visitAnd() 1409 if (Instruction *Res = OptAndOp(Op0I, Op0CI, AndRHS, I)) in visitAnd() [all …]
|
D | InstCombineMulDivRem.cpp | 1391 if (Instruction *Op0I = dyn_cast<Instruction>(Op0)) { in commonIRemTransforms() local 1392 if (SelectInst *SI = dyn_cast<SelectInst>(Op0I)) { in commonIRemTransforms() 1395 } else if (isa<PHINode>(Op0I)) { in commonIRemTransforms()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 513 for (unsigned Op0I = 0; Op0I < SrcNumElems; ++Op0I) { in visitBitCastInst() local 514 Value *V = Op0[Op0I]; in visitBitCastInst() 530 unsigned Op0I = 0; in visitBitCastInst() local 534 V = Builder.CreateInsertElement(V, Op0[Op0I++], Builder.getInt32(MidI), in visitBitCastInst()
|