aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/InterferenceCache.h
diff options
context:
space:
mode:
authorEli Bendersky <eliben@chromium.org>2013-05-28 11:23:28 -0700
committerEli Bendersky <eliben@chromium.org>2013-05-28 11:23:28 -0700
commitffc13bcb40d4257202295fc0ffe25b38bdf64263 (patch)
treee3269675fec1127c195d6b3c248a6a47376b32f0 /lib/CodeGen/InterferenceCache.h
parenta7b1caf4ea69d2cc6ff207fcef7085494bbc686a (diff)
Add two passes that implement conversions from PNaCl's specific intrinsics
to external function calls during the translation stage (llc). One of the passes is a ModulePass that adds the appropriate function declarations to the module. The other is a FunctionPass that performs the actual call replacement. This split exists because of bitcode streaming. Initially the passes handle the llvm.nacl.{set|long}jmp intrinsics. In the future they may handle additional intrinsics that are part of the PNaCl stable bitcode ABI. This CL also removes the previous approach to handling this conversion (in SelectionDAGBuilder.cpp). That ended up not working - more details in issue 3429. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3429 R=mseaborn@chromium.org Review URL: https://codereview.chromium.org/16047002
Diffstat (limited to 'lib/CodeGen/InterferenceCache.h')
0 files changed, 0 insertions, 0 deletions