Go to the source code of this file.
|
| STATISTIC (ByteArraySizeBits, "Byte array size in bits") |
|
| STATISTIC (ByteArraySizeBytes, "Byte array size in bytes") |
|
| STATISTIC (NumByteArraysCreated, "Number of byte arrays created") |
|
| STATISTIC (NumTypeTestCallsLowered, "Number of type test calls lowered") |
|
| STATISTIC (NumTypeIdDisjointSets, "Number of disjoint sets of type identifiers") |
|
| INITIALIZE_PASS (LowerTypeTests, "lowertypetests", "Lower type metadata", false, false) ModulePass *llvm |
|
static Value * | createMaskedBitTest (IRBuilder<> &B, Value *Bits, Value *BitOffset) |
| Build a test that bit BitOffset mod sizeof(Bits)*8 is set in Bits. More...
|
|
static bool | isKnownTypeIdMember (Metadata *TypeId, const DataLayout &DL, Value *V, uint64_t COffset) |
|
static bool | isThumbFunction (Function *F, Triple::ArchType ModuleArch) |
|
static Triple::ArchType | selectJumpTableArmEncoding (ArrayRef< GlobalTypeMember * > Functions, Triple::ArchType ModuleArch) |
|
static bool | isDirectCall (Use &U) |
|
|
static cl::opt< bool > | AvoidReuse ("lowertypetests-avoid-reuse", cl::desc("Try to avoid reuse of byte array addresses using aliases"), cl::Hidden, cl::init(true)) |
|
static cl::opt< PassSummaryAction > | ClSummaryAction ("lowertypetests-summary-action", cl::desc("What to do with the summary when running this pass"), cl::values(clEnumValN(PassSummaryAction::None, "none", "Do nothing"), clEnumValN(PassSummaryAction::Import, "import", "Import typeid resolutions from summary and globals"), clEnumValN(PassSummaryAction::Export, "export", "Export typeid resolutions to summary and globals")), cl::Hidden) |
|
static cl::opt< std::string > | ClReadSummary ("lowertypetests-read-summary", cl::desc("Read summary from given YAML file before running pass"), cl::Hidden) |
|
static cl::opt< std::string > | ClWriteSummary ("lowertypetests-write-summary", cl::desc("Write summary to given YAML file after running pass"), cl::Hidden) |
|
static cl::opt< bool > | ClDropTypeTests ("lowertypetests-drop-type-tests", cl::desc("Simply drop type test assume sequences"), cl::Hidden, cl::init(false)) |
|
static const unsigned | kX86JumpTableEntrySize = 8 |
|
static const unsigned | kARMJumpTableEntrySize = 4 |
|
static const unsigned | kARMBTIJumpTableEntrySize = 8 |
|
static const unsigned | kRISCVJumpTableEntrySize = 8 |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "lowertypetests" |
◆ createMaskedBitTest()
◆ INITIALIZE_PASS()
◆ isDirectCall()
static bool isDirectCall |
( |
Use & |
U | ) |
|
|
static |
◆ isKnownTypeIdMember()
◆ isThumbFunction()
◆ selectJumpTableArmEncoding()
◆ STATISTIC() [1/5]
STATISTIC |
( |
ByteArraySizeBits |
, |
|
|
"Byte array size in bits" |
|
|
) |
| |
◆ STATISTIC() [2/5]
STATISTIC |
( |
ByteArraySizeBytes |
, |
|
|
"Byte array size in bytes" |
|
|
) |
| |
◆ STATISTIC() [3/5]
STATISTIC |
( |
NumByteArraysCreated |
, |
|
|
"Number of byte arrays created" |
|
|
) |
| |
◆ STATISTIC() [4/5]
STATISTIC |
( |
NumTypeIdDisjointSets |
, |
|
|
"Number of disjoint sets of type identifiers" |
|
|
) |
| |
◆ STATISTIC() [5/5]
◆ AvoidReuse
◆ ClDropTypeTests
cl::opt<bool> ClDropTypeTests("lowertypetests-drop-type-tests", cl::desc("Simply drop type test assume sequences"), cl::Hidden, cl::init(false)) |
|
static |
◆ ClReadSummary
cl::opt<std::string> ClReadSummary("lowertypetests-read-summary", cl::desc("Read summary from given YAML file before running pass"), cl::Hidden) |
|
static |
◆ ClSummaryAction
cl::opt<PassSummaryAction> ClSummaryAction("lowertypetests-summary-action", cl::desc("What to do with the summary when running this pass"), cl::values(clEnumValN(PassSummaryAction::None, "none", "Do nothing"), clEnumValN(PassSummaryAction::Import, "import", "Import typeid resolutions from summary and globals"), clEnumValN(PassSummaryAction::Export, "export", "Export typeid resolutions to summary and globals")), cl::Hidden) |
|
static |
◆ ClWriteSummary
cl::opt<std::string> ClWriteSummary("lowertypetests-write-summary", cl::desc("Write summary to given YAML file after running pass"), cl::Hidden) |
|
static |
◆ kARMBTIJumpTableEntrySize
const unsigned kARMBTIJumpTableEntrySize = 8 |
|
static |
◆ kARMJumpTableEntrySize
const unsigned kARMJumpTableEntrySize = 4 |
|
static |
◆ kRISCVJumpTableEntrySize
const unsigned kRISCVJumpTableEntrySize = 8 |
|
static |
◆ kX86JumpTableEntrySize
const unsigned kX86JumpTableEntrySize = 8 |
|
static |