1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/AsmParser
Alexander Richardson ae19e5c0f7 Allow creating llvm::Function in non-zero address spaces
Most users won't have to worry about this as all of the
'getOrInsertFunction' functions on Module will default to the program
address space.

An overload has been added to Function::Create to abstract away the
details for most callers.

This is based on https://reviews.llvm.org/D37054 but without the changes to
make passing a Module to Function::Create() mandatory. I have also added
some more tests and fixed the LLParser to accept call instructions for
types in the program address space.

Reviewed By: bjope

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

llvm-svn: 340519
2018-08-23 09:25:17 +00:00
..
CMakeLists.txt
LLLexer.cpp DebugInfo: Add metadata support for disabling DWARF pub sections 2018-08-16 21:29:55 +00:00
LLLexer.h [AsmParser] Fix inconsistent declaration parameter name 2018-07-12 02:03:53 +00:00
LLParser.cpp Allow creating llvm::Function in non-zero address spaces 2018-08-23 09:25:17 +00:00
LLParser.h Allow creating llvm::Function in non-zero address spaces 2018-08-23 09:25:17 +00:00
LLToken.h DebugInfo: Add metadata support for disabling DWARF pub sections 2018-08-16 21:29:55 +00:00
LLVMBuild.txt
Parser.cpp [ThinLTO] Parse module summary index from assembly 2018-06-26 13:56:49 +00:00