Deleted Added
full compact
IPO.cpp (218893) IPO.cpp (221345)
1//===-- Scalar.cpp --------------------------------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 31 unchanged lines hidden (view full) ---

40 initializeMergeFunctionsPass(Registry);
41 initializePartialInlinerPass(Registry);
42 initializePruneEHPass(Registry);
43 initializeStripDeadPrototypesPassPass(Registry);
44 initializeStripSymbolsPass(Registry);
45 initializeStripDebugDeclarePass(Registry);
46 initializeStripDeadDebugInfoPass(Registry);
47 initializeStripNonDebugSymbolsPass(Registry);
1//===-- Scalar.cpp --------------------------------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 31 unchanged lines hidden (view full) ---

40 initializeMergeFunctionsPass(Registry);
41 initializePartialInlinerPass(Registry);
42 initializePruneEHPass(Registry);
43 initializeStripDeadPrototypesPassPass(Registry);
44 initializeStripSymbolsPass(Registry);
45 initializeStripDebugDeclarePass(Registry);
46 initializeStripDeadDebugInfoPass(Registry);
47 initializeStripNonDebugSymbolsPass(Registry);
48 initializeSRETPromotionPass(Registry);
49}
50
51void LLVMInitializeIPO(LLVMPassRegistryRef R) {
52 initializeIPO(*unwrap(R));
53}
54
55void LLVMAddArgumentPromotionPass(LLVMPassManagerRef PM) {
56 unwrap(PM)->add(createArgumentPromotionPass());

--- 62 unchanged lines hidden ---
48}
49
50void LLVMInitializeIPO(LLVMPassRegistryRef R) {
51 initializeIPO(*unwrap(R));
52}
53
54void LLVMAddArgumentPromotionPass(LLVMPassManagerRef PM) {
55 unwrap(PM)->add(createArgumentPromotionPass());

--- 62 unchanged lines hidden ---