search for: targetbuiltins

Displaying 5 results from an estimated 5 matches for "targetbuiltins".

2015 Aug 18
3
[RFC PATCH 1/2] [clang]: Add AuxAttr support
This patch adds EmitTypeAuxAttribute() function to CGDebugInfo, which allows other parts of clang issue auxiliary information through an enumeration type in Dwarf information. For example, by calling DI->EmitTypeAuxAttribute(type, "ID", 1234); We can get following information in dwarf: <1><3f>: Abbrev Number: 3 (DW_TAG_structure_type) <40> DW_AT_name
2016 May 25
2
warning during intrinsic defintion
...n warning: llvm/tools/clang/lib/Basic/Targets.cpp:904:0: warning: "BUILTIN" redefined [enabled by default] #define BUILTIN(ID, TYPE, ATTRS) { #ID, TYPE, ATTRS, 0, ALL_LANGUAGES }, ^ In file included from llvm/tools/clang/lib/Basic/Targets.cpp:26:0: llvm/tools/clang/include/clang/Basic/TargetBuiltins.h:164:0: note: this is the location of the previous definition #define BUILTIN(ID, TYPE, ATTRS) BI##ID, I pretty much copied what other targets did when they defined intrinsics. Why this happens for my target but not for the others? Any help is appreciated. -- Rail Shafigulin Software Engineer...
2016 May 30
0
warning during intrinsic defintion
...lib/Basic/Targets.cpp:904:0: warning: "BUILTIN" redefined > [enabled by default] > #define BUILTIN(ID, TYPE, ATTRS) { #ID, TYPE, ATTRS, 0, ALL_LANGUAGES }, > ^ > > In file included from llvm/tools/clang/lib/Basic/Targets.cpp:26:0: > llvm/tools/clang/include/clang/Basic/TargetBuiltins.h:164:0: note: this is > the location of the previous definition > #define BUILTIN(ID, TYPE, ATTRS) BI##ID, > > I pretty much copied what other targets did when they defined intrinsics. > Why this happens for my target but not for the others? > > Any help is appreciated. >...
2016 May 25
0
running intrinsics from C code
GCCBuiltin just gives it a name for clang to lookup. Generally they match up with builtins that gcc also implements, but that's not a requirement. If you add a builtin with the same name to the builtin file in clang's include/clang/Basic/Builtins*.def then they will find each other. You can also just add a builtin to clang's builtin file and catch it in clang's
2016 May 25
2
running intrinsics from C code
I've created an intrinsic from my target, but I can't figure out how I can run it from a C code. Most of the targets have a GCCBuiltin and it looks like it is the way to execute an intrinsic from C code. However in my case there is no actual GCC built in. Any help on this is really appreciated. -- Rail Shafigulin Software Engineer Esencia Technologies -------------- next part