Lines Matching refs:CurrentGV
2184 GlobalVariable *CurrentGV = nullptr; in BatchCommitValueTo() local
2190 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()
2229 commitAndSetupCache(CurrentGV, true); in BatchCommitValueTo()