Displaying 20 results from an estimated 266 matches for "typeid".
Did you mean:
typed
2018 May 01
0
RFC: LLVM Assembly format for ThinLTO Summary
...s (for incremental builds and global
>>>>> promotion).2. GlobalValueMap: A map from global value GUIDs to the
>>>>> corresponding function/variable/alias summary (or summaries for the
>>>>> combined index and weak linkage).3. CFI-related data structures (TypeIdMap,
>>>>> CfiFunctionDefs, and CfiFunctionDecls)I have a WIP patch to AsmWriter.cpp
>>>>> to print the ModuleSummaryIndex that I was using to play with the format.
>>>>> It currently prints 1 and 2 above. I’ve left the CFI related summary data
>>&g...
2018 May 01
3
RFC: LLVM Assembly format for ThinLTO Summary
...their hashes (for incremental builds and global
>>>> promotion).2. GlobalValueMap: A map from global value GUIDs to the
>>>> corresponding function/variable/alias summary (or summaries for the
>>>> combined index and weak linkage).3. CFI-related data structures (TypeIdMap,
>>>> CfiFunctionDefs, and CfiFunctionDecls)I have a WIP patch to AsmWriter.cpp
>>>> to print the ModuleSummaryIndex that I was using to play with the format.
>>>> It currently prints 1 and 2 above. I’ve left the CFI related summary data
>>>> struc...
2015 Aug 06
2
[LLVMdev] Cc llvmdev: Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
...only
> llvm.bpf.load.*.
>
> I think llvm.bpf.store.* belone to some patches you haven't posted yet?
nope. only loads have special instructions ld_abs/ld_ind
which are represented by these intrinsics.
stores, so far, are done via single bpf_store_bytes() helper function.
> >the typeid changing ids with order is surprising.
> >I think the assertion in ExtractTypeInfo() is not hard.
> >Just there were no such use cases. May be we can do something
> >similar to what LowerIntrinsicCall() does and lower it differently
> >in the backend.
> >
> But in b...
2015 Aug 14
2
[LLVM RFC] Add llvm.typeid.for intrinsic
This is for BPF output. BPF program output bytes to perf through a
tracepoint. For decoding such data, we need a way to describe the format
of the buffer. This patch is a try which gives each variable a unique
number by introducing a new intrinsic 'llvm.typeid.for'.
At the bottom is an example of using that intrinsic and the result
of
$ clang -target bpf -O2 -c -S ./test_typeid.c
There is a limitation of the newly introduced intrinsic that, I can't
find a way to make the intrinsic to accept all types without name
mangling. Therefore, we have...
2011 Sep 30
0
[LLVMdev] RTTI handling
...on is to run 'nm' on the objects/executables you're interested in. For example, this file:
daysthatwere clang$ cat red.cpp
#include <typeinfo>
struct A {};
struct B { virtual ~B(); };
struct C { virtual ~C(); };
C::~C() {}
const std::type_info &test0() { return typeid(const char*); }
const std::type_info &test1() { return typeid(const char**); }
const std::type_info &test2() { return typeid(A); }
const std::type_info &test3() { return typeid(B); }
const std::type_info &test4() { return typeid(C); }
daysthatwere clang$ clang /tmp/red.cpp...
2006 Dec 08
2
[LLVMdev] Proposed: first class packed structures
...a type. Consider that all ICmp/FCmp
instructions will use format0 (the largest) in anything but the smallest
of functions (less than 64 instructions). This will get naturally
cleaned up when we move to bit streams.
If you *really* want to be efficient, the *right* way to do this is to
create a new TypeID and the corresponding class (class
PackedStructureType : public StructureType). That way it costs nothing
(the value of the TypeID indicates that its PackedStructure) and there's
no need to mess with an additional byte in the StructureType class.
But, that might be a little heavy weight :)
Re...
2018 May 01
3
RFC: LLVM Assembly format for ThinLTO Summary
...mental builds and global
>>>>>> promotion).2. GlobalValueMap: A map from global value GUIDs to the
>>>>>> corresponding function/variable/alias summary (or summaries for the
>>>>>> combined index and weak linkage).3. CFI-related data structures (TypeIdMap,
>>>>>> CfiFunctionDefs, and CfiFunctionDecls)I have a WIP patch to AsmWriter.cpp
>>>>>> to print the ModuleSummaryIndex that I was using to play with the format.
>>>>>> It currently prints 1 and 2 above. I’ve left the CFI related summary dat...
2005 Mar 14
2
Install the RMySQL
...directory
RS-MySQL.h:42:23: mysql_com.h: No such file or directory
In file included from RS-MySQL.c:22:
RS-MySQL.h:109: `FIELD_TYPE_DECIMAL' undeclared here (not in
a function)
RS-MySQL.h:109: initializer element is not constant
RS-MySQL.h:109: (near initialization for `RS_MySQL_dataTypes
[0].typeId')
RS-MySQL.h:109: initializer element is not constant
RS-MySQL.h:109: (near initialization for `RS_MySQL_dataTypes
[0]')
RS-MySQL.h:110: `FIELD_TYPE_TINY' undeclared here (not in a
function)
RS-MySQL.h:110: initializer element is not constant
RS-MySQL.h:110: (near initialization for `R...
2010 Dec 02
2
[LLVMdev] Alternative exception handling proposal
...l %"<L1>" personality
@__gxx_personality_v0 catches %struct.__fundamental_type_info_pseudo* @_ZTIi
"<L1>": ; preds = %entry
%exc_ptr = tail call i8* @llvm.eh.exception()
%filter = tail call i32 @llvm.eh.selector()
%typeid = tail call i32 @llvm.eh.typeid.for(i8* bitcast
(%struct.__fundamental_type_info_pseudo* @_ZTIi to i8*))
%0 = icmp eq i32 %filter, %typeid
br i1 %0, label %"<L2>", label %"<bb 5>"
"<bb 5>": ; preds = %&q...
2010 Dec 01
0
[LLVMdev] Alternative exception handling proposal
On Dec 1, 2010, at 1:37 PM, Duncan Sands wrote:
> Inlining
> --------
>
> Many a plausible seeming exception handling scheme has fallen by the way-side
> because it interacts poorly with inlining.
>
> Here is how inlining would work with this scheme. It's pretty close to how
> it works right now. Suppose you have
>
> invoke void @foo()
> to
2011 Sep 30
2
[LLVMdev] RTTI handling
Thanks! Yes, we are trying to avoid that situation as much as possible.
Is there any compiler/linker/static analyzer option that would point out those problems (in 13 million lines, large part of that being legacy code)? Currently I don't know any better way than runtime logging and asserting.
Also, what shall we do we external source libraries (like Teigha from Open Design Alliance), where
2018 May 01
0
RFC: LLVM Assembly format for ThinLTO Summary
...s and global
>>>>>>> promotion).2. GlobalValueMap: A map from global value GUIDs to the
>>>>>>> corresponding function/variable/alias summary (or summaries for the
>>>>>>> combined index and weak linkage).3. CFI-related data structures (TypeIdMap,
>>>>>>> CfiFunctionDefs, and CfiFunctionDecls)I have a WIP patch to AsmWriter.cpp
>>>>>>> to print the ModuleSummaryIndex that I was using to play with the format.
>>>>>>> It currently prints 1 and 2 above. I’ve left the CFI related...
2011 Sep 30
2
[LLVMdev] RTTI handling
...on is to run 'nm' on the objects/executables you're interested in. For example, this file:
daysthatwere clang$ cat red.cpp
#include <typeinfo>
struct A {};
struct B { virtual ~B(); };
struct C { virtual ~C(); };
C::~C() {}
const std::type_info &test0() { return typeid(const char*); }
const std::type_info &test1() { return typeid(const char**); }
const std::type_info &test2() { return typeid(A); }
const std::type_info &test3() { return typeid(B); }
const std::type_info &test4() { return typeid(C); }
daysthatwere clang$ clang /tmp/red.cpp...
2018 May 03
0
RFC: LLVM Assembly format for ThinLTO Summary
...;>>>>>> promotion).2. GlobalValueMap: A map from global value GUIDs to the
>>>>>>>>> corresponding function/variable/alias summary (or summaries for the
>>>>>>>>> combined index and weak linkage).3. CFI-related data structures (TypeIdMap,
>>>>>>>>> CfiFunctionDefs, and CfiFunctionDecls)I have a WIP patch to AsmWriter.cpp
>>>>>>>>> to print the ModuleSummaryIndex that I was using to play with the format.
>>>>>>>>> It currently prints 1 and 2 above. I...
2018 May 03
3
RFC: LLVM Assembly format for ThinLTO Summary
...>>>>>>>> promotion).2. GlobalValueMap: A map from global value GUIDs to the
>>>>>>>> corresponding function/variable/alias summary (or summaries for the
>>>>>>>> combined index and weak linkage).3. CFI-related data structures (TypeIdMap,
>>>>>>>> CfiFunctionDefs, and CfiFunctionDecls)I have a WIP patch to AsmWriter.cpp
>>>>>>>> to print the ModuleSummaryIndex that I was using to play with the format.
>>>>>>>> It currently prints 1 and 2 above. I’ve left the...
2018 May 03
4
RFC: LLVM Assembly format for ThinLTO Summary
...;>>>> promotion).2. GlobalValueMap: A map from global value GUIDs to the
>>>>>>>>>> corresponding function/variable/alias summary (or summaries for the
>>>>>>>>>> combined index and weak linkage).3. CFI-related data structures (TypeIdMap,
>>>>>>>>>> CfiFunctionDefs, and CfiFunctionDecls)I have a WIP patch to AsmWriter.cpp
>>>>>>>>>> to print the ModuleSummaryIndex that I was using to play with the format.
>>>>>>>>>> It currently prints 1 an...
2018 May 03
1
RFC: LLVM Assembly format for ThinLTO Summary
...le in the combined index), along with their hashes (for incremental builds and global promotion).
>> GlobalValueMap: A map from global value GUIDs to the corresponding function/variable/alias summary (or summaries for the combined index and weak linkage).
>> CFI-related data structures (TypeIdMap, CfiFunctionDefs, and CfiFunctionDecls)
>>
>> I have a WIP patch to AsmWriter.cpp to print the ModuleSummaryIndex that I was using to play with the format. It currently prints 1 and 2 above. I’ve left the CFI related summary data structures as a TODO for now, until the format is at...
2018 May 03
3
RFC: LLVM Assembly format for ThinLTO Summary
...d multiple in the combined index), along with their hashes (for incremental builds and global promotion).
> GlobalValueMap: A map from global value GUIDs to the corresponding function/variable/alias summary (or summaries for the combined index and weak linkage).
> CFI-related data structures (TypeIdMap, CfiFunctionDefs, and CfiFunctionDecls)
>
> I have a WIP patch to AsmWriter.cpp to print the ModuleSummaryIndex that I was using to play with the format. It currently prints 1 and 2 above. I’ve left the CFI related summary data structures as a TODO for now, until the format is at least co...
2018 May 03
1
[Bug 106391] New: Noveau fails to compile when using meson and LLVM without RTTI
...ntact: nouveau at lists.freedesktop.org
When building mesa without RTTI support nouveau fails to compile because NDBUG
isn't defined by meson. src/gallium/drivers/nouveau/codegen/nv50_ir.cpp has the
following snippet in it:
#ifndef NDEBUG // non-conformant assert, so this is required
assert(typeid(*i) == typeid(*this));
#endif
which results in:
[1581/1667] x86_64-pc-linux-gnu-c++
-Isrc/gallium/drivers/nouveau/src at gallium@drivers at nouveau@@nouveau at sta
-Isrc/gallium/drivers/nouveau -I../mesa-18.0.2/src/gallium/drivers/nouveau
-Isrc -I../mesa-18.0.2/src -Iinclude -I../mesa-18.0.2/incl...
2007 Feb 23
2
[LLVMdev] bytecode reader assertion failure
...bytecode that passes the verifier. However, when I try to read that
bytecode back in, I get the assertion failure below.
llvm::BytecodeReader::ParseConstantPoolValue(unsigned int):
Assertion `(!isa<Constant>(Result) ||
!cast<Constant>(Result)->isNullValue()) || !hasImplicitNull(TypeID) &&
"Cannot read null values from bytecode!"' failed.
So, I ran gdb on opt. I was able to get the following information from opt:
(gdb) print Result
$7 = (class llvm::Constant *) 0x96ad9d0
(gdb) call Result->dump()
[41 x sbyte *] zeroinitializer
(gdb) print hasImplici...