reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
206 Head = M.getGlobalVariable("llvm_gc_root_chain"); 207 if (!Head) { 210 Head = new GlobalVariable( 213 } else if (Head->hasExternalLinkage() && Head->isDeclaration()) { 213 } else if (Head->hasExternalLinkage() && Head->isDeclaration()) { 214 Head->setInitializer(Constant::getNullValue(StackEntryPtrTy)); 215 Head->setLinkage(GlobalValue::LinkOnceAnyLinkage); 316 AtEntry.CreateLoad(StackEntryTy->getPointerTo(), Head, "gc_currhead"); 347 AtEntry.CreateStore(NewHeadVal, Head); 359 AtExit->CreateStore(SavedHead, Head);