Searched refs:CurrentGV (Results 1 – 1 of 1) sorted by relevance
2184 GlobalVariable *CurrentGV = nullptr; in BatchCommitValueTo() local2190 if (CurrentGV) { in BatchCommitValueTo()2191 assert(CurrentGV && "Expected a GV to commit to!"); in BatchCommitValueTo()2192 Type *CurrentInitTy = CurrentGV->getInitializer()->getType(); in BatchCommitValueTo()2195 CurrentGV->setInitializer(ConstantStruct::get(STy, Elts)); in BatchCommitValueTo()2197 CurrentGV->setInitializer(ConstantArray::get(ArrTy, Elts)); in BatchCommitValueTo()2199 CurrentGV->setInitializer(ConstantVector::get(Elts)); in BatchCommitValueTo()2201 if (CurrentGV == GV) in BatchCommitValueTo()2204 CurrentGV = GV; in BatchCommitValueTo()2223 commitAndSetupCache(GV, GV != CurrentGV); in BatchCommitValueTo()[all …]