Displaying 10 results from an estimated 10 matches for "attributesetimpl".
2013 Feb 05
3
[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
...If we can't have a sane deprecation strategy or an automated migration tool then please can we at least have a token attempt at documentation? The AttributeSet documentation is just embarrassing. For example, the document for the class is:
> This class manages the ref count for the opaque AttributeSetImpl
> object and provides accessors for it
Great. It's a wrapper around an opaque type that isn't documented in the public headers. What is an AttributeSetImpl? What do I use it for? How does it relate to the last three classes that had similar functionality but different names? I can...
2017 Mar 20
4
[RFC] Attribute overhaul 2
...nfusing. I'll try to explain what the
current
important classes are.
- AttributeSet: This is a uniqued, ordered list of sets of attributes, and
is
associated with a function or call prototype. It is stored on Function,
CallInst, and InvokeInst. It is a smart pointer value type that wraps
AttributeSetImpl, which contains the actual storage.
- AttributeSetImpl: The private implementation of AttributeSet. Owned by the
LLVMContext. Today this is a vector of pairs of attribute indices and
AttributeSetNode pointers.
- AttributeSetNode: This is an ordered, uniqued set of Attributes that might
appl...
2013 Feb 06
0
[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
...'t have a sane deprecation strategy or an automated migration tool then please can we at least have a token attempt at documentation? The AttributeSet documentation is just embarrassing. For example, the document for the class is:
>
>> This class manages the ref count for the opaque AttributeSetImpl
>> object and provides accessors for it
>
> Great. It's a wrapper around an opaque type that isn't documented in the public headers. What is an AttributeSetImpl? What do I use it for? How does it relate to the last three classes that had similar functionality but different...
2013 Feb 05
0
[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
On Jan 30, 2013, at 8:20 PM, Christian Schafmeister <chris.schaf at verizon.net> wrote:
>
> Hi,
>
> I recently upgraded to the latest LLVM build and encountered a problem where the API for Argument::addAttr has changed.
>
> Previously it was Argument::addAttr(Attribute A) and I was able to work with this.
>
> The latest build has changed the method addAttr so
2013 Jan 31
3
[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
Hi,
I recently upgraded to the latest LLVM build and encountered a problem where the API for Argument::addAttr has changed.
Previously it was Argument::addAttr(Attribute A) and I was able to work with this.
The latest build has changed the method addAttr so that it requires an AttributeSet argument (Argument::addAttr(AttributeSet AS).
I'm not sure how to adjust to this change. The
2013 Feb 06
2
[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
...ave a sane deprecation strategy or an automated migration tool then please can we at least have a token attempt at documentation? The AttributeSet documentation is just embarrassing. For example, the document for the class is:
>>
>>> This class manages the ref count for the opaque AttributeSetImpl
>>> object and provides accessors for it
>>
>> Great. It's a wrapper around an opaque type that isn't documented in the public headers. What is an AttributeSetImpl? What do I use it for? How does it relate to the last three classes that had similar functionality bu...
2017 Jan 18
10
llvm is getting slower, January edition
...h isLoopBackedgeGuardedByCond to exploit trip counts'. +2%
8. r249802: [SCEV] Call `StrengthenNoWrapFlags` after `GroupByComplexity`; NFCI. +4%
9. r250157: [GlobalsAA] Turn GlobalsAA on again by default. +1%
10. r251049: [SCEV] Mark AddExprs as nsw or nuw if legal. +23%
11. No data
12. r259252: AttributeSetImpl: Summarize existing function attributes in a bitset. -1%
r259256: Add LoopSimplifyCFG pass. -2%
13. r262250: Enable LoopLoadElimination by default. +3%
14. r262839: Revert "Enable LoopLoadElimination by default". -3%
15. r263393: Remove PreserveNames template parameter from IRBuilder....
2017 Jan 18
2
llvm is getting slower, January edition
...counts'. +2%
>> 8. r249802: [SCEV] Call `StrengthenNoWrapFlags` after `GroupByComplexity`; NFCI. +4%
>> 9. r250157: [GlobalsAA] Turn GlobalsAA on again by default. +1%
>> 10. r251049: [SCEV] Mark AddExprs as nsw or nuw if legal. +23%
>> 11. No data
>> 12. r259252: AttributeSetImpl: Summarize existing function attributes in a bitset. -1%
>> r259256: Add LoopSimplifyCFG pass. -2%
>> 13. r262250: Enable LoopLoadElimination by default. +3%
>> 14. r262839: Revert "Enable LoopLoadElimination by default". -3%
>> 15. r263393: Remove PreserveName...
2017 Jan 20
2
llvm is getting slower, January edition
...9;. +2%
> > 8. r249802: [SCEV] Call `StrengthenNoWrapFlags` after
> `GroupByComplexity`; NFCI. +4%
> > 9. r250157: [GlobalsAA] Turn GlobalsAA on again by default. +1%
> > 10. r251049: [SCEV] Mark AddExprs as nsw or nuw if legal. +23%
> > 11. No data
> > 12. r259252: AttributeSetImpl: Summarize existing function attributes in
> a bitset. -1%
> > r259256: Add LoopSimplifyCFG pass. -2%
> > 13. r262250: Enable LoopLoadElimination by default. +3%
> > 14. r262839: Revert "Enable LoopLoadElimination by default". -3%
> > 15. r263393: Remove Pres...
2013 Apr 29
1
[LLVMdev] Many tests fail on Win64
I fell over this issue yesterday myself with lots of asserts being thrown.
I think the issue is in lib/IR/AsmWriter.cpp:1618 in the function
AssemblyWriter::printFunction(const Function *F)
Looking at the code I think the 2nd for loop should be preceded by the test
...
if (Idx < AS.getNumSlots())
Not sure why it doesn't fail on other platforms as it looks like it should
be a genuine