Home
last modified time | relevance | path

Searched refs:TheBC (Results 1 – 3 of 3) 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-7.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp858 BitCastInst *TheBC = nullptr; in OptimizeGlobalAddressOfMalloc() local
869 if (!TheBC) in OptimizeGlobalAddressOfMalloc()
870 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI); in OptimizeGlobalAddressOfMalloc()
871 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()