Lines Matching defs:Head
44 GlobalVariable *Head;
198 ShadowStackGC::ShadowStackGC() : Head(0), StackEntryTy(0) {
300 Head = M.getGlobalVariable("llvm_gc_root_chain");
301 if (!Head) {
304 Head = new GlobalVariable(M, StackEntryPtrTy, false,
308 } else if (Head->hasExternalLinkage() && Head->isDeclaration()) {
309 Head->setInitializer(Constant::getNullValue(StackEntryPtrTy));
310 Head->setLinkage(GlobalValue::LinkOnceAnyLinkage);
400 // Initialize the map pointer and load the current head of the shadow stack.
401 Instruction *CurrentHead = AtEntry.CreateLoad(Head, "gc_currhead");
430 AtEntry.CreateStore(NewHeadVal, Head);
440 AtExit->CreateStore(SavedHead, Head);