Home
last modified time | relevance | path

Searched refs:TheBC (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp814 BitCastInst *TheBC = nullptr; in OptimizeGlobalAddressOfMalloc() local
825 if (!TheBC) in OptimizeGlobalAddressOfMalloc()
826 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI); in OptimizeGlobalAddressOfMalloc()
827 User->replaceUsesOfWith(CI, TheBC); in OptimizeGlobalAddressOfMalloc()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp874 BitCastInst *TheBC = 0; in OptimizeGlobalAddressOfMalloc() local
885 if (TheBC == 0) in OptimizeGlobalAddressOfMalloc()
886 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI); in OptimizeGlobalAddressOfMalloc()
887 User->replaceUsesOfWith(CI, TheBC); in OptimizeGlobalAddressOfMalloc()