Displaying 2 results from an estimated 2 matches for "recalculateintrinsicid".
2019 Apr 24
2
Accelerating TLI getLibFunc lookups
...IntrinsicID
and LibFunc.
* We'd change Function::getIntrisicID to check the HasLLVMReservedName
flag (already existing), and return Intrinsic::not_inrinsic value if
not set.
* We'd add a corresponding getLibFuncID, and isLibFunc function to
Function.
* We'd modify recalculateIntrinsicID to compute the libfunc enum as well.
The tradeoff is that function construction and renaming would become
slightly slower, but determining whether a function was a library
function would become fast. We could also populate the value lazily,
but that seems like complexity with little benefit.
Th...
2017 Feb 06
3
Kaleidoscope tutorial: comments, corrections and Windows support
Hi,
I'm currently working my way through the tutorial with LLVM 3.9.1 on
Windows (finished chapter 4) and stumbled over a few things which could
be improved:
- "LLVMContext" does not exist as a variable -> "TheContext"
- Chapter 3: 5 times
- Chapter 4: 1 time
- Chapter 5: 4 times
- Chapter 6: 2 times
- Chapter 7: 2 times
3.4. Function Code