Displaying 2 results from an estimated 2 matches for "ap_uint".
Did you mean:
ap_int
2019 Mar 04
2
Add Bitwidth Attribute in Clang without Modification in Source Code of Clang
...o expose this functionality in their code. Additionally, we've limited it to int/unsigned typedefs only for simplicity's sake. The code looks something like:
// Typical way to expose this in C:
typedef int __attribute__((__ap_int(3))) ap_int3;
typedef unsigned __attribute__((__ap_int(3))) ap_uint3;
// Better way to expose it in modern C++:
template<unsigned bits> using ap_int = int __attribute__((__ap_int(bits)));
template<unsigned bits> using ap_uint = unsigned __attribute__((__ap_int(bits)));
For our usages, we just wrapped these in a type that would better express the furth...
2019 Jan 31
4
Confusing ERROR with LoopAccessLegacyAnalysis: Pass 'Unnamed pass: implement Pass::getPassName()' is not initialized.
Dear all,
I write a new LoopPass which wants to use passes including LoopInfoWrapperPass, ScalarEvolutionWrapperPass and LoopAccessLegacyAnalysis.
Therefore, I implement the following code based on LLVM 9.0.0:
=====================================================================
bool LoopInformationCollect::runOnLoop(Loop *L, LPPassManager &)
{
auto &SE =