Searched refs:Op0I (Results 1 – 8 of 8) 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 631 for (unsigned Op0I = 0; Op0I < SrcNumElems; ++Op0I) { in visitBitCastInst() local 632 Value *V = Op0[Op0I]; in visitBitCastInst() 648 unsigned Op0I = 0; in visitBitCastInst() local 652 V = Builder.CreateInsertElement(V, Op0[Op0I++], Builder.getInt32(MidI), in visitBitCastInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1492 if (BinaryOperator *Op0I = dyn_cast<BinaryOperator>(Op0)) { in visitAnd() local 1495 switch (Op0I->getOpcode()) { in visitAnd() 1505 if (match(Op0I, m_c_BinOp(m_ZExt(m_Value(X)), m_ConstantInt(C1)))) { in visitAnd() 1509 Value *Op0LHS = Op0I->getOperand(0); in visitAnd() 1511 BinOp = Builder.CreateBinOp(Op0I->getOpcode(), X, TruncC1); in visitAnd() 1513 BinOp = Builder.CreateBinOp(Op0I->getOpcode(), TruncC1, X); in visitAnd() 1521 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) in visitAnd() 1522 if (Instruction *Res = OptAndOp(Op0I, Op0CI, AndRHS, I)) in visitAnd() 2607 if (BinaryOperator *Op0I = dyn_cast<BinaryOperator>(Op0)) { in visitXor() local 2608 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) { in visitXor() [all …]
|
D | InstCombineMulDivRem.cpp | 1276 if (Instruction *Op0I = dyn_cast<Instruction>(Op0)) { in commonIRemTransforms() local 1277 if (SelectInst *SI = dyn_cast<SelectInst>(Op0I)) { in commonIRemTransforms() 1280 } else if (auto *PN = dyn_cast<PHINode>(Op0I)) { in commonIRemTransforms()
|