TableGen: introduce support for MSBuiltin
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 4 Jul 2014 18:42:25 +0000 (18:42 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 4 Jul 2014 18:42:25 +0000 (18:42 +0000)
commitbb5f6229f4a40e24741aef87fef77982696f723f
treee5c3a17ae446e81b3efc9ba8674f0ad327348304
parent1c9687eed2f17fa478751d6737d9ef1bd4075b22
TableGen: introduce support for MSBuiltin

Add MSBuiltin which is similar in vein to GCCBuiltin.  This allows for adding
intrinsics for Microsoft compatibility to individual instructions.  This is
needed to permit the creation of ARM specific MSVC extensions.

This is not currently in use, and requires an associated change in clang to
enable use of the intrinsics defined by this new class.  This merely sets the
LLVM portion of the infrastructure in place to permit the use of this
functionality.  A separate set of changes will enable the new intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212350 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Intrinsics.h
include/llvm/IR/Intrinsics.td
lib/IR/Function.cpp
utils/TableGen/CodeGenIntrinsics.h
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/IntrinsicEmitter.cpp