LLVM 20.0.0git
Functions | Variables
LanaiTargetObjectFile.cpp File Reference
#include "LanaiTargetObjectFile.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Functions

static bool isInSmallSection (uint64_t Size)
 

Variables

static cl::opt< unsignedSSThreshold ("lanai-ssection-threshold", cl::Hidden, cl::desc("Small data and bss section threshold size (default=0)"), cl::init(0))
 

Function Documentation

◆ isInSmallSection()

static bool isInSmallSection ( uint64_t  Size)
static

Definition at line 38 of file LanaiTargetObjectFile.cpp.

References Size, and SSThreshold.

Referenced by llvm::LanaiTargetObjectFile::isConstantInSmallSection().

Variable Documentation

◆ SSThreshold

cl::opt< unsigned > SSThreshold("lanai-ssection-threshold", cl::Hidden, cl::desc("Small data and bss section threshold size (default=0)"), cl::init(0)) ( "lanai-ssection-threshold"  ,
cl::Hidden  ,
cl::desc("Small data and bss section threshold size (default=0)")  ,
cl::init(0)   
)
static