Home
last modified time | relevance | path

Searched refs:MergeFunctions (Results 1 – 18 of 18) sorted by relevance

/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp1 //===- 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 DCMakeLists.txt33 MergeFunctions.cpp
/llvm-project/llvm/test/Transforms/MergeFunc/
H A Ddebuginfo-iterators.ll1 ;; 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 Dcrash2.ll4 ; 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 Dnonzero-address-spaces.ll3 ; MergeFunctions should respect the default function address
/llvm-project/llvm/lib/Passes/
H A DPassBuilderBindings.cpp180 LLVMBool MergeFunctions) {
181 unwrap(Options)->PTO.MergeFunctions = MergeFunctions;
139 LLVMPassBuilderOptionsSetMergeFunctions(LLVMPassBuilderOptionsRef Options,LLVMBool MergeFunctions) LLVMPassBuilderOptionsSetMergeFunctions() argument
H A DPassBuilderPipelines.cpp67 #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 Dpassbuilder_ocaml.c119 value MergeFunctions) { in llvm_passbuilder_options_set_merge_functions() argument
121 Bool_val(MergeFunctions)); in llvm_passbuilder_options_set_merge_functions()
H A Dllvm_passbuilder.mli77 [llvm::PipelineTuningOptions::MergeFunctions]. *)
/llvm-project/llvm/include/llvm-c/Transforms/
H A DPassBuilder.h118 LLVMBool MergeFunctions);
/llvm-project/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/
H A DBUILD.gn54 "MergeFunctions.cpp",
/llvm-project/llvm/docs/
H A DUserGuides.rst53 MergeFunctions
144 :doc:`MergeFunctions`
H A DMergeFunctions.rst2 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 DPasses.rst816 :doc:`this <MergeFunctions>`
/llvm-project/llvm/include/llvm/Passes/
H A DPassBuilder.h84 bool MergeFunctions;
85 bool MergeFunctions; global() variable
/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp889 PTO.MergeFunctions = CodeGenOpts.MergeFunctions; in RunOptimizationPipeline()
/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def183 CODEGENOPT(MergeFunctions , 1, 0) ///< Set when -fmerge-functions is enabled.
/llvm-project/clang/include/clang/Driver/
H A DOptions.td7451 MarshallingInfoFlag<CodeGenOpts<"MergeFunctions">>;