Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp957 GlobalVariable *InitBool = new GlobalVariable( in OptimizeGlobalAddressOfAllocation() local
973 InitBool, false, Align(1), SI->getOrdering(), SI->getSyncScopeID(), in OptimizeGlobalAddressOfAllocation()
990 Value *LV = new LoadInst(InitBool->getValueType(), InitBool, in OptimizeGlobalAddressOfAllocation()
991 InitBool->getName() + ".val", false, Align(1), in OptimizeGlobalAddressOfAllocation()
1025 while (!InitBool->use_empty()) // Delete initializations in OptimizeGlobalAddressOfAllocation()
1026 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfAllocation()
1027 delete InitBool; in OptimizeGlobalAddressOfAllocation()
1029 GV->getParent()->insertGlobalVariable(GV->getIterator(), InitBool); in OptimizeGlobalAddressOfAllocation()