1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/ThinLTO/X86
Johannes Doerfert 12be682413 AbstractCallSite -- A unified interface for (in)direct and callback calls
An abstract call site is a wrapper that allows to treat direct,
  indirect, and callback calls the same. If an abstract call site
  represents a direct or indirect call site it behaves like a stripped
  down version of a normal call site object. The abstract call site can
  also represent a callback call, thus the fact that the initially
  called function (=broker) may invoke a third one (=callback callee).
  In this case, the abstract call side hides the middle man, hence the
  broker function. The result is a representation of the callback call,
  inside the broker, but in the context of the original instruction that
  invoked the broker.

  Again, there are up to three functions involved when we talk about
  callback call sites. The caller (1), which invokes the broker
  function. The broker function (2), that may or may not invoke the
  callback callee. And finally the callback callee (3), which is the
  target of the callback call.

  The abstract call site will handle the mapping from parameters to
  arguments depending on the semantic of the broker function. However,
  it is important to note that the mapping is often partial. Thus, some
  arguments of the call/invoke instruction are mapped to parameters of
  the callee while others are not. At the same time, arguments of the
  callback callee might be unknown, thus "null" if queried.

  This patch introduces also !callback metadata which describe how a
  callback broker maps from parameters to arguments. This metadata is
  directly created by clang for known broker functions, provided through
  source code attributes by the user, or later deduced by analyses.

For motivation and additional information please see the corresponding
talk (slides/video)
  https://llvm.org/devmtg/2018-10/talk-abstracts.html#talk20
as well as the LCPC paper
  http://compilers.cs.uni-saarland.de/people/doerfert/par_opt_lcpc18.pdf

Differential Revision: https://reviews.llvm.org/D54498

llvm-svn: 351627
2019-01-19 05:19:06 +00:00
..
Inputs [ThinLTO] Scan all variants of vague symbol for reachability. 2019-01-02 23:18:20 +00:00
alias_import.ll
alias_internal.ll
alias_resolution.ll
autoupgrade.ll
cache-config.ll
cache-icall.ll [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
cache-import-lists.ll
cache-typeid-resolutions.ll [ThinLTO] Look through aliases when computing hash keys 2018-12-04 00:02:33 +00:00
cache.ll [test] Skip ThinLTO cache tests requiring atime setting on NetBSD 2018-12-05 11:15:50 +00:00
callees-metadata.ll
cfi-devirt.ll Make ThinLTO test run single threaded to try to avoid flakiness 2019-01-18 20:41:49 +00:00
cfi-distributed.ll [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
cfi-icall.ll [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
cfi.ll [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
crash_debuginfo.ll
deadstrip.ll [ThinLTO] Scan all variants of vague symbol for reachability. 2019-01-02 23:18:20 +00:00
debuginfo-compositetype-import.ll
debuginfo-cu-import.ll
devirt-after-icp.ll [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
diagnostic-handler-remarks-with-hotness.ll
diagnostic-handler-remarks.ll
dicompositetype-unique2.ll
dicompositetype-unique-alias.ll
dicompositetype-unique.ll
distributed_import.ll
distributed_indexes.ll
dot-dumper-full-lto.ll
dot-dumper.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
drop-debug-info.ll
dsolocal_dllimport.ll
emit_imports.ll
empty_module_with_cache.ll
empty-module.ll
export.ll
funcimport2.ll
funcimport-debug.ll
funcimport-tbaa.ll
funcimport.ll [LTO] Drop non-prevailing definitions only if linkage is not local or appending 2018-11-08 20:10:07 +00:00
function_entry_count.ll [ThinLTO] Fix test added in rL349076 2018-12-14 08:21:08 +00:00
globals-import-blockaddr.ll
globals-import-const-fold.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
globals-import.ll
import_opaque_type.ll
index-const-prop2.ll ThinLTO: Do not import debug info for imported global constants 2018-12-05 21:42:17 +00:00
index-const-prop-alias.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
index-const-prop-cache.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
index-const-prop-comdat.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
index-const-prop-dead.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
index-const-prop-full-lto.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
index-const-prop-gvref.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
index-const-prop-ldst.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
index-const-prop-linkage.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
index-const-prop-O0.ll [ThinLTO] Internalize readonly globals 2018-11-16 07:08:00 +00:00
index-const-prop.ll ThinLTO: Do not import debug info for imported global constants 2018-12-05 21:42:17 +00:00
internalize.ll [ThinLTO] Add an option to disable (thin)lto internalization. 2018-11-05 15:49:46 +00:00
lazyload_metadata.ll AbstractCallSite -- A unified interface for (in)direct and callback calls 2019-01-19 05:19:06 +00:00
linkonce_aliasee_ref_import.ll
linkonce_odr_unnamed_addr.ll
linkonce_resolution_comdat.ll
lit.local.cfg
llvm.used.ll
local_name_conflict_var.ll [ThinLTO] Import local variables from the same module as caller 2018-11-29 17:02:42 +00:00
local_name_conflict.ll [ThinLTO] Import local variables from the same module as caller 2018-11-29 17:02:42 +00:00
merge-triple.ll
module_asm2.ll
module_asm_glob.ll
module_summary_graph_traits.ll
newpm-basic.ll
noinline.ll
personality-local.ll
personality.ll
pr35472.ll [ThinLTO] Fix a crash in lazy loading of Metadata 2018-11-14 20:58:04 +00:00
prefix_replace.ll
reference_non_importable.ll
referenced_by_constant.ll
save_objects.ll
section.ll
strong_non_prevailing.ll [LTO] Drop non-prevailing definitions only if linkage is not local or appending 2018-11-08 20:10:07 +00:00
tli-nobuiltin.ll
weak_resolution_single.ll
weak_resolution.ll