Searched refs:CurrentGV (Results 1 – 1 of 1) sorted by relevance
2174 GlobalVariable *CurrentGV = nullptr; in BatchCommitValueTo() local2180 if (CurrentGV) { in BatchCommitValueTo()2181 assert(CurrentGV && "Expected a GV to commit to!"); in BatchCommitValueTo()2182 Type *CurrentInitTy = CurrentGV->getInitializer()->getType(); in BatchCommitValueTo()2185 CurrentGV->setInitializer(ConstantStruct::get(STy, Elts)); in BatchCommitValueTo()2187 CurrentGV->setInitializer(ConstantArray::get(ArrTy, Elts)); in BatchCommitValueTo()2189 CurrentGV->setInitializer(ConstantVector::get(Elts)); in BatchCommitValueTo()2191 if (CurrentGV == GV) in BatchCommitValueTo()2194 CurrentGV = GV; in BatchCommitValueTo()2213 commitAndSetupCache(GV, GV != CurrentGV); in BatchCommitValueTo()[all …]