File tree 2 files changed +0
-17
lines changed 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ uint64_t LLVMGlobalGetGUID(LLVMValueRef Global);
23
23
24
24
void LLVMAddGlobalsAAWrapperPass (LLVMPassManagerRef PM );
25
25
26
- void LLVMAddInternalizePassWithMustPreservePredicate (
27
- LLVMPassManagerRef PM , void * Context ,
28
- LLVMBool (* MustPreserve )(LLVMValueRef , void * ));
29
-
30
26
typedef enum {
31
27
LLVMTailCallKindNone ,
32
28
LLVMTailCallKindTail ,
Original file line number Diff line number Diff line change @@ -41,11 +41,6 @@ extern "C" {
41
41
// https://reviews.llvm.org/D66237
42
42
void LLVMAddGlobalsAAWrapperPass (LLVMPassManagerRef PM);
43
43
44
- // https://reviews.llvm.org/D62456
45
- void LLVMAddInternalizePassWithMustPreservePredicate (
46
- LLVMPassManagerRef PM, void *Context,
47
- LLVMBool (*MustPreserve)(LLVMValueRef, void *));
48
-
49
44
// https://reviews.llvm.org/D66061
50
45
typedef enum {
51
46
LLVMTailCallKindNone,
@@ -85,14 +80,6 @@ uint64_t LLVMGlobalGetGUID(LLVMValueRef Glob) {
85
80
return unwrap<GlobalValue>(Glob)->getGUID ();
86
81
}
87
82
88
- void LLVMAddInternalizePassWithMustPreservePredicate (
89
- LLVMPassManagerRef PM, void *Context,
90
- LLVMBool (*Pred)(LLVMValueRef, void *)) {
91
- unwrap (PM)->add (createInternalizePass ([=](const GlobalValue &GV) {
92
- return Pred (wrap (&GV), Context) == 0 ? false : true ;
93
- }));
94
- }
95
-
96
83
void LLVMAddGlobalsAAWrapperPass (LLVMPassManagerRef PM) {
97
84
unwrap (PM)->add (createGlobalsAAWrapperPass ());
98
85
}
You can’t perform that action at this time.
0 commit comments