llvm::Value::stripPointerCastsSameRepresentation

stripPointerCastsSameRepresentation overloads

Synopses

Declared in <llvm/IR/Value.h>

Strip off pointer casts, all-zero GEPs and address space casts but ensures the representation of the result stays the same.

Value const*
stripPointerCastsSameRepresentation() const;
» more...

Non-const overload of stripPointerCastsSameRepresentation().

Value*
stripPointerCastsSameRepresentation();
» more...

Return Value

The uncasted value with the same representation, or this.