ΒΆllvm::Value* UpgradeBitCastExpr(
unsigned int Opc,
llvm::Constant* C,
llvm::Type* DestTy)
llvm::Value* UpgradeBitCastExpr(
unsigned int Opc,
llvm::Constant* C,
llvm::Type* DestTy)
Description
This is an auto-upgrade for bitcast constant expression between pointers with different address spaces: the instruction is replaced by a pair ptrtoint+inttoptr.
Declared at: llvm/include/llvm/IR/AutoUpgrade.h:77
Parameters
- unsigned int Opc
- llvm::Constant* C
- llvm::Type* DestTy