LLVM 20.0.0git
|
#include "AArch64.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <set>
Go to the source code of this file.
Functions | |
static bool | shouldTagGlobal (GlobalVariable &G) |
static void | tagGlobalDefinition (Module &M, GlobalVariable *G) |
INITIALIZE_PASS_BEGIN (AArch64GlobalsTagging, "aarch64-globals-tagging", "AArch64 Globals Tagging Pass", false, false) INITIALIZE_PASS_END(AArch64GlobalsTagging | |
Variables | |
static const Align | kTagGranuleSize = Align(16) |
aarch64 globals | tagging |
aarch64 globals AArch64 Globals Tagging | Pass |
aarch64 globals AArch64 Globals Tagging | false |
INITIALIZE_PASS_BEGIN | ( | AArch64GlobalsTagging | , |
"aarch64-globals-tagging" | , | ||
"AArch64 Globals Tagging Pass" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 29 of file AArch64GlobalsTagging.cpp.
|
static |
Definition at line 92 of file AArch64GlobalsTagging.cpp.
References llvm::alignTo(), G, llvm::ConstantDataArray::get(), llvm::ConstantStruct::getAnon(), llvm::Value::getType(), and kTagGranuleSize.
Definition at line 162 of file AArch64GlobalsTagging.cpp.
Definition at line 27 of file AArch64GlobalsTagging.cpp.
Referenced by tagGlobalDefinition().
Definition at line 162 of file AArch64GlobalsTagging.cpp.
aarch64 globals tagging |
Definition at line 161 of file AArch64GlobalsTagging.cpp.