Home | History | Annotate | Download | only in CodeGen

Lines Matching full:shadow

1 //===-- ShadowStackGCLowering.cpp - Custom lowering for shadow-stack gc ---===//
10 // This file contains the custom lowering code required by the shadow-stack GC
34 /// StackEntryTy - Abstract type of a link in the shadow stack.
64 INITIALIZE_PASS_BEGIN(ShadowStackGCLowering, "shadow-stack-gc-lowering",
65 "Shadow Stack GC Lowering", false, false)
67 INITIALIZE_PASS_END(ShadowStackGCLowering, "shadow-stack-gc-lowering",
68 "Shadow Stack GC Lowering", false, false)
264 if (F.hasGC() && F.getGC() == std::string("shadow-stack")) {
376 /// runOnFunction - Insert code to maintain the shadow stack.
378 // Quick exit for functions that do not use the shadow stack GC.
380 F.getGC() != std::string("shadow-stack"))
393 // Build the constant map and figure the type of the shadow stack entry.
397 // Build the shadow stack entry at the very start of the function.
408 // Initialize the map pointer and load the current head of the shadow stack.
429 // shadow stack.
434 // Push the entry onto the shadow stack.
445 // Pop the entry from the shadow stack. Don't reuse CurrentHead from