/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 1 //===- MergeFunctions.cpp - Merge identical functions ---------------------===// 84 // versions of MergeFunctions, though it presented only in two function pairs 91 #include "llvm/Transforms/IPO/MergeFunctions.h" 141 "MergeFunctions to pass a basic correctness check. " 190 /// MergeFunctions finds functions which will generate identical machine code, 192 /// MergeFunctions will fold them by replacing a call to one to a call to a 194 class MergeFunctions { 196 MergeFunctions() : FnTree(FunctionNodeCmp(&GlobalNumbers)) { 316 SmallPtrSet<GlobalValue *, 4> &MergeFunctions::getUsed() { return Used; } in doFunctionalCheck() 319 MergeFunctions M in doFunctionalCheck() 195 class MergeFunctions { global() class 197 MergeFunctions() : FnTree(FunctionNodeCmp(&GlobalNumbers)) { MergeFunctions() function in __anon04f510410111::MergeFunctions [all...] |
H A D | CMakeLists.txt | 33 MergeFunctions.cpp
|
/llvm-project/llvm/test/Transforms/MergeFunc/ |
H A D | debuginfo-iterators.ll | 1 ;; Ensure that the MergeFunctions pass creates thunks with the appropriate debug 14 ;; MergeFunctions will replace f4 with a thunk that calls f3. Inlining will 29 ;; Both of these are interposable, so MergeFunctions will create a common thunk
|
H A D | crash2.ll | 4 ; MergeFunctions clears its GlobalNumbers value map. If this map still contains 5 ; entries when running globalopt and the MergeFunctions instance is still alive
|
H A D | nonzero-address-spaces.ll | 3 ; MergeFunctions should respect the default function address
|
/llvm-project/llvm/lib/Passes/ |
H A D | PassBuilderBindings.cpp | 180 LLVMBool MergeFunctions) { 181 unwrap(Options)->PTO.MergeFunctions = MergeFunctions; 139 LLVMPassBuilderOptionsSetMergeFunctions(LLVMPassBuilderOptionsRef Options,LLVMBool MergeFunctions) LLVMPassBuilderOptionsSetMergeFunctions() argument
|
H A D | PassBuilderPipelines.cpp | 67 #include "llvm/Transforms/IPO/MergeFunctions.h" 324 MergeFunctions = EnableMergeFunctions; 1597 if (PTO.MergeFunctions) in buildFatLTODefaultPipeline() 2130 if (PTO.MergeFunctions) in buildO0DefaultPipeline() 2200 if (PTO.MergeFunctions)
|
/llvm-project/llvm/bindings/ocaml/transforms/passbuilder/ |
H A D | passbuilder_ocaml.c | 119 value MergeFunctions) { in llvm_passbuilder_options_set_merge_functions() argument 121 Bool_val(MergeFunctions)); in llvm_passbuilder_options_set_merge_functions()
|
H A D | llvm_passbuilder.mli | 77 [llvm::PipelineTuningOptions::MergeFunctions]. *)
|
/llvm-project/llvm/include/llvm-c/Transforms/ |
H A D | PassBuilder.h | 118 LLVMBool MergeFunctions);
|
/llvm-project/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/ |
H A D | BUILD.gn | 54 "MergeFunctions.cpp",
|
/llvm-project/llvm/docs/ |
H A D | UserGuides.rst | 53 MergeFunctions 144 :doc:`MergeFunctions`
|
H A D | MergeFunctions.rst | 2 MergeFunctions pass, how it works 169 MergeFunctions, main fields and runOnModule 250 The rest of the article is based on *MergeFunctions.cpp* source code 251 (found in *<llvm_dir>/lib/Transforms/IPO/MergeFunctions.cpp*). We would like 496 This comparison has been implemented in initial *MergeFunctions* pass 657 Once *MergeFunctions* detected that current function (*G*) is equal to one that
|
H A D | Passes.rst | 816 :doc:`this <MergeFunctions>`
|
/llvm-project/llvm/include/llvm/Passes/ |
H A D | PassBuilder.h | 84 bool MergeFunctions; 85 bool MergeFunctions; global() variable
|
/llvm-project/clang/lib/CodeGen/ |
H A D | BackendUtil.cpp | 889 PTO.MergeFunctions = CodeGenOpts.MergeFunctions; in RunOptimizationPipeline()
|
/llvm-project/clang/include/clang/Basic/ |
H A D | CodeGenOptions.def | 183 CODEGENOPT(MergeFunctions , 1, 0) ///< Set when -fmerge-functions is enabled.
|
/llvm-project/clang/include/clang/Driver/ |
H A D | Options.td | 7451 MarshallingInfoFlag<CodeGenOpts<"MergeFunctions">>;
|