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") |
| |
| 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 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< SummaryAction > | ClSummaryAction ("lowertypetests-summary-action", cl::desc("What to do with the summary when running this pass"), cl::values(clEnumValN(SummaryAction::None,"none","Do nothing"), clEnumValN(SummaryAction::Import,"import","Import typeid resolutions from summary and globals"), clEnumValN(SummaryAction::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 const unsigned | kX86JumpTableEntrySize = 8 |
| |
| static const unsigned | kARMJumpTableEntrySize = 4 |
| |
| #define DEBUG_TYPE "lowertypetests" |
| 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" |
|
|
) |
| |
| 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<std::string> ClReadSummary("lowertypetests-read-summary", cl::desc("Read summary from given YAML file before running pass"), cl::Hidden) |
|
static |
| cl::opt<SummaryAction> ClSummaryAction("lowertypetests-summary-action", cl::desc("What to do with the summary when running this pass"), cl::values(clEnumValN(SummaryAction::None,"none","Do nothing"),clEnumValN(SummaryAction::Import,"import","Import typeid resolutions from summary and globals"),clEnumValN(SummaryAction::Export,"export","Export typeid resolutions to summary and globals")), 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 |