Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Public Member Functions |Static Public Member Functions |List of all members
llvm::GEPNoWrapFlags Class Reference

Represents flags for the getelementptr instruction/expression.More...

#include "llvm/IR/GEPNoWrapFlags.h"

Public Member Functions

 GEPNoWrapFlags ()
 
 GEPNoWrapFlags (bool IsInBounds)
 
unsigned getRaw ()const
 
bool isInBounds ()const
 
bool hasNoUnsignedSignedWrap ()const
 
bool hasNoUnsignedWrap ()const
 
GEPNoWrapFlags withoutInBounds ()const
 
GEPNoWrapFlags withoutNoUnsignedSignedWrap ()const
 
GEPNoWrapFlags withoutNoUnsignedWrap ()const
 
GEPNoWrapFlags intersectForOffsetAdd (GEPNoWrapFlagsOther)const
 Given (gep (gep p, x), y), determine the nowrap flags for (gep p, x+y).
 
bool operator== (GEPNoWrapFlagsOther)const
 
bool operator!= (GEPNoWrapFlagsOther)const
 
GEPNoWrapFlags operator& (GEPNoWrapFlagsOther)const
 
GEPNoWrapFlags operator| (GEPNoWrapFlagsOther)const
 
GEPNoWrapFlagsoperator&= (GEPNoWrapFlagsOther)
 
GEPNoWrapFlagsoperator|= (GEPNoWrapFlagsOther)
 

Static Public Member Functions

staticGEPNoWrapFlags none ()
 
staticGEPNoWrapFlags all ()
 
staticGEPNoWrapFlags inBounds ()
 
staticGEPNoWrapFlags noUnsignedSignedWrap ()
 
staticGEPNoWrapFlags noUnsignedWrap ()
 
staticGEPNoWrapFlags fromRaw (unsigned Flags)
 

Detailed Description

Represents flags for the getelementptr instruction/expression.

The following flags are supported:

Definition at line26 of fileGEPNoWrapFlags.h.

Constructor & Destructor Documentation

◆ GEPNoWrapFlags()[1/2]

llvm::GEPNoWrapFlags::GEPNoWrapFlags()
inline

Definition at line40 of fileGEPNoWrapFlags.h.

Referenced byall(),fromRaw(),inBounds(),none(),noUnsignedSignedWrap(),noUnsignedWrap(),operator&(),operator|(),withoutInBounds(),withoutNoUnsignedSignedWrap(), andwithoutNoUnsignedWrap().

◆ GEPNoWrapFlags()[2/2]

llvm::GEPNoWrapFlags::GEPNoWrapFlags(bool IsInBounds)
inline

Definition at line43 of fileGEPNoWrapFlags.h.

Member Function Documentation

◆ all()

staticGEPNoWrapFlags llvm::GEPNoWrapFlags::all()
inlinestatic

Definition at line47 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags().

◆ fromRaw()

staticGEPNoWrapFlags llvm::GEPNoWrapFlags::fromRaw(unsigned Flags)
inlinestatic

Definition at line58 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags().

Referenced byllvm::GEPOperator::getNoWrapFlags().

◆ getRaw()

unsigned llvm::GEPNoWrapFlags::getRaw() const
inline

Definition at line61 of fileGEPNoWrapFlags.h.

Referenced byllvm::ConstantExpr::getGetElementPtr(), andllvm::GetElementPtrInst::setNoWrapFlags().

◆ hasNoUnsignedSignedWrap()

bool llvm::GEPNoWrapFlags::hasNoUnsignedSignedWrap() const
inline

Definition at line64 of fileGEPNoWrapFlags.h.

Referenced byllvm::InstCombinerImpl::foldGEPICmp(),llvm::ScalarEvolution::getGEPExpr(),llvm::GEPOperator::hasNoUnsignedSignedWrap(),intersectForOffsetAdd(),mapToLLVMGEPNoWrapFlags(),llvm::VPRecipeWithIRFlags::printFlags(), andrewriteGEPAsOffset().

◆ hasNoUnsignedWrap()

bool llvm::GEPNoWrapFlags::hasNoUnsignedWrap() const
inline

Definition at line65 of fileGEPNoWrapFlags.h.

Referenced byllvm::InstCombinerImpl::foldGEPICmp(),llvm::ScalarEvolution::getGEPExpr(),llvm::GEPOperator::hasNoUnsignedWrap(),mapToLLVMGEPNoWrapFlags(),llvm::InstCombinerImpl::OptimizePointerDifference(),llvm::BasicAAResult::DecomposedGEP::print(),llvm::VPRecipeWithIRFlags::printFlags(), andrewriteGEPAsOffset().

◆ inBounds()

staticGEPNoWrapFlags llvm::GEPNoWrapFlags::inBounds()
inlinestatic

Definition at line50 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags().

Referenced byllvm::IRBuilderBase::CreateConstInBoundsGEP1_32(),llvm::IRBuilderBase::CreateConstInBoundsGEP1_64(),llvm::IRBuilderBase::CreateConstInBoundsGEP2_32(),llvm::IRBuilderBase::CreateConstInBoundsGEP2_64(),llvm::GetElementPtrInst::CreateInBounds(),llvm::IRBuilderBase::CreateInBoundsGEP(),llvm::IRBuilderBase::CreateInBoundsPtrAdd(),llvm::IRBuilderBase::CreateStructGEP(),llvm::ConstantExpr::getInBoundsGetElementPtr(),mapFromLLVMGEPNoWrapFlags(),llvm::GetElementPtrInst::setIsInBounds(), andtoGEPNoWrapFlags().

◆ intersectForOffsetAdd()

GEPNoWrapFlags llvm::GEPNoWrapFlags::intersectForOffsetAdd(GEPNoWrapFlags Other) const
inline

Given (gep (gep p, x), y), determine the nowrap flags for (gep p, x+y).

Definition at line78 of fileGEPNoWrapFlags.h.

ReferenceshasNoUnsignedSignedWrap(),isInBounds(),llvm::Other, andwithoutNoUnsignedSignedWrap().

Referenced bycanRewriteGEPAsOffset(), andgetMergedGEPNoWrapFlags().

◆ isInBounds()

bool llvm::GEPNoWrapFlags::isInBounds() const
inline

Definition at line63 of fileGEPNoWrapFlags.h.

Referenced byintersectForOffsetAdd(),llvm::GEPOperator::isInBounds(),mapToLLVMGEPNoWrapFlags(),llvm::InstCombinerImpl::OptimizePointerDifference(),llvm::BasicAAResult::DecomposedGEP::print(), andllvm::VPRecipeWithIRFlags::printFlags().

◆ none()

staticGEPNoWrapFlags llvm::GEPNoWrapFlags::none()
inlinestatic

Definition at line46 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags().

Referenced byllvm::IRBuilderBase::CreateConstGEP1_32(),llvm::IRBuilderBase::CreateConstGEP1_64(),llvm::IRBuilderBase::CreateConstGEP2_64(),decomposeGEP(),llvm::VPRecipeWithIRFlags::dropPoisonGeneratingFlags(),llvm::InstCombinerImpl::foldGEPICmp(),llvm::ScalarEvolution::getGEPExpr(),llvm::Operator::hasPoisonGeneratingFlags(), andllvm::PoisonFlags::PoisonFlags().

◆ noUnsignedSignedWrap()

staticGEPNoWrapFlags llvm::GEPNoWrapFlags::noUnsignedSignedWrap()
inlinestatic

Definition at line53 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags().

Referenced bymapFromLLVMGEPNoWrapFlags(), andtoGEPNoWrapFlags().

◆ noUnsignedWrap()

staticGEPNoWrapFlags llvm::GEPNoWrapFlags::noUnsignedWrap()
inlinestatic

Definition at line56 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags().

Referenced byllvm::IRBuilderBase::CreateStructGEP(),mapFromLLVMGEPNoWrapFlags(),llvm::refineInstruction(),toGEPNoWrapFlags(), andllvm::InstCombinerImpl::visitGetElementPtrInst().

◆ operator!=()

bool llvm::GEPNoWrapFlags::operator!=(GEPNoWrapFlags Other) const
inline

Definition at line88 of fileGEPNoWrapFlags.h.

Referencesllvm::Other.

◆ operator&()

GEPNoWrapFlags llvm::GEPNoWrapFlags::operator&(GEPNoWrapFlags Other) const
inline

Definition at line90 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags(), andllvm::Other.

◆ operator&=()

GEPNoWrapFlags & llvm::GEPNoWrapFlags::operator&=(GEPNoWrapFlags Other)
inline

Definition at line96 of fileGEPNoWrapFlags.h.

Referencesllvm::Other.

◆ operator==()

bool llvm::GEPNoWrapFlags::operator==(GEPNoWrapFlags Other) const
inline

Definition at line87 of fileGEPNoWrapFlags.h.

Referencesllvm::Other.

◆ operator|()

GEPNoWrapFlags llvm::GEPNoWrapFlags::operator|(GEPNoWrapFlags Other) const
inline

Definition at line93 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags(), andllvm::Other.

◆ operator|=()

GEPNoWrapFlags & llvm::GEPNoWrapFlags::operator|=(GEPNoWrapFlags Other)
inline

Definition at line100 of fileGEPNoWrapFlags.h.

Referencesllvm::Other.

◆ withoutInBounds()

GEPNoWrapFlags llvm::GEPNoWrapFlags::withoutInBounds() const
inline

Definition at line67 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags().

Referenced byllvm::GetElementPtrInst::setIsInBounds().

◆ withoutNoUnsignedSignedWrap()

GEPNoWrapFlags llvm::GEPNoWrapFlags::withoutNoUnsignedSignedWrap() const
inline

Definition at line70 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags().

Referenced byintersectForOffsetAdd(), andllvm::InstCombinerImpl::visitGEPOfGEP().

◆ withoutNoUnsignedWrap()

GEPNoWrapFlags llvm::GEPNoWrapFlags::withoutNoUnsignedWrap() const
inline

Definition at line73 of fileGEPNoWrapFlags.h.

ReferencesGEPNoWrapFlags().

Referenced byllvm::InstCombinerImpl::visitGEPOfGEP().


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

Generated on Sun Jul 20 2025 16:17:03 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp