LLVM 20.0.0git
|
#include "HexagonTargetObjectFile.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/GlobalObject.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/SectionKind.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "hexagon-sdata" |
#define | TRACE_TO(s, X) s << X |
#define | TRACE(X) |
Functions | |
static bool | isSmallDataSection (StringRef Sec) |
static const char * | getSectionSuffixForSize (unsigned Size) |
Variables | |
static cl::opt< unsigned > | SmallDataThreshold ("hexagon-small-data-threshold", cl::init(8), cl::Hidden, cl::desc("The maximum size of an object in the sdata section")) |
static cl::opt< bool > | NoSmallDataSorting ("mno-sort-sda", cl::init(false), cl::Hidden, cl::desc("Disable small data sections sorting")) |
static cl::opt< bool > | StaticsInSData ("hexagon-statics-in-small-data", cl::Hidden, cl::desc("Allow static variables in .sdata")) |
static cl::opt< bool > | TraceGVPlacement ("trace-gv-placement", cl::Hidden, cl::init(false), cl::desc("Trace global value placement")) |
static cl::opt< bool > | EmitJtInText ("hexagon-emit-jt-text", cl::Hidden, cl::init(false), cl::desc("Emit hexagon jump tables in function section")) |
static cl::opt< bool > | EmitLutInText ("hexagon-emit-lut-text", cl::Hidden, cl::init(false), cl::desc("Emit hexagon lookup tables in function section")) |
#define DEBUG_TYPE "hexagon-sdata" |
Definition at line 33 of file HexagonTargetObjectFile.cpp.
#define TRACE | ( | X | ) |
Definition at line 72 of file HexagonTargetObjectFile.cpp.
Definition at line 63 of file HexagonTargetObjectFile.cpp.
Definition at line 97 of file HexagonTargetObjectFile.cpp.
References Size.
Definition at line 86 of file HexagonTargetObjectFile.cpp.
References llvm::StringRef::contains().
Referenced by llvm::HexagonTargetObjectFile::isGlobalInSmallSection().
|
static |
Referenced by llvm::HexagonTargetObjectFile::SelectSectionForGlobal().
|
static |
|
static |
Referenced by llvm::HexagonTargetObjectFile::isGlobalInSmallSection().