search for: tryfindvirtualcalltargets

Displaying 2 results from an estimated 2 matches for "tryfindvirtualcalltargets".

2017 Apr 26
2
Identify virtual function call sites and candidate callees for it
Hi, I have an analysis pass which collects information about functions based on their call sites. There are problems I'm facing with processing virtual function calls, namely . How identify virtual call sites in my pass? . How Identify candidate callees for the given virtual call site? For the following example, the information I want to get would be identify call of F and as a possible
2019 Dec 11
5
RFC: Safe Whole Program Devirtualization Enablement
...obalDCE both here in the pre-link LTO compile as well as later in the LTO Backend (where it is applied to a broader set of vtables). LTO Link Handling ----------------- During Whole Program Devirtualization analysis, when looking at the vtables corresponding to the summarized virtual calls during tryFindVirtualCallTargets, we must consult the vcall_visibility information. For hybrid (regular+thin) LTO, the vtable definitions are in the regular LTO partition and so the IR can be consulted directly. For index-only WPD, we instead consult the flag on the vtable’s GlobalVarSummary. If any of the vtable definitions comp...