llvm/test/Bitcode
Rafael Espindola 2d21b25393 Allow alias to point to an arbitrary ConstantExpr.
This  patch changes GlobalAlias to point to an arbitrary ConstantExpr and it is
up to MC (or the system assembler) to decide if that expression is valid or not.

This reduces our ability to diagnose invalid uses and how early we can spot
them, but it also lets us do things like

@test5 = alias inttoptr(i32 sub (i32 ptrtoint (i32* @test2 to i32),
                                 i32 ptrtoint (i32* @bar to i32)) to i32*)

An important implication of this patch is that the notion of aliased global
doesn't exist any more. The alias has to encode the information needed to
access it in its metadata (linkage, visibility, type, etc).

Another consequence to notice is that getSection has to return a "const char *".
It could return a NullTerminatedStringRef if there was such a thing, but when
that was proposed the decision was to just uses "const char*" for that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210062 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-03 02:41:57 +00:00
..
2006-12-11-Cast-ConstExpr.ll Fix test cases that were previously using grep to use FileCheck 2011-05-28 00:15:10 +00:00
2009-06-11-FirstClassAggregateConstant.ll
aggregateInstructions.3.2.ll Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
aggregateInstructions.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
arm32_neon_vcnt_upgrade.ll More replacing of target-dependent intrinsics with target-indepdent 2012-07-18 00:02:16 +00:00
attributes-3.3.ll Make .bc en/decoding of AttrKind stable 2013-07-26 04:16:55 +00:00
attributes-3.3.ll.bc Make .bc en/decoding of AttrKind stable 2013-07-26 04:16:55 +00:00
attributes.ll Add 'nonnull', a new parameter and return attribute which indicates that the pointer is not null. Instcombine will elide comparisons between these and null. Patch by Luqman Aden! 2014-05-20 01:23:40 +00:00
binaryFloatInstructions.3.2.ll Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
binaryFloatInstructions.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
binaryIntInstructions.3.2.ll Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
binaryIntInstructions.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
bitwiseInstructions.3.2.ll Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
bitwiseInstructions.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
blockaddress.ll BitcodeReader: Correctly insert blockaddress constant referring to a already parsed function. 2012-09-21 14:34:31 +00:00
calling-conventions.3.2.ll Ensure bitcode encoding of calling conventions stays stable. Patch by Boaz Ouriel. 2013-12-22 07:51:53 +00:00
calling-conventions.3.2.ll.bc Ensure bitcode encoding of calling conventions stays stable. Patch by Boaz Ouriel. 2013-12-22 07:51:53 +00:00
case-ranges-3.3.ll Revert patches to add case-range support for PR1255. 2013-09-09 19:14:35 +00:00
case-ranges-3.3.ll.bc Revert patches to add case-range support for PR1255. 2013-09-09 19:14:35 +00:00
cmpxchg-upgrade.ll IR: add a second ordering operand to cmpxhg for failure 2014-03-11 10:48:52 +00:00
cmpxchg-upgrade.ll.bc IR: add a second ordering operand to cmpxhg for failure 2014-03-11 10:48:52 +00:00
conversionInstructions.3.2.ll Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
conversionInstructions.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
deprecated-linker_private-linker_private_weak.ll AsmParser: add a warning for compatibility parsing 2014-04-05 22:42:53 +00:00
drop-debug-info.ll Update testing case for r200806. 2014-02-04 23:53:12 +00:00
extractelement.ll Use -disable-output and to suppress output and don't use a temporary file unless we need one. 2013-08-20 23:00:25 +00:00
flags.ll Fix the bitcode reader to deserialize nuw/nsw/etc. bits properly in the case 2010-01-25 21:55:39 +00:00
function-encoding-rel-operands.ll Change encoding of instruction operands in bitcode binaries to be relative 2012-10-11 20:20:40 +00:00
global-variables.3.2.ll Ensure bitcode encoding of global variable attributes stays stable. Patch by Boaz Ouriel. 2013-12-15 11:50:45 +00:00
global-variables.3.2.ll.bc Ensure bitcode encoding of global variable attributes stays stable. Patch by Boaz Ouriel. 2013-12-15 11:50:45 +00:00
invalid.ll Change BitcodeReader to use error_code instead of bool + string. 2013-11-04 16:16:24 +00:00
invalid.ll.bc Use a larger invalid attribute bitcode number 2013-10-31 19:12:36 +00:00
linkage-types-3.2.ll Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
linkage-types-3.2.ll.bc Ensure bitcode encoding of linkage types stays stable. Patch by Boaz Ouriel 2013-12-01 10:16:35 +00:00
local-linkage-default-visibility.3.4.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
local-linkage-default-visibility.3.4.ll.bc IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
memInstructions.3.2.ll IR: add a second ordering operand to cmpxhg for failure 2014-03-11 10:48:52 +00:00
memInstructions.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-03-02 15:26:36 +00:00
metadata-2.ll Use -disable-output and to suppress output and don't use a temporary file unless we need one. 2013-08-20 23:00:25 +00:00
metadata.ll Use -disable-output and to suppress output and don't use a temporary file unless we need one. 2013-08-20 23:00:25 +00:00
miscInstructions.3.2.ll Ensure bitcode encoding of instructions and their operands stays stable. 2014-03-02 15:26:36 +00:00
miscInstructions.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-03-02 15:26:36 +00:00
null-type.ll Change BitcodeReader to use error_code instead of bool + string. 2013-11-04 16:16:24 +00:00
null-type.ll.bc Testcase for PR8494 (invalid bitcode crashing the bitcode reader). 2010-10-28 15:57:30 +00:00
old-aliases.ll Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
old-aliases.ll.bc Fix most of PR10367. 2014-05-16 19:35:39 +00:00
pr18704.ll All new elements except the last one initialized to NULL. Ideally, once parsing is complete, all elements should be non-NULL. 2014-03-27 12:08:23 +00:00
pr18704.ll.bc All new elements except the last one initialized to NULL. Ideally, once parsing is complete, all elements should be non-NULL. 2014-03-27 12:08:23 +00:00
ptest-new.ll Modify the LLVM assembly output so that it uses references to represent function attributes. 2013-02-20 07:21:42 +00:00
ptest-old.ll Modify the LLVM assembly output so that it uses references to represent function attributes. 2013-02-20 07:21:42 +00:00
select.ll Fold vector selects with undef elements in the condition. Fixes PR18319. 2013-12-31 19:30:47 +00:00
shuffle.ll Use -disable-output and to suppress output and don't use a temporary file unless we need one. 2013-08-20 23:00:25 +00:00
ssse3_palignr.ll Simplify tests by not piping them through llvm-dis. 2011-10-25 19:59:50 +00:00
tailcall.ll Add 'musttail' marker to call instructions 2014-04-24 20:14:34 +00:00
terminatorInstructions.3.2.ll Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
terminatorInstructions.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
upgrade-global-ctors.ll Handle ConstantAggregateZero when upgrading global_ctors. 2014-05-17 21:00:22 +00:00
upgrade-global-ctors.ll.bc Handle ConstantAggregateZero when upgrading global_ctors. 2014-05-17 21:00:22 +00:00
upgrade-tbaa.ll AutoUpgrade: upgrade from scalar TBAA format to struct-path aware TBAA format. 2013-09-28 00:22:27 +00:00
variableArgumentIntrinsic.3.2.ll Ensure bitcode encoding of instructions and their operands stays stable. 2014-03-02 15:26:36 +00:00
variableArgumentIntrinsic.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-03-02 15:26:36 +00:00
vectorInstructions.3.2.ll Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
vectorInstructions.3.2.ll.bc Ensure bitcode encoding of instructions and their operands stays stable. 2014-02-26 12:06:36 +00:00
visibility-styles.3.2.ll Fixed CRLF 2013-12-08 12:16:20 +00:00
visibility-styles.3.2.ll.bc Ensure bitcode encoding of visibility styles stays stable. Patch by Boaz Ouriel. 2013-12-08 11:35:09 +00:00