Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp837 GlobalVariable *InitBool = in OptimizeGlobalAddressOfMalloc() local
848 new StoreInst(ConstantInt::getTrue(GV->getContext()), InitBool, false, 0, in OptimizeGlobalAddressOfMalloc()
865 Value *LV = new LoadInst(InitBool, InitBool->getName()+".val", false, 0, in OptimizeGlobalAddressOfMalloc()
895 while (!InitBool->use_empty()) // Delete initializations in OptimizeGlobalAddressOfMalloc()
896 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
897 delete InitBool; in OptimizeGlobalAddressOfMalloc()
899 GV->getParent()->getGlobalList().insert(GV->getIterator(), InitBool); in OptimizeGlobalAddressOfMalloc()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp898 GlobalVariable *InitBool = in OptimizeGlobalAddressOfMalloc() local
909 new StoreInst(ConstantInt::getTrue(GV->getContext()), InitBool, SI); in OptimizeGlobalAddressOfMalloc()
924 Value *LV = new LoadInst(InitBool, InitBool->getName()+".val", ICI); in OptimizeGlobalAddressOfMalloc()
952 while (!InitBool->use_empty()) // Delete initializations in OptimizeGlobalAddressOfMalloc()
953 cast<StoreInst>(InitBool->use_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
954 delete InitBool; in OptimizeGlobalAddressOfMalloc()
956 GV->getParent()->getGlobalList().insert(GV, InitBool); in OptimizeGlobalAddressOfMalloc()