struct RebasedConstantInfo

Declaration

struct RebasedConstantInfo { /* full declaration omitted */ };

Description

This represents a constant that has been rebased with respect to a base constant. The difference to the base constant is recorded in Offset.

Declared at: llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h:101

Member Variables

public llvm::consthoist::ConstantUseListType Uses
public llvm::Constant* Offset
public llvm::Type* Ty

Method Overview

  • public RebasedConstantInfo(llvm::consthoist::ConstantUseListType && Uses, llvm::Constant * Offset, llvm::Type * Ty = nullptr)

Methods

ΒΆRebasedConstantInfo(
    llvm::consthoist::ConstantUseListType&& Uses,
    llvm::Constant* Offset,
    llvm::Type* Ty = nullptr)

Declared at: llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h:106

Parameters

llvm::consthoist::ConstantUseListType&& Uses
llvm::Constant* Offset
llvm::Type* Ty = nullptr