Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1231 if (BinaryOperator *Op0I = dyn_cast<BinaryOperator>(Op0)) { in visitAnd() local
1232 Value *Op0LHS = Op0I->getOperand(0); in visitAnd()
1233 Value *Op0RHS = Op0I->getOperand(1); in visitAnd()
1234 switch (Op0I->getOpcode()) { in visitAnd()
1239 if (!Op0I->hasOneUse()) break; in visitAnd()
1246 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); in visitAnd()
1253 return BinaryOperator::Create(Op0I->getOpcode(), NewLHS, Op0RHS); in visitAnd()
1277 if (Op0I->hasOneUse() && !match(Op0LHS, m_Zero())) { in visitAnd()
1301 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) in visitAnd()
1302 if (Instruction *Res = OptAndOp(Op0I, Op0CI, AndRHS, I)) in visitAnd()
[all …]
DInstCombineMulDivRem.cpp1351 if (Instruction *Op0I = dyn_cast<Instruction>(Op0)) { in commonIRemTransforms() local
1352 if (SelectInst *SI = dyn_cast<SelectInst>(Op0I)) { in commonIRemTransforms()
1355 } else if (isa<PHINode>(Op0I)) { in commonIRemTransforms()
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp504 for (unsigned Op0I = 0; Op0I < SrcNumElems; ++Op0I) { in visitBitCastInst() local
505 Value *V = Op0[Op0I]; in visitBitCastInst()
521 unsigned Op0I = 0; in visitBitCastInst() local
525 V = Builder.CreateInsertElement(V, Op0[Op0I++], Builder.getInt32(MidI), in visitBitCastInst()