Displaying 9 results from an estimated 9 matches for "attributeimpl".
2016 Jan 30
2
[llvm] r259255 - Need #include <cstdint> for uint64_t
...ri Jan 29 16:35:29 2016
> New Revision: 259255
>
> URL: http://llvm.org/viewvc/llvm-project?rev=259255&view=rev <http://llvm.org/viewvc/llvm-project?rev=259255&view=rev>
> Log:
> Need #include <cstdint> for uint64_t
>
> Modified:
> llvm/trunk/lib/IR/AttributeImpl.h
>
> Modified: llvm/trunk/lib/IR/AttributeImpl.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/AttributeImpl.h?rev=259255&r1=259254&r2=259255&view=diff <http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/AttributeImpl.h?rev=259255&r1=259254&r2=259...
2016 Jan 30
2
[llvm] r259255 - Need #include <cstdint> for uint64_t
...ate: Fri Jan 29 16:35:29 2016
>>> New Revision: 259255
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=259255&view=rev
>>> Log:
>>> Need #include <cstdint> for uint64_t
>>>
>>> Modified:
>>> llvm/trunk/lib/IR/AttributeImpl.h
>>>
>>> Modified: llvm/trunk/lib/IR/AttributeImpl.h
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/AttributeImpl.h?rev=259255&r1=259254&r2=259255&view=diff
>>>
>>> ===============================================...
2016 Jan 30
1
[llvm] r259255 - Need #include <cstdint> for uint64_t
...t;>>> New Revision: 259255
>>>>
>>>> URL: http://llvm.org/viewvc/llvm-project?rev=259255&view=rev
>>>> Log:
>>>> Need #include <cstdint> for uint64_t
>>>>
>>>> Modified:
>>>> llvm/trunk/lib/IR/AttributeImpl.h
>>>>
>>>> Modified: llvm/trunk/lib/IR/AttributeImpl.h
>>>> URL:
>>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/AttributeImpl.h?rev=259255&r1=259254&r2=259255&view=diff
>>>>
>>>> =======================...
2019 Apr 04
2
[RFC] Proposed update to convert two 64-bit attribute bitmasks to std::bitset
There are two 64-bit bitmasks maintained in AttributeImpl.h<https://sdocc.itg.ti.com/ui#file:review=11893/version=393846>:
- AvailableFunctionAttrs is part of the AttributeListImpl class, and
- AvailableAttrs is part of the AttributeSetNode class
Both of these assume that the number of available enum attributes is limited to 64. In fact, a static_...
2017 Mar 20
4
[RFC] Attribute overhaul 2
...presence by a linear scan. Matthias Braum added a bitset to
speed up
tests in r259251.
- AttributeBuilder: A mutable representation of an AttributeSetNode. Used
for
efficiently building a collection of attributes before freezing it into an
AttributeSetNode.
- Attribute: Pointer wrapping an AttributeImpl.
- AttributeImpl: Polymorphic base class of StringAttributeImpl,
EnumAttributeImpl, and IntAttributeImpl. Enums have the attribute kind,
integers have a uint64_t value, and strings have two StringRefs for the
kind
and value.
AttributeSet doesn't seem like a good name to me. In the past...
2013 Jul 05
0
[LLVMdev] Any suggestion for "Unknown instruction type encountered" error?
hacker cling wrote:
> Hello all,
> I was playing with LLVM pass. I changed the
> lib/Transforms/Hello/Hello.cpp 's content to be my own pass. Then I make
> install the pass and use an example test1.c to see whether it works or
> not. When I run example using the following command:
> clang -emit-llvm test1.c -c -o test1.bc
> opt -load
2013 Jul 05
2
[LLVMdev] Any suggestion for "Unknown instruction type encountered" error?
Hello all,
I was playing with LLVM pass. I changed the
lib/Transforms/Hello/Hello.cpp 's content to be my own pass. Then I make
install the pass and use an example test1.c to see whether it works or not.
When I run example using the following command:
clang -emit-llvm test1.c -c -o test1.bc
opt -load ../build_llvm/Debug+Asserts/lib/LLVMHello.so -hello < test1.bc >
/dev/null
It
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
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...bute(Attribute::StackProtectStrong))
return "sspstrong";
+ if (hasAttribute(Attribute::SafeStack))
+ return "safestack";
if (hasAttribute(Attribute::StructRet))
return "sret";
if (hasAttribute(Attribute::SanitizeThread))
@@ -426,6 +428,7 @@ uint64_t AttributeImpl::getAttrMask(Attribute::AttrKind Val) {
case Attribute::InAlloca: return 1ULL << 43;
case Attribute::NonNull: return 1ULL << 44;
case Attribute::JumpTable: return 1ULL << 45;
+ case Attribute::SafeStack: return 1ULL << 46;
case Attribu...