llvm-mirror/llvm
View on GitHub ↗ ★ 4,576 LLVM archived
Project moved to: https://github.com/llvm/llvm-project
49 mentions on Hacker News by 41 people: 3 stories, 46 comments · first 2013-08-09 · latest 2022-10-16
20082026
-
…anyway, unless you're doing 'actual' text processing or need to write your own text renderer) [1] https://github.com/llvm-mirror/llvm/blob/master/lib/Support/...
comment by flohofwoe · 2022-10-16 · in The Wonderfully Terrible World of C and C++ Text Encoding APIs (With Some Rust) -
An extension to this infact is the following - https://github.com/llvm-mirror/llvm/blob/f36485f7ac2a8d72ad0... So the original user's comment might infact get detected by this and get optimised down to using popcnt. Will need to try it…
comment by juxhindb · 2021-04-19 · in Rediscovering Hamming Code -
…[code stand]: https://releases.llvm.org/4.0.1/docs/CodingStandards.html [llvm-git]: https://github.com/llvm-mirror/llvm [llvm-doxy]: http://llvm.org/doxygen/modules.html PS. The Coding Standards will contain a lot of subjective stuff that…
comment by palotasb · 2020-10-28 · in Ask HN: Good C++ code bases to read? -
…recurrences, so you can solve, say, sum i^2 with clang too: https://godbolt.org/z/-nHe78 [1] https://github.com/llvm-mirror/llvm/blob/master/lib/Analysis...
comment by lifthrasiir · 2019-09-09 · in Popcount CPU instruction -
https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X... On x86, they have a scheduling model for most recent Intel Tock cycles going back to Sandy Lake, and AMD Piledriver, Jaguar, and Zen microarchitectures.
comment by nwallin · 2019-05-02 · in Llvm-mca – LLVM Machine Code Analyzer -
…After you read that, you might want to look at the LLVM source https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X... /// The C convention as implemented on Windows/x86-64 and /// AArch64. This convention differs
comment by CalChris · 2019-04-06 · in x86 Assembly Guide (2018) -
LLVM has python, go, ocaml and c bindings all in the same repository https://github.com/llvm-mirror/llvm/tree/master/bindings (the c bindings live somewhere else)
comment by orbifold · 2018-10-08 · in Libp2p – A modular network stack -
…gcc and llvm. In fact. llvm has a test that specifically makes sure fib is transformed as thus: https://github.com/llvm-mirror/llvm/blob/30fa583f8430bfc7935...
comment by jcranmer · 2018-09-28 · in Recursive fibonacci benchmark using top languages on GitHub -
…who is the code owner of the clang frontend , chandler is the #5 contributor to LLVM (see here https://github.com/llvm-mirror/llvm/graphs/contributors ), and a quick trip to llvm-dev will tell you how much time he spends working on…
comment by DannyBee · 2018-09-21 · in C++ Core Coroutines Proposal [pdf] -
Yet it contains monsters like this one https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X...
comment by xfs · 2018-09-21 · in Ask HN: What open source project, in your opinion, has the highest code quality? -
…a slightly different use case (can only return different values, is not used for flow control). [1] https://github.com/llvm-mirror/llvm/blob/master/include/llvm...
comment by wyldfire · 2018-09-14 · in Cttrie – Compile-time trie-based string matching for C++ -
The llvm compiler has it's optimization routines here: https://github.com/llvm-mirror/llvm/tree/master/lib/Transfor... You can play around with how it takes in llvm code to optimized llvm code by using the opt tool. Here's a basic example.…
comment by archgoon · 2018-08-27 · in Oops, I Wrote a C++ Compiler -
lol https://github.com/llvm-mirror/llvm/blob/48d710e2cb4c462c7b2...
comment by cheez · 2018-08-16 · in China’s first ‘fully homegrown’ web browser found to be Google Chrome clone -
…https://github.com/v8/v8/tree/master/src ). And of course LuaJIT. 3) Compiler codegen, like LLVM ( https://github.com/llvm-mirror/llvm )
comment by vardump · 2018-07-24 · in Uefi-jitfuck – A JIT Brainfuck compiler running on x86_64 UEFI -
…for llvm, I think this optimization should trigger in the optimizer's memcpy elimination pass ( https://github.com/llvm-mirror/llvm/blob/0818e789cb58fbf6b5e... ). However I don't see why clang could not simply apply the RVO logic to C code…
comment by obl · 2018-06-02 · in One year of C -
…dependencies as well, instead it implements a lot of platform abstractions within the repository ( https://github.com/llvm-mirror/llvm/tree/master/lib/Support ), the remaining dependencies are mostly build dependencies such as python 2.7…
comment by orbifold · 2018-05-31 · in Build2, a Cargo-like dependency and build manager for C/C++ -
Could you explain what part of their code of conduct ( https://github.com/llvm-mirror/llvm/blob/master/docs/CodeOfC... ) is racist or sexist?
comment by nAwYz · 2018-05-04 · in “There is, unfortunately, no such thing as a truly neutral stance on inclusion” -
The llvm commit on GitHub (which shows whole diff at once): https://github.com/llvm-mirror/llvm/commit/8b2a3e8b203a332bb...
comment by jwilk · 2018-02-26 · in Compiler bug? Linker bug? Windows Kernel bug -
…patch was committed to LLVM version 5, though. [0] is the macro-op fusion pass for x86. [0] https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X...
comment by tjalfi · 2017-12-18 · in Intel i7 loop performance anomaly (2013) -
…Looks like the LLVM implementation goes back to at least 2009: https://github.com/llvm-mirror/llvm/blob/master/include/llvm...
comment by humanrebar · 2017-10-22 · in C++ Tips of the Week -
LLVM used to have a .net backend. ( https://github.com/llvm-mirror/llvm/tree/release_27/lib/Targ... )
comment by ksherlock · 2017-09-15 · in Statically Recompiling NES Games into Native Executables with LLVM and Go (2013) -
…change to LLVM. And this part is still evolving. Like, the last breaking change was 16 days ago: https://github.com/llvm-mirror/llvm/commit/e74c64e05ab257c37...
comment by krasin · 2017-06-24 · in Show HN: A pure Go library for interacting with LLVM IR -
…‘coz I have never saw complex systems that aren’t OOP. Even most compilers are OOP, take a look: https://github.com/llvm-mirror/llvm https://github.com/gcc-mirror/gcc/tree/master/gcc https://github.com/dotnet/roslyn > An object can contain…
comment by Const-me · 2017-05-12 · in Don't overuse interfaces -
…instruction scheduling latencies without really understanding instruction scheduling itself. https://github.com/llvm-mirror/llvm/blob/master/lib/Target/A...
comment by CalChris · 2017-04-13 · in Low-Level Programming University – A roadmap to becoming a low-level programmer -
…and http://docs.opencv.org/2.4/doc/tutorials/introduction/how_to... and https://github.com/llvm-mirror/llvm/blob/master/docs/index.r... respectively I do think rST is waaay more expressive, but I also recognize that in many of the
comment by mdaniel · 2017-03-15 · in A Formal Spec for GitHub Flavored Markdown -
…on front page, and not a single comment. Now that's rare. I assume everyone is excitedly browsing https://github.com/llvm-mirror/llvm ? ;) ( the official repo at http://llvm.org/git/llvm is down)
comment by the_duke · 2017-01-06 · in A Tourist’s Guide to the LLVM Source Code -
…is just explicitly checking for a few specific bswap patterns rather than doing anything fancy: https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor...
comment by sunfish · 2016-12-15 · in Godbolt: Enter C, get Assembly -
…be optimized/vectorized. Requires compiler flags only found in 4.x/trunk, unfortunately. [1] https://github.com/llvm-mirror/llvm/tree/master/utils/opt-vi...
comment by wyldfire · 2016-11-28 · in Intel discloses “vector+SIMD” instructions for future processors -
Indeed: https://github.com/llvm-mirror/llvm/blob/ae889d36724efb174e8...
comment by psuter · 2016-05-24 · in The surprising cleverness of modern compilers -
Seems to be a built-in, extremely specific use case: https://github.com/llvm-mirror/llvm/blob/ae889d36724efb174e8... I suppose it makes sense, given: 1) popcount is very common in bit-manipulating programs, 2) there is no standard popcount…
comment by psuter · 2016-05-24 · in The surprising cleverness of modern compilers -
Already on it :-). https://github.com/llvm-mirror/llvm/tree/master/lib/Target/W... (linked to the Github mirror because the LLVM viewvc is currently down)
comment by sunfish · 2016-03-15 · in Experimental support for WebAssembly in V8 -
Done https://github.com/llvm-mirror/llvm/tree/master/lib/Target/W...
comment by jfbastien · 2016-03-15 · in Experimental support for WebAssembly in V8 -
…(comes with associated complexity in the resulting client code), I'd always pick the latter. [1] https://github.com/llvm-mirror/llvm/blob/release_37/include/... [2] https://github.com/llvm-mirror/llvm/blob/release_37/include/...
comment by aleden · 2016-01-09 · in Why I Write Games in C -
…CPI work exists (linked in article), I'm not sure if or when it will be ready for prime time. [1] https://github.com/llvm-mirror/llvm/commit/7ffec838a2b72e684... [2] http://reviews.llvm.org/D6094
comment by jcr · 2015-07-26 · in Code-Pointer Integrity -
…thorough bit of work! Am i right in thinking that this would be stopped in its tracks by SafeStack: https://github.com/llvm-mirror/llvm/commit/7ffec838a2b72e684...
comment by twic · 2015-07-25 · in Blind Return Oriented Programming [pdf] -
LLVM has a GitHub mirror, too. https://github.com/llvm-mirror/llvm
comment by lyinsteve · 2015-06-09 · in “Swift will be open source later this year” -
…Ugly! str x9, [x9], #8 Luckily it was fixed upstream. I don't like working in tablegen files. =) https://github.com/llvm-mirror/llvm/commit/7f4f923aa57ad8d7e...
comment by jevinskie · 2015-05-20 · in Understanding C by learning assembly -
…could add it back and go full circle -- use LLILC to load your MSIL and compile it back to... MSIL. https://github.com/llvm-mirror/llvm/tree/svn-tags/RELEASE_27...
comment by ksherlock · 2015-04-14 · in LLILC – LLVM-Based Compiler for .NET CoreCLR -
…can't or is unwilling to do (e.g. custom backend-specific DAG nodes). I direct you at this file: https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X... github will give you a warning before loading it because that single C++…
comment by david-given · 2015-02-02 · in Why people were enthused about GCC early on in its life -
I give you: https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X... I agree with you that gcc is much less pleasant than LLVM+Clang, but to say that LLVM is better becauses it uses C++ everywhere is simply incorrect. In fact, using…
comment by nhaehnle · 2015-02-02 · in Why people were enthused about GCC early on in its life -
I found two other implementations of software division in LLVM: https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor... https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor...
comment by jevinskie · 2014-09-25 · in Faster Unsigned Division by Constants (2011) -
It looks like LLVM trunk still uses a subtraction and a shift for "uncooperative" divisors: https://github.com/llvm-mirror/llvm/blob/1bdc6c4519d9ad254b2...
comment by simonster · 2014-09-25 · in Faster Unsigned Division by Constants (2011) -
…are aligned appropriately anyway but it'd still be pretty wonky if there was just the union. [0] https://github.com/llvm-mirror/llvm/blob/eee7a7a8362afddab3f...
comment by adamnemecek · 2014-08-10 · in How to design an API function that creates something -
…on the LLVM-dev mailing list: http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-March/thread... https://github.com/llvm-mirror/llvm/commit/7b837d8c75f78fe55...
comment by doe88 · 2014-03-31 · in Apple's Cyclone Microarchitecture Detailed -
Here is the LLVM Commit the article refers to. https://github.com/llvm-mirror/llvm/blob/7b837d8c75f78fe55c9...
comment by glasshead969 · 2014-03-31 · in Apple's Cyclone Microarchitecture Detailed -
…pass that can infer the 'readonly' attribute. http://llvm.org/docs/LangRef.html#function-attributes https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor...
comment by jevinskie · 2013-08-09 · in Unusual speed boost: size matters