Searched refs:Op0CI (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1123 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) in visitAnd() local 1124 if (Instruction *Res = OptAndOp(Op0I, Op0CI, AndRHS, I)) in visitAnd() 2155 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) { in visitXor() local 2159 Constant *NegOp0CI = ConstantExpr::getNeg(Op0CI); in visitXor() 2167 RHS->getValue() + Op0CI->getValue()); in visitXor() 2173 if (MaskedValueIsZero(Op0I->getOperand(0), Op0CI->getValue())) { in visitXor() 2174 Constant *NewRHS = ConstantExpr::getOr(Op0CI, RHS); in visitXor() 2177 Constant *CommonBits = ConstantExpr::getAnd(Op0CI, RHS); in visitXor()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1408 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) in visitAnd() local 1409 if (Instruction *Res = OptAndOp(Op0I, Op0CI, AndRHS, I)) in visitAnd() 2573 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) { in visitXor() local 2577 Constant *NegOp0CI = ConstantExpr::getNeg(Op0CI); in visitXor() 2584 Constant *C = Builder->getInt(RHS->getValue() + Op0CI->getValue()); in visitXor() 2590 if (MaskedValueIsZero(Op0I->getOperand(0), Op0CI->getValue(), in visitXor() 2592 Constant *NewRHS = ConstantExpr::getOr(Op0CI, RHS); in visitXor() 2595 Constant *CommonBits = ConstantExpr::getAnd(Op0CI, RHS); in visitXor() 2613 ConstantInt *C2 = Op0CI, *C3 = RHS; in visitXor()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1521 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) in visitAnd() local 1522 if (Instruction *Res = OptAndOp(Op0I, Op0CI, AndRHS, I)) in visitAnd() 2608 if (ConstantInt *Op0CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) { in visitXor() local 2619 ConstantInt *C2 = Op0CI, *C3 = RHSC; in visitXor()
|