Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp908 GlobalVariable *InitBool = in OptimizeGlobalAddressOfAllocation() local
925 InitBool, false, Align(1), SI->getOrdering(), in OptimizeGlobalAddressOfAllocation()
943 Value *LV = new LoadInst(InitBool->getValueType(), InitBool, in OptimizeGlobalAddressOfAllocation()
944 InitBool->getName() + ".val", false, Align(1), in OptimizeGlobalAddressOfAllocation()
971 while (!InitBool->use_empty()) // Delete initializations in OptimizeGlobalAddressOfAllocation()
972 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfAllocation()
973 delete InitBool; in OptimizeGlobalAddressOfAllocation()
975 GV->getParent()->getGlobalList().insert(GV->getIterator(), InitBool); in OptimizeGlobalAddressOfAllocation()