• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/llvmCore-3425.0.34/lib/Transforms/InstCombine/

Lines Matching refs:cast

176       const APInt &AndRHSV = cast<ConstantInt>(AndRHS)->getValue();
183 const APInt& AddRHS = cast<ConstantInt>(OpRHS)->getValue();
277 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ?
286 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
303 Hi = SubOne(cast<ConstantInt>(Hi));
304 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
312 ConstantInt *NegLo = cast<ConstantInt>(ConstantExpr::getNeg(Lo));
351 ConstantInt *N = cast<ConstantInt>(LHSI->getOperand(1));
368 uint32_t BitWidth = cast<IntegerType>(RHS->getType())->getBitWidth();
1209 // fold (and (cast A), (cast B)) -> (cast (and A, B))
1213 if (Op0C->getOpcode() == Op1C->getOpcode() && // same cast kind ?
1225 // If this is and(cast(icmp), cast(icmp)), try to fold this even if the
1226 // cast is otherwise not optimizable. This happens for vector sexts.
1232 // If this is and(cast(fcmp), cast(fcmp)), try to fold this even if the
1233 // cast is otherwise not optimizable. This happens for vector sexts.
1296 cast<ConstantInt>(I->getOperand(1))->getLimitedValue(~0U);
1327 const APInt &AndMask = cast<ConstantInt>(I->getOperand(1))->getValue();
1985 // fold (or (cast A), (cast B)) -> (cast (or A, B))
1988 if (Op1C && Op0C->getOpcode() == Op1C->getOpcode()) {// same cast kind ?
2003 // If this is or(cast(icmp), cast(icmp)), try to fold this even if the
2004 // cast is otherwise not optimizable. This happens for vector sexts.
2010 // If this is or(cast(fcmp), cast(fcmp)), try to fold this even if the
2011 // cast is otherwise not optimizable. This happens for vector sexts.
2266 // fold (xor (cast A), (cast B)) -> (cast (xor A, B))
2269 if (Op0C->getOpcode() == Op1C->getOpcode()) { // same cast kind?