Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp946 GlobalVariable *InitBool = in OptimizeGlobalAddressOfAllocation() local
963 InitBool, false, Align(1), SI->getOrdering(), in OptimizeGlobalAddressOfAllocation()
979 Value *LV = new LoadInst(InitBool->getValueType(), InitBool, in OptimizeGlobalAddressOfAllocation()
980 InitBool->getName() + ".val", false, Align(1), in OptimizeGlobalAddressOfAllocation()
1008 while (!InitBool->use_empty()) // Delete initializations in OptimizeGlobalAddressOfAllocation()
1009 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfAllocation()
1010 delete InitBool; in OptimizeGlobalAddressOfAllocation()
1012 GV->getParent()->insertGlobalVariable(GV->getIterator(), InitBool); in OptimizeGlobalAddressOfAllocation()