Lines Matching refs:LowerTypeTests
1 //===-- LowerTypeTests.cpp - type metadata lowering pass ------------------===//
15 #include "llvm/Transforms/IPO/LowerTypeTests.h"
36 using namespace lowertypetests;
38 #define DEBUG_TYPE "lowertypetests"
47 "lowertypetests-avoid-reuse",
207 struct LowerTypeTests : public ModulePass {
209 LowerTypeTests() : ModulePass(ID) {
261 INITIALIZE_PASS(LowerTypeTests, "lowertypetests", "Lower type metadata", false,
263 char LowerTypeTests::ID = 0;
265 ModulePass *llvm::createLowerTypeTestsPass() { return new LowerTypeTests; }
269 BitSetInfo LowerTypeTests::buildBitSet(
308 ByteArrayInfo *LowerTypeTests::createByteArray(BitSetInfo &BSI) {
327 void LowerTypeTests::allocateByteArrays() {
380 Value *LowerTypeTests::createBitSetTest(IRBuilder<> &B, BitSetInfo &BSI,
423 Value *LowerTypeTests::lowerBitSetCall(
493 void LowerTypeTests::buildBitSetsFromGlobalVariables(
558 void LowerTypeTests::lowerTypeTestCalls(
589 void LowerTypeTests::verifyTypeMDNode(GlobalObject *GO, MDNode *Type) {
614 unsigned LowerTypeTests::getJumpTableEntrySize() {
625 Constant *LowerTypeTests::createJumpTableEntry(GlobalObject *Src,
654 Type *LowerTypeTests::getJumpTableEntryType() {
665 void LowerTypeTests::buildBitSetsFromFunctions(ArrayRef<Metadata *> TypeIds,
798 void LowerTypeTests::buildBitSetsFromDisjointSet(
870 bool LowerTypeTests::lower() {
989 static void init(LowerTypeTests *LTT, Module &M) {
1005 bool LowerTypeTests::runOnModule(Module &M) {
1014 LowerTypeTests Impl;