Lines Matching full:shadow
1 //===- ShadowStackGCLowering.cpp - Custom lowering for shadow-stack gc ----===//
9 // This file contains the custom lowering code required by the shadow-stack GC
51 #define DEBUG_TYPE "shadow-stack-gc-lowering"
60 /// StackEntryTy - Abstract type of a link in the shadow stack.
113 if (Map.StrategyMap.contains("shadow-stack"))
137 "Shadow Stack GC Lowering", false, false)
141 "Shadow Stack GC Lowering", false, false)
218 if (F.hasGC() && F.getGC() == "shadow-stack") {
331 /// runOnFunction - Insert code to maintain the shadow stack.
334 // Quick exit for functions that do not use the shadow stack GC.
335 if (!F.hasGC() || F.getGC() != "shadow-stack")
348 // Build the constant map and figure the type of the shadow stack entry.
352 // Build the shadow stack entry at the very start of the function.
362 // Initialize the map pointer and load the current head of the shadow stack.
384 // shadow stack.
389 // Push the entry onto the shadow stack.
400 // Pop the entry from the shadow stack. Don't reuse CurrentHead from