search for: createtbaastructtagnode

Displaying 4 results from an estimated 4 matches for "createtbaastructtagnode".

2013 Oct 08
2
[LLVMdev] dragonegg: switch from old TBAA format to the new struct-path aware TBAA format
...ing to remove the support for the old TBAA format soon. You should be able to switch to the new format by replacing MDNode *AliasTag = MDHelper.createTBAANode(TreeName, getTBAARoot()); with MDNode *AliasType = MDHelper.createTBAAScalarTypeNode(TreeName, getTBAARoot()); MDNode *AliasTag = MDHelper.createTBAAStructTagNode(AliasType, AliasType, 0) Also replacing LeafTag->replaceAllUsesWith(getTBAARoot()); with MDNode *Root = getTBAARoot(); LeafTag->replaceAllUsesWith(MDHelper.createTBAAStructTagNode(Root, Root, 0) The document is currently at the beginning of TypeBasedAliasAnalysis.cpp. I am going to update...
2018 Apr 27
1
TBAA metadata
...>). The TBAA root of the access type and the base type of an access tag must be the same, and that is the TBAA root of the access tag." (https://llvm.org/docs/LangRef.html#tbaa-metadata) But, from what I see, the CodeGenTBAA pass never sets this field. CodeGenTBAA::getAccessTagInfo() calls createTBAAStructTagNode() to create the access tag, but it does not pass the IsConstant parameter. /// \brief Return metadata for a TBAA tag node with the given /// base type, access type and offset relative to the base type. MDNode *createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType,...
2013 Oct 12
0
[LLVMdev] dragonegg: switch from old TBAA format to the new struct-path aware TBAA format
...old TBAA format soon. > You should be able to switch to the new format by replacing > > MDNode *AliasTag = MDHelper.createTBAANode(TreeName, getTBAARoot()); > > with > MDNode *AliasType = MDHelper.createTBAAScalarTypeNode(TreeName, getTBAARoot()); > MDNode *AliasTag = MDHelper.createTBAAStructTagNode(AliasType, AliasType, 0) > > Also replacing > LeafTag->replaceAllUsesWith(getTBAARoot()); > > with > MDNode *Root = getTBAARoot(); > LeafTag->replaceAllUsesWith(MDHelper.createTBAAStructTagNode(Root, Root, 0) > > The document is currently at the beginning of TypeBas...
2015 Mar 30
3
[LLVMdev] Invalid or unaligned stack
Hi, I am encountering a problem that I do not know how to debug. I would greatly appreciate any guidance on this issue. On Windows when I run Lua test cases from JITed code I am getting following error: Unhandled exception at 0x00007FFCEEEAC500 (ntdll.dll) in lua.exe: 0xC0000028: An invalid or unaligned stack was encountered during an unwind operation. This is happening when the Lua code is