Home
last modified time | relevance | path

Searched refs:ICF (Results 1 – 25 of 59) sorted by relevance

123

/external/llvm-project/lld/test/COFF/
Dicf-simple.test4 # RUN: FileCheck -check-prefix=ICF %s < %t.log
6 # ICF: Selected foo
7 # ICF: Removed bar
16 # ICF is on by default (no /opt: flags).
19 # RUN: FileCheck -check-prefix=ICF %s < %t.log
21 # /debug disables ICF.
26 # /profile disables ICF.
31 # /opt:noref disables ICF.
36 # /debug /opt:ref enables ICF.
39 # RUN: FileCheck -check-prefix=ICF %s < %t.log
[all …]
Dlto-icf.ll2 ; Test that ICF works after LTO, i.e. both functions have the same address.
3 ; Previously, when we didn't enable function sections, ICF didn't work.
Dincremental.test40 # RUN: | FileCheck -check-prefix=WARN-ICF %s
95 # WARN-ICF: ignoring '/incremental' because ICF is enabled; use '/opt:noicf' to disable
/external/llvm-project/lld/COFF/
DICF.cpp41 class ICF { class
78 bool ICF::isEligible(SectionChunk *c) { in isEligible()
102 void ICF::segregate(size_t begin, size_t end, bool constant) { in segregate()
128 bool ICF::assocEquals(const SectionChunk *a, const SectionChunk *b) { in assocEquals()
146 bool ICF::equalsConstant(const SectionChunk *a, const SectionChunk *b) { in equalsConstant()
179 bool ICF::equalsVariable(const SectionChunk *a, const SectionChunk *b) { in equalsVariable()
197 size_t ICF::findBoundary(size_t begin, size_t end) { in findBoundary()
204 void ICF::forEachClassRange(size_t begin, size_t end, in forEachClassRange()
214 void ICF::forEachClass(std::function<void(size_t, size_t)> fn) { in forEachClass()
246 void ICF::run(ArrayRef<Chunk *> vec) { in run()
[all …]
DCMakeLists.txt12 ICF.cpp
/external/llvm-project/lld/ELF/
DICF.cpp100 template <class ELFT> class ICF { class
200 void ICF<ELFT>::segregate(size_t begin, size_t end, uint32_t eqClassBase, in segregate()
240 bool ICF<ELFT>::constantEq(const InputSection *secA, ArrayRef<RelTy> ra, in constantEq()
314 bool ICF<ELFT>::equalsConstant(const InputSection *a, const InputSection *b) { in equalsConstant()
334 bool ICF<ELFT>::variableEq(const InputSection *secA, ArrayRef<RelTy> ra, in variableEq()
371 bool ICF<ELFT>::equalsVariable(const InputSection *a, const InputSection *b) { in equalsVariable()
378 template <class ELFT> size_t ICF<ELFT>::findBoundary(size_t begin, size_t end) { in findBoundary()
392 void ICF<ELFT>::forEachClassRange(size_t begin, size_t end, in forEachClassRange()
403 void ICF<ELFT>::forEachClass(llvm::function_ref<void(size_t, size_t)> fn) { in forEachClass()
458 template <class ELFT> void ICF<ELFT>::run() { in run()
[all …]
/external/python/cpython2/Tools/msi/
Dmsisupport.mak1 # /OPT: REF and ICF are added by VS.NET by default
3 …link.exe /OUT:msisupport.dll /INCREMENTAL:NO /NOLOGO /DLL /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF msi…
/external/llvm-project/lld/test/ELF/
Dicf16.s5 ## ICF is able to merge sections which relocations referring regular input sections
7 ## here we check that ICF code is able to handle and will not merge sections which
Dicf-ineligible.s5 ## Check that ICF is able to merge equivalent sections with relocations to
7 ## ineligible for ICF.
Ddebug-dead-reloc-icf.s3 ## value if the referenced section symbol is folded into another section by ICF.
21 ## .text.1 will be folded by ICF.
Dgdb-index-icf.s2 ## Test that the address range contributed by an ICF folded function is identical
3 ## to that of the folded-in function. Not considering ICF may lead to an address
Deh-frame-hdr-icf-fde.s3 ## Testcase checks that we correctly deduplicate FDEs when ICF
45 ## Check .eh_frame contains CIE and two FDEs remaining after ICF.
Demit-relocs-icf2.s4 ## With ICF, merged sections do not have output sections assigned.
Dicf10.s6 # Checks that ICF does not merge 2 sections the offset of
Dicf12.s6 # Check that ICF does not merge 2 sections which relocations
Dicf15.s5 ## Check that ICF does not merge sections which relocations have equal addends,
Dicf13.s5 ## Check that ICF does not merge sections which relocations point to symbols
Dicf14.s6 # Check that ICF does not merge 2 sections which relocations
Dsymbol-ordering-file-icf.s9 ## Check that after ICF merges 'foo' and 'zed' we still
Dicf-merged-sections.s7 # Check that merge synthetic sections are not merged by ICF.
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMustExecute.cpp71 return ICF.hasICF(BB); in blockMayThrow()
80 ICF.clear(); in computeLoopSafetyInfo()
85 if (ICF.hasICF(&*BB)) { in computeLoopSafetyInfo()
94 ICF.insertInstructionTo(Inst, BB); in insertInstructionTo()
99 ICF.removeInstruction(Inst); in removeInstruction()
270 return !ICF.isDominatedByICFIFromSameBlock(&Inst) && in isGuaranteedToExecute()
/external/llvm-project/llvm/lib/Analysis/
DMustExecute.cpp73 return ICF.hasICF(BB); in blockMayThrow()
82 ICF.clear(); in computeLoopSafetyInfo()
87 if (ICF.hasICF(&*BB)) { in computeLoopSafetyInfo()
96 ICF.insertInstructionTo(Inst, BB); in insertInstructionTo()
101 ICF.removeInstruction(Inst); in removeInstruction()
272 return !ICF.isDominatedByICFIFromSameBlock(&Inst) && in isGuaranteedToExecute()
/external/llvm-project/lld/test/MinGW/
Ddriver.test173 RUN: ld.lld -### -m i386pep foo.o | FileCheck -check-prefix ICF-NONE %s
174 RUN: ld.lld -### -m i386pep foo.o --icf=none | FileCheck -check-prefix ICF-NONE %s
175 RUN: ld.lld -### -m i386pep foo.o -icf=none | FileCheck -check-prefix ICF-NONE %s
176 RUN: ld.lld -### -m i386pep foo.o --icf=safe | FileCheck -check-prefix ICF-NONE %s
177 RUN: ld.lld -### -m i386pep foo.o -icf=safe | FileCheck -check-prefix ICF-NONE %s
178 ICF-NONE: -opt:noicf
180 RUN: ld.lld -### -m i386pep foo.o --icf=all | FileCheck -check-prefix ICF %s
181 RUN: ld.lld -### -m i386pep foo.o -icf=all | FileCheck -check-prefix ICF %s
182 ICF: -opt:icf
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMustExecute.h139 mutable ImplicitControlFlowTracking ICF; variable
174 ICFLoopSafetyInfo(DominatorTree *DT) : LoopSafetyInfo(), ICF(DT), MW(DT) {}; in ICFLoopSafetyInfo()
/external/llvm-project/llvm/utils/gn/secondary/lld/COFF/
DBUILD.gn36 "ICF.cpp",

123