LLVM 20.0.0git
Namespaces | Typedefs | Functions | Variables
Function.cpp File Reference
#include "llvm/IR/Function.h"
#include "SymbolTableListTraitsImpl.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/AbstractCallSite.h"
#include "llvm/IR/Argument.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/ConstantRange.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/MDBuilder.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/SymbolTableListTraits.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Use.h"
#include "llvm/IR/User.h"
#include "llvm/IR/Value.h"
#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ModRef.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <string>
#include "llvm/SandboxIR/Function.h"
#include "llvm/SandboxIR/Context.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::sandboxir
 

Typedefs

using ProfileCount = Function::ProfileCount
 

Functions

static TypegetMemoryParamAllocType (AttributeSet ParamAttrs)
 For a byval, sret, inalloca, or preallocated parameter, get the in-memory parameter type.
 
static unsigned computeAddrSpace (unsigned AddrSpace, Module *M)
 
static MutableArrayRef< ArgumentmakeArgArray (Argument *Args, size_t Count)
 

Variables

static cl::opt< int > NonGlobalValueMaxNameSize ("non-global-value-max-name-size", cl::Hidden, cl::init(1024), cl::desc("Maximum size for the name of non-global values."))
 
cl::opt< boolUseNewDbgInfoFormat
 

Typedef Documentation

◆ ProfileCount

Definition at line 58 of file Function.cpp.

Function Documentation

◆ computeAddrSpace()

static unsigned computeAddrSpace ( unsigned  AddrSpace,
Module M 
)
static

Definition at line 483 of file Function.cpp.

◆ getMemoryParamAllocType()

static Type * getMemoryParamAllocType ( AttributeSet  ParamAttrs)
static

For a byval, sret, inalloca, or preallocated parameter, get the in-memory parameter type.

Definition at line 195 of file Function.cpp.

◆ makeArgArray()

static MutableArrayRef< Argument > makeArgArray ( Argument Args,
size_t  Count 
)
static

Definition at line 553 of file Function.cpp.

Variable Documentation

◆ NonGlobalValueMaxNameSize

cl::opt< int > NonGlobalValueMaxNameSize("non-global-value-max-name-size", cl::Hidden, cl::init(1024), cl::desc("Maximum size for the name of non-global values.")) ( "non-global-value-max-name-size"  ,
cl::Hidden  ,
cl::init(1024)  ,
cl::desc("Maximum size for the name of non-global values.")   
)
static

◆ UseNewDbgInfoFormat

cl::opt<bool> UseNewDbgInfoFormat
extern