LLVM API Documentation

llvm::ConvertConstantType< ConstantExpr, Type > Struct Template Reference

List of all members.

Static Public Member Functions

static void convert (ConstantExpr *OldC, const Type *NewTy)

Detailed Description

template<>
struct llvm::ConvertConstantType< ConstantExpr, Type >

Definition at line 1205 of file Constants.cpp.


Member Function Documentation

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().


The documentation for this struct was generated from the following file: