//===-- llvm/GEPNoWrapFlags.h - NoWrap flags for GEPs -----------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file defines the nowrap flags for getelementptr operators. // //===----------------------------------------------------------------------===// #ifndef LLVM_IR_GEPNOWRAPFLAGS_H #define LLVM_IR_GEPNOWRAPFLAGS_H #include <assert.h> namespace llvm { /// Represents flags for the getelementptr instruction/expression. /// The following flags are supported: /// * inbounds (implies nusw) /// * nusw (no unsigned signed wrap) /// * nuw (no unsigned wrap) /// See LangRef for a description of their semantics. class GEPNoWrapFlags { … }; } // end namespace llvm #endif // LLVM_IR_GEPNOWRAPFLAGS_H