Lines Matching full:gadget
271 LLVM_DEBUG(dbgs() << "Building gadget graph...\n"); in runOnMachineFunction()
276 LLVM_DEBUG(dbgs() << "Building gadget graph... Done\n"); in runOnMachineFunction()
286 LLVM_DEBUG(dbgs() << "Emitting gadget graph...\n"); in runOnMachineFunction()
296 LLVM_DEBUG(dbgs() << "Emitting gadget graph... Done\n"); in runOnMachineFunction()
400 // case all arguments will be treated as gadget sources during in getGadgetGraph()
413 // a new gadget source anyways). in getGadgetGraph()
460 // Add the gadget edge to the graph. in getGadgetGraph()
508 // Add any instructions within the block that are gadget components in getGadgetGraph()
539 // Returns the number of remaining gadget edges that could not be eliminated
557 // Find and eliminate gadget edges that have been mitigated. in elimMitigatedEdgesAndNodes()
562 continue; // skip this node if it isn't a gadget source in elimMitigatedEdgesAndNodes()
579 // Any gadget whose sink is unreachable has been mitigated in elimMitigatedEdgesAndNodes()
583 // This gadget's sink is reachable in elimMitigatedEdgesAndNodes()
585 } else { // This gadget's sink is unreachable, and therefore mitigated in elimMitigatedEdgesAndNodes()
678 // For each gadget edge, make cuts that guarantee the gadget will be in hardenLoadsWithHeuristic()
680 // (a) cut all egress CFG edges from the gadget source, or in hardenLoadsWithHeuristic()
681 // (b) cut all ingress CFG edges to the gadget sink. in hardenLoadsWithHeuristic()
684 // to make a (b)-type cut if the gadget source resides at a greater loop depth in hardenLoadsWithHeuristic()
685 // than the gadget sink, or an (a)-type cut otherwise. in hardenLoadsWithHeuristic()