reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
540 if (CE->isCast()) { 542 if (unsigned newOpc = foldConstantCastPair(opc, CE, DestTy)) 543 return ConstantExpr::getCast(newOpc, CE->getOperand(0), DestTy); 544 } else if (CE->getOpcode() == Instruction::GetElementPtr && 550 !cast<GEPOperator>(CE)->getInRangeIndex().hasValue() && 554 !CE->getType()->isVectorTy()) { 558 for (unsigned i = 1, e = CE->getNumOperands(); i != e; ++i) 559 if (!CE->getOperand(i)->isNullValue()) { 565 return ConstantExpr::getPointerCast(CE->getOperand(0), DestTy);