hanchenye-llvm-project/llvm/unittests/IR
Tim Northover b7141207a4 Reapply: IR: add optional type to 'byval' function parameters
When we switch to opaque pointer types we will need some way to describe
how many bytes a 'byval' parameter should occupy on the stack. This adds
a (for now) optional extra type parameter.

If present, the type must match the pointee type of the argument.

The original commit did not remap byval types when linking modules, which broke
LTO. This version fixes that.

Note to front-end maintainers: if this causes test failures, it's probably
because the "byval" attribute is printed after attributes without any parameter
after this change.

llvm-svn: 362128
2019-05-30 18:48:23 +00:00
..
AsmWriterTest.cpp
AttributesTest.cpp Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
BasicBlockTest.cpp [opaque pointer types] Pass function types to CallInst creation. 2019-02-01 20:43:25 +00:00
CFGBuilder.cpp [opaque pointer types] Add a FunctionCallee wrapper type, and use it. 2019-02-01 02:28:03 +00:00
CFGBuilder.h
CMakeLists.txt [SVE][IR] Scalable Vector IR Type 2019-05-29 12:22:54 +00:00
ConstantRangeTest.cpp [ValueTracking][ConstantRange] Distinguish low/high always overflow 2019-05-28 18:08:31 +00:00
ConstantsTest.cpp Add FNeg IR constant folding support 2019-05-05 16:07:09 +00:00
DataLayoutTest.cpp [IR][ARM] Add function pointer alignment to datalayout 2019-03-08 10:44:06 +00:00
DebugInfoTest.cpp
DebugTypeODRUniquingTest.cpp
DominatorTreeBatchUpdatesTest.cpp
DominatorTreeTest.cpp
FunctionTest.cpp [IR][ARM] Add function pointer alignment to datalayout 2019-03-08 10:44:06 +00:00
IRBuilderTest.cpp [IRBuilder] Add CreateUnOp(...) to the IRBuilder to support unary FNeg 2019-05-28 13:00:52 +00:00
InstructionsTest.cpp PHI nodes are not `FPMathOperator` s 2019-03-05 01:15:08 +00:00
IntrinsicsTest.cpp
LegacyPassManagerTest.cpp Fix IR/Analysis layering issue with OptBisect 2019-02-28 04:00:55 +00:00
MDBuilderTest.cpp
ManglerTest.cpp
MetadataTest.cpp [DebugInfoMetadata] Refactor DIExpression::prepend constants (NFC) 2019-05-20 10:35:57 +00:00
ModuleTest.cpp
PassBuilderCallbacksTest.cpp [NewPassManager] Adding pass tuning options: loop vectorize. 2019-04-19 16:11:59 +00:00
PassManagerTest.cpp
PatternMatch.cpp Update PatternMatcher for FNeg 2019-05-03 21:19:12 +00:00
TimePassesTest.cpp [Legacy][TimePasses] allow -time-passes reporting into a custom stream 2019-03-22 23:11:08 +00:00
TypesTest.cpp
UseTest.cpp
UserTest.cpp
ValueHandleTest.cpp
ValueMapTest.cpp
ValueTest.cpp
VectorTypesTest.cpp [SVE][IR] Scalable Vector IR Type 2019-05-29 12:22:54 +00:00
VerifierTest.cpp [opaque pointer types] Add a FunctionCallee wrapper type, and use it. 2019-02-01 02:28:03 +00:00
WaymarkTest.cpp