Lines Matching refs:Head
44 GlobalVariable *Head; member in __anon4f10565f0111::ShadowStackGC
186 ShadowStackGC::ShadowStackGC() : Head(0), StackEntryTy(0) { in ShadowStackGC()
288 Head = M.getGlobalVariable("llvm_gc_root_chain"); in initializeCustomLowering()
289 if (!Head) { in initializeCustomLowering()
292 Head = new GlobalVariable(M, StackEntryPtrTy, false, in initializeCustomLowering()
296 } else if (Head->hasExternalLinkage() && Head->isDeclaration()) { in initializeCustomLowering()
297 Head->setInitializer(Constant::getNullValue(StackEntryPtrTy)); in initializeCustomLowering()
298 Head->setLinkage(GlobalValue::LinkOnceAnyLinkage); in initializeCustomLowering()
389 Instruction *CurrentHead = AtEntry.CreateLoad(Head, "gc_currhead"); in performCustomLowering()
418 AtEntry.CreateStore(NewHeadVal, Head); in performCustomLowering()
428 AtExit->CreateStore(SavedHead, Head); in performCustomLowering()