History log of /llvm-project/llvm/docs/ProgrammersManual.rst (Results 1 – 25 of 175)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7
# 18b47373 03-Jan-2025 jmriesen <20286401+jmriesen@users.noreply.github.com>

Updating broken/outdated links in the ProgrammerManual (#119472)

Fixes llvm/llvm-project#117897


Revision tags: llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4
# f3a47b9e 22-Aug-2024 Florian Mayer <fmayer@google.com>

[NFC] [Docs] add missing space


Revision tags: llvmorg-19.1.0-rc3
# 5f15c177 15-Aug-2024 Yanzuo Liu <zwuis@outlook.com>

[llvm][Docs] `_or_null` -> `_if_present` in Programmer's Manual (#98586)

`cast_or_null` is deprecated.

https://github.com/llvm/llvm-project/blob/062844615db5e141da118c1ad780bf102537f40a/llvm/incl

[llvm][Docs] `_or_null` -> `_if_present` in Programmer's Manual (#98586)

`cast_or_null` is deprecated.

https://github.com/llvm/llvm-project/blob/062844615db5e141da118c1ad780bf102537f40a/llvm/include/llvm/Support/Casting.h#L717-L722

show more ...


Revision tags: llvmorg-19.1.0-rc2
# b5f2db20 26-Jul-2024 Vitaly Buka <vitalybuka@google.com>

[docs] Fix code-block formating (#100772)


Revision tags: llvmorg-19.1.0-rc1, llvmorg-20-init
# 42c3edb4 27-Jun-2024 Nikita Popov <npopov@redhat.com>

[SmallPtrSet] Don't leave tombstones in small mode (#96762)

When erasing elements in small mode, we currently leave behind
tombstones. This means that insertion into the SmallPtrSet also has to
ch

[SmallPtrSet] Don't leave tombstones in small mode (#96762)

When erasing elements in small mode, we currently leave behind
tombstones. This means that insertion into the SmallPtrSet also has to
check for these, making the operation more expensive than it really
should be.

We don't really need the tombstones in small mode, because we can just
replace with the last element in the set instead. This changes the
order, but SmallPtrSet order is fundamentally unstable anyway.

However, not leaving tombstones means that the erase() operation now
invalidates iterators. This means that consumers that want to remove
elements while iterating over the set have to use remove_if() instead.
If they fail to do so, there will be an assertion failure thanks to
debug epochs, so any such cases are easy to detect (and I have already
fixed all cases inside llvm at least).

show more ...


Revision tags: llvmorg-18.1.8, llvmorg-18.1.7
# d46e3734 28-May-2024 Ralender <Tyker1@outlook.com>

[DebugCounter] Add support for non-continous ranges. (#89470)


Revision tags: llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init
# a2691e36 14-Dec-2023 Yuhao Gu <49391101+yhgu2000@users.noreply.github.com>

[docs] remove some out-of-date content in LLVM Programmer's Manual (#74989)

Remove the part about implicit conversion from an iterator to a pointer.

This part of the manual was written 14 years a

[docs] remove some out-of-date content in LLVM Programmer's Manual (#74989)

Remove the part about implicit conversion from an iterator to a pointer.

This part of the manual was written 14 years ago, in:
https://github.com/llvm/llvm-project/commit/37027c30ec526afe3bb571df6f8701bf0d322f22

There do exist a type casting operator in `ilist` then:
https://github.com/llvm/llvm-project/blob/37027c30ec526afe3bb571df6f8701bf0d322f22/llvm/include/llvm/ADT/ilist.h#L192-L194

But it has been remove since 2016:
https://github.com/llvm/llvm-project/commit/f197b1f78f854d8513ef617b8cfc61860f7b4b84

So I think it makes sense to remove this part to avoid mislead new
contributors.

show more ...


Revision tags: llvmorg-17.0.6, llvmorg-17.0.5
# ab97b89d 06-Nov-2023 GoodDaisy <90915921+GoodDaisy@users.noreply.github.com>

[llvm][docs]: fix typos (#71303)


Revision tags: llvmorg-17.0.4
# 69394113 30-Oct-2023 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[docs] mention that DenseMap has a SmallDenseMap variant (#70677)

via https://github.com/llvm/llvm-project/pull/67699/files#r1375105711


Revision tags: llvmorg-17.0.3, llvmorg-17.0.2
# 4ae51570 30-Sep-2023 Giulio Eulisse <10544+ktf@users.noreply.github.com>

Introduce paged vector (#66430)

The goal of the class is to be an (almost) drop in replacement for
SmallVector and std::vector when those are presized and filled later, as
it happens in SourceMana

Introduce paged vector (#66430)

The goal of the class is to be an (almost) drop in replacement for
SmallVector and std::vector when those are presized and filled later, as
it happens in SourceManager and ASTReader.

By doing so, sparsely accessed PagedVector can profit from reduced
memory footprint.

show more ...


Revision tags: llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4
# 96ddbd6d 13-May-2023 Kazu Hirata <kazu@google.com>

[llvm] Fix typos in documentation


Revision tags: llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1
# 8c40ad17 30-Mar-2023 Jakub Kuderski <kubak@google.com>

[docs] Add section on iteration utilities (`zip` & `enumerate`)

Since these are not in C++17, mention them in the programmers manual.

Reviewed By: kazu

Differential Revision: https://reviews.llvm.

[docs] Add section on iteration utilities (`zip` & `enumerate`)

Since these are not in C++17, mention them in the programmers manual.

Reviewed By: kazu

Differential Revision: https://reviews.llvm.org/D147199

show more ...


Revision tags: llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3
# 823186b1 14-Feb-2023 Vasileios Porpodas <vporpodas@google.com>

Recommit: [NFC][IR] Make Module::getGlobalList() private

This reverts commit cb5f239363a3c94db5425c105fcd45e77d2a16a9.


# cb5f2393 14-Feb-2023 Vasileios Porpodas <vporpodas@google.com>

Revert "[NFC][IR] Make Module::getGlobalList() private"

This reverts commit ed3e3ee9e30dfbffd2170a770a49b36a7f444916.


# ed3e3ee9 08-Feb-2023 Vasileios Porpodas <vporpodas@google.com>

[NFC][IR] Make Module::getGlobalList() private

This patch adds several missing GlobalList modifier functions, like
removeGlobalVariable(), eraseGlobalVariable() and insertGlobalVariable().
There is

[NFC][IR] Make Module::getGlobalList() private

This patch adds several missing GlobalList modifier functions, like
removeGlobalVariable(), eraseGlobalVariable() and insertGlobalVariable().
There is no longer need to access the list directly so it also makes
getGlobalList() private.

Differential Revision: https://reviews.llvm.org/D144027

show more ...


Revision tags: llvmorg-16.0.0-rc2
# 279f262d 31-Jan-2023 Vasileios Porpodas <vporpodas@google.com>

[Doc] Removes extra argument of ReplaceInstWithValue()

Differential Revision: https://reviews.llvm.org/D142944


Revision tags: llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7
# 12c55eb6 14-Dec-2022 Vasileios Porpodas <vporpodas@google.com>

[docs] Update docs since getBasicBlockList() is now private

Differential Revision: https://reviews.llvm.org/D140163


# 32b38d24 15-Dec-2022 Vasileios Porpodas <vporpodas@google.com>

[NFC] Rename Instruction::insertAt() to Instruction::insertInto(), to be consistent with BasicBlock::insertInto()

Differential Revision: https://reviews.llvm.org/D140085


# bc63a393 14-Dec-2022 Vasileios Porpodas <vporpodas@google.com>

[docs] Updates ProgrammersManual to reflect the change that BasicBlock::getInstList() is private.

Differential Revision: https://reviews.llvm.org/D140054


Revision tags: llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, working, llvmorg-15.0.2
# 6584d1f9 27-Sep-2022 Carlos Alberto Enciso <carlos.alberto.enciso@gmail.com>

[ADT] Add IntervalTree - light tree data structure to hold intervals.

It allows finding all intervals that overlap with any given point.
At this time, it does not support any deletion or rebalancing

[ADT] Add IntervalTree - light tree data structure to hold intervals.

It allows finding all intervals that overlap with any given point.
At this time, it does not support any deletion or rebalancing
operations.

The IntervalTree is designed to be set up once, and then queried
without any further additions.

Reviewed By: psamolysov, probinson

Differential Revision: https://reviews.llvm.org/D125776

show more ...


Revision tags: llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1
# 94761b9d 27-Jul-2022 Renato Golin <rengolin@systemcall.eu>

Update ProgrammersManual STL docs

The SGI page doesn't exist anymore and isn't really relevant at this day
and age.

While at it, added the "other" main C++ website and moved all URLs to
HTTPS.


Revision tags: llvmorg-16-init, llvmorg-14.0.6, llvmorg-14.0.5
# 9b3c5cba 08-Jun-2022 Nathan Lanza <nathan@lanza.io>

Update the ProgrammersManual explanation for ilist and iplist

They are now `using` aliases and thus the comments about iplist are now
incorrect. Remove them here.

Reviewed By: dexonsmith

Different

Update the ProgrammersManual explanation for ilist and iplist

They are now `using` aliases and thus the comments about iplist are now
incorrect. Remove them here.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D95210

show more ...


Revision tags: llvmorg-14.0.4, llvmorg-14.0.3, llvmorg-14.0.2, llvmorg-14.0.1, llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3, llvmorg-14.0.0-rc2, llvmorg-14.0.0-rc1, llvmorg-15-init
# 901dd53c 21-Jan-2022 Hsiangkai Wang <hsiangkai@google.com>

[docs] There are more than three bit storage containers.

To avoid listing all the bit containers in the title and do not use the
specific number for the number of bit containers.

Differential Revis

[docs] There are more than three bit storage containers.

To avoid listing all the bit containers in the title and do not use the
specific number for the number of bit containers.

Differential Revision: https://reviews.llvm.org/D117849

show more ...


# 48f763ed 21-Jan-2022 Hsiangkai Wang <hsiangkai@google.com>

[docs] Refine the description in Set-Like and Map-Like container options.

In "Other Set-Like Container Options":
* Drops the references to C++ TR1 and SGI and hash_set.
* Drops the worry about porta

[docs] Refine the description in Set-Like and Map-Like container options.

In "Other Set-Like Container Options":
* Drops the references to C++ TR1 and SGI and hash_set.
* Drops the worry about portability (this was a problem with hash_set, but
std::unordered_set has worked portably since LLVM started depending
on C++11).

It is similar in "Other Map-Like Container Options" section.

Differential Revision: https://reviews.llvm.org/D117858

show more ...


Revision tags: llvmorg-13.0.1, llvmorg-13.0.1-rc3
# d93ffa1b 18-Jan-2022 Hsiangkai Wang <hsiangkai@google.com>

[docs] Fix typo in the example code in ProgrammersManual.

Differential Revision: https://reviews.llvm.org/D117665


1234567