LLVM  13.0.0git
Classes | Namespaces | Macros | Functions
Attributes.h File Reference
#include "llvm-c/Types.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
#include <bitset>
#include <cassert>
#include <cstdint>
#include <map>
#include <string>
#include <utility>
#include "llvm/IR/Attributes.inc"
Include dependency graph for Attributes.h:

Go to the source code of this file.

Classes

struct  llvm::DenseMapInfo< T >
 
class  llvm::Attribute
 
class  llvm::AttributeSet
 
struct  llvm::DenseMapInfo< AttributeSet >
 
class  llvm::AttributeList
 
struct  llvm::DenseMapInfo< AttributeList >
 
class  llvm::AttrBuilder
 

Namespaces

 llvm
 
 llvm::AttributeFuncs
 

Macros

#define GET_ATTR_NAMES
 
#define ATTRIBUTE_ENUM(ENUM_NAME, OTHER)   ENUM_NAME,
 

Functions

LLVMAttributeRef llvm::wrap (Attribute Attr)
 
Attribute llvm::unwrap (LLVMAttributeRef Attr)
 
AttrBuilder llvm::AttributeFuncs::typeIncompatible (Type *Ty)
 Which attributes cannot be applied to a type. More...
 
bool llvm::AttributeFuncs::areInlineCompatible (const Function &Caller, const Function &Callee)
 
bool llvm::AttributeFuncs::areOutlineCompatible (const Function &A, const Function &B)
 Checks if there are any incompatible function attributes between A and B. More...
 
void llvm::AttributeFuncs::mergeAttributesForInlining (Function &Caller, const Function &Callee)
 Merge caller's and callee's attributes. More...
 
void llvm::AttributeFuncs::mergeAttributesForOutlining (Function &Base, const Function &ToMerge)
 Merges the functions attributes from ToMerge into function Base. More...
 

Detailed Description

This file contains the simple types necessary to represent the attributes associated with functions and their calls.

Definition in file Attributes.h.

Macro Definition Documentation

◆ ATTRIBUTE_ENUM

#define ATTRIBUTE_ENUM (   ENUM_NAME,
  OTHER 
)    ENUM_NAME,

Definition at line 75 of file Attributes.h.

◆ GET_ATTR_NAMES

#define GET_ATTR_NAMES

Definition at line 74 of file Attributes.h.