ΒΆllvm::Instruction* UpgradeBitCastInst(
    unsigned int Opc,
    llvm::Value* V,
    llvm::Type* DestTy,
    llvm::Instruction*& Temp)

Description

This is an auto-upgrade for bitcast between pointers with different address spaces: the instruction is replaced by a pair ptrtoint+inttoptr.

Declared at: llvm/include/llvm/IR/AutoUpgrade.h:79

Parameters

unsigned int Opc
llvm::Value* V
llvm::Type* DestTy
llvm::Instruction*& Temp