LLVM API Documentation
Static Public Member Functions | |
static void | convert (ConstantExpr *OldC, const Type *NewTy) |
Definition at line 1205 of file Constants.cpp.
static void llvm::ConvertConstantType< ConstantExpr, Type >::convert | ( | ConstantExpr * | OldC, | |
const Type * | NewTy | |||
) | [inline, static] |
Definition at line 1206 of file Constants.cpp.
References llvm::Instruction::Cast, llvm::ConstantExpr::destroyConstant(), llvm::ConstantExpr::getCast(), llvm::ConstantExpr::getGetElementPtrTy(), llvm::ConstantExpr::getOpcode(), llvm::ConstantExpr::getOperand(), llvm::ConstantExpr::getSelectTy(), llvm::ConstantExpr::getShiftTy(), llvm::ConstantExpr::getTy(), Idx, llvm::User::op_begin(), llvm::User::op_end(), llvm::Instruction::Select, llvm::Instruction::Shl, and llvm::Value::uncheckedReplaceAllUsesWith().