Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Minor API change coming"
2011 Jun 25
0
[LLVMdev] inefficiencies in ConstantUniqueMap ?
On 25 June 2011 13:00, Duncan Sands <baldrick at free.fr> wrote:
>> 3. Clang/dragonegg need to adapt to the new API (help appreciated!)
>
> what needs to be done exactly?
Background info: http://www.nondot.org/sabre/LLVMNotes/TypeSystemRewrite.txt
As I understand it, PATypeHolder, OpaqueType and the Module's
TypeSymbolTable are gone. Instead, StructTypes can optionally be
2013 Sep 22
1
[LLVMdev] DebugIR pass fails with an assert
Hi List,
My IR compiles fine and runs. I've tried to add DebugIR pass so
as to be able to debug and profile it (since source is an SQL query
all that I can debug and profile is IR itself).
When I tried to add it to pass manager I got the following assert:
Program received signal SIGABRT, Aborted.
0x00007ffff3fe4425 in __GI_raise (sig=<optimized out>) at
2011 Jul 12
2
[LLVMdev] r134829
On Jul 12, 2011, at 5:04 AM, Vitaly Lugovskiy wrote:
> Hi Chris,
>
> What's a new way of building recursive types (with C bindings), once
> RefineType had been removed? And what's an exact reason for getting
> rid of the opaque types - I could not find a relevant discussion in a
> mailing list.
Hi Vitaly,
I didn't add this API, because I'm not very familiar
2011 Jun 27
2
[LLVMdev] inefficiencies in ConstantUniqueMap ?
On Jun 25, 2011, at 11:59 AM, Jay Foad wrote:
> On 25 June 2011 13:00, Duncan Sands <baldrick at free.fr> wrote:
>>> 3. Clang/dragonegg need to adapt to the new API (help appreciated!)
>>
>> what needs to be done exactly?
>
> Background info: http://www.nondot.org/sabre/LLVMNotes/TypeSystemRewrite.txt
>
> As I understand it, PATypeHolder, OpaqueType
2011 Jul 08
0
[LLVMdev] type-system-rewrite branch near landing
> 1. Clang - Jay, do you have a patch for this? Can you create a branch of the clang repo or send an updated version of the patch to the list?
I've created a clang type-system-rewrite branch and committed all my
purely mechanical changes: de-constifying llvm::Types as necessary,
and using the new llvm::StructType::createNamed/setBody to create the
"implicit" structs used by
2011 Jun 25
3
[LLVMdev] inefficiencies in ConstantUniqueMap ?
Hi Chris,
> 3. Clang/dragonegg need to adapt to the new API (help appreciated!)
what needs to be done exactly?
Ciao, Duncan.
2011 Apr 08
0
[LLVMdev] dragonegg build failure
hi Duncan,
>>
>>> That said, it still doesn't compile because you seem
>>> to have LLVM from svn installed not llvm-2.9, and dragonegg-2.9 needs to
>>> be
>>
>> yep, the dragonegg is also from svn
when i try:
/home/ether/local/gcc-4.5/bin/gcc -S -O1 -o -
-fplugin=$HOME/sources/dragonegg/dragonegg.so
-fplugin-arg-dragonegg-emit-ir
2011 Apr 08
1
[LLVMdev] dragonegg build failure
> cc1: error: Cannot load plugin /home/ether/sources/dragonegg/dragonegg.so
> /home/ether/sources/dragonegg/dragonegg.so: undefined symbol:
> llvm::StructType::get(llvm::LLVMContext&, llvm::ArrayRef<llvm::Type
> const*>, bool)
PS: You may get this if you built using llvm-svn headers but linked with
llvm-2.9 libraries.
2013 Jan 11
1
[LLVMdev] SMFixIt helps break TableGen in Trunk
Trunk output:
> [ 32%] Building CXX object
> examples/Kaleidoscope/Chapter3/CMakeFiles/Kaleidoscope-Ch3.dir/toy.cpp.o
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp:158:17:
> error:
> no member named 'getSuperClassRanges' in 'llvm::Record'; did you
> mean 'getSuperClasses'?
>
2011 Jul 07
5
[LLVMdev] type-system-rewrite branch near landing
An update on the type-system-rewrite branch (http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/):
It's now to the point where it passes all regression tests all of single source (and most of externals/multisource) when using an LLVM 2.9 version of clang to compile programs to a rbc file. I have what looks like one more subtle type mapping bug to track down, which will
2011 Apr 08
4
[LLVMdev] dragonegg build failure
Hi ether,
> i install mpc-0.8.2 in /home/ether/local/, and gcc-4.5 is configure with:
> $HOME/sources/gcc-4.5/configure --enable-plugin --enable-lto
> --prefix=$HOME/local/gcc-4.5/ --enable-languages=c,c++
> --disable-bootstrap --disable-multilib --with-mpc=$HOME/local
> --with-libelf=$HOME/local
because GCC headers include mpc.h, when dragonegg uses GCC headers then it needs
to
2019 Jan 14
0
SMB3.11 and receiving NT_STATUS_SMB_BAD_CLUSTER_DIALECT
We have the situation where we are trying to send to a server that has a cluster configuration. When we negotiate, it tells us to talk 3.11. When we actually try to send the file, the share's max protocol is actually only 3.02 and so the Microsoft server sends a NT_STATUS_SMB_BAD_CLUSTER_DIALECT, which means they expect the client to reconnect negotiating only 3.02 as max protocol. Looking
2006 Dec 08
0
[LLVMdev] Proposed: first class packed structures
On Dec 6, 2006, at 10:44 AM, Andrew Lenharth wrote:
> Currently, Structure layout is left to targets, which implement them
> according to the ABI of that platform. While this is fine for most
> structures, it makes packed structures very ugly. All fields in a
> packed type must be converted to byte arrays with casts to access
> fields, which bloats accesses and obsfucates the
2013 Jan 22
2
[LLVMdev] StructType opaque->sized
I'm building a StructType without a body using
StructType *StructType::create(LLVMContext &Context, StringRef Name);
and then later adding a body to with setBody(). It starts of isOpaque() == true, and isSized() == false, and after I add the body, isOpaque() == false, but isSized() is still false.
If I create a StructType using
StructType * StructType ::create(LLVMContext
2008 Jun 13
1
[LLVMdev] code generation order revisited.
On Thu, 12 Jun 2008 16:05:19 -0400, Gordon Henriksen wrote:
>
> Partially opaque types can be refined. This section of the programmer's
> manual is applicable:
>
> http://llvm.org/docs/ProgrammersManual.html#BuildRecType
>
> — Gordon
Here it is:
: // Create the initial outer struct
: PATypeHolder StructTy = OpaqueType::get();
: std::vector<const Type*> Elts;
:
2013 Jan 22
0
[LLVMdev] StructType opaque->sized
Hi Rick,
On 22/01/13 09:04, Rick Mann wrote:
> I'm building a StructType without a body using
>
> StructType *StructType::create(LLVMContext &Context, StringRef Name);
>
> and then later adding a body to with setBody(). It starts of isOpaque() == true, and isSized() == false, and after I add the body, isOpaque() == false, but isSized() is still false.
this is the standard
2012 Jul 06
2
[LLVMdev] Self-referential function pointer
Hey guys,
I could use some advice on a special case of a function pointer as a formal
argument. I would like the function pointer type to contain the actual
signature of the function, i.e. not a pointer to var args function. This
becomes an issue when I have a function which can take a pointer to itself
as an argument... our terminology for this is "a recursive procedure". That
is, of
2010 Jan 28
0
[LLVMdev] [patch] Union Types - work in progress
I've made all the suggested changes - however, I'm having a bit of problem
running the tests. I started "make check" and several hours later it had
only made it through about 1/3 of the tests. I'm not sure what the deal is.
On Mon, Jan 18, 2010 at 1:40 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Jan 16, 2010, at 11:15 AM, Talin wrote:
>
> OK
2011 Jul 26
2
[LLVMdev] Lack of use of LLVMContextImpl::NamedStructTypes
Thanks for the response Chris,
On Jul 26, 2011, at 0:44, Chris Lattner wrote:
>
> On Jul 25, 2011, at 10:50 AM, Garrison Venn wrote:
>
>> Several people on this list have reported issues with the linker regarding a
>> named StructType instance with the same name in two different modules
>> being resolved into two StructTypes with different names due to StructType::
2010 Oct 26
2
[LLVMdev] StructType member offset
Hi,
how can i correctly calculate the size of a member of a struct
(including alignment etc)?
This doesn't work :
const StructType *STy = cast<StructType>(Ty);
for (StructType::element_iterator I = STy->element_begin(),
E = STy->element_end(); I != E; ++I)
{
usigned size =I->get()->getScalarSizeInBits(); //often