Searched refs:TheBC (Results 1 – 2 of 2) sorted by relevance
814 BitCastInst *TheBC = nullptr; in OptimizeGlobalAddressOfMalloc() local825 if (!TheBC) in OptimizeGlobalAddressOfMalloc()826 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI); in OptimizeGlobalAddressOfMalloc()827 User->replaceUsesOfWith(CI, TheBC); in OptimizeGlobalAddressOfMalloc()
874 BitCastInst *TheBC = 0; in OptimizeGlobalAddressOfMalloc() local885 if (TheBC == 0) in OptimizeGlobalAddressOfMalloc()886 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI); in OptimizeGlobalAddressOfMalloc()887 User->replaceUsesOfWith(CI, TheBC); in OptimizeGlobalAddressOfMalloc()