search for: sema

Displaying 20 results from an estimated 229 matches for "sema".

Did you mean: seja
2008 Nov 07
0
[LLVMdev] [cfe-commits] r58509 - in /cfe/trunk: include/clang/Basic/DiagnosticKinds.def lib/AST/Expr.cpp lib/Sema/Sema.h lib/Sema/SemaExprCXX.cpp lib/Sema/SemaInherit.cpp lib/Sema/SemaInherit.h lib/Sema/SemaOverload.cpp test/SemaCXX/condition.cpp
On 2008-11-04, at 08:12, Sebastian Redl wrote: > Mike Stump wrote: >> On Nov 3, 2008, at 1:39 PM, Sebastian Redl wrote: >>>> svn help cl >>>> >>>> [ runs away, much the same way someone that throws a lighted match >>>> into a pool of gasoline ] Probably wise. >>> "cl": unknown command. >> >> From svn 1.5:
2017 May 30
2
Communication between Clang Sema and the Clang Codegen...
Hi All, We have populated info in the Clang Sema i.e class Sema (include/clang/Sema/Sema.h) and like to propagate the same to Clang Codegen . Currently we are propagating through ASTContext ,where we have duplicating fields info and operation in the Sema and ASTContext . Any better way of doing the same ? Thank you ~Umesh
2016 Oct 25
2
[Help] Add custom pragma
...unroll loop. Now I can detect my own pragma and figured it out how to create and tag custom metadata. The problem is that creating custom AttributeList is somewhat hard to follow. As far as I know, the attribute for loop unroll pragma gets serviced at ProcessSmtAttrbute Function @ tools/clang/lib/Sema/SemaStmtAttr.cpp. It contains switch statement like below. ProcessSmtAttrbute @ tools/clang/lib/Sema/SemaStmtAttr.cpp // A : AttributeList - passed by argument switch( A.getKind() ) { case AttributeList::UnknownAttribute: ~ case AttributeList::AT_FallThrough: return ~ case AttributeL...
2018 Sep 26
5
RFC: Adding a code size analysis tool
...nliner's cost model or to judiciously add a few `noinline` attributes. (Note that if you're willing to recompile & write a few SQL queries, optimization remarks can give you similar information, albeit at the IR level.) As another example, this code size tool can attribute code size to semantically interesting groups of code, like C++/Swift classes, or files. In the diff mode, you can see how the code size of a class/file grew compared to a baseline. The tool understands inheritance, so you can also see interesting high-level trends. E.g `clang::Sema` grew more than `llvm::Pass` betwe...
2016 Oct 25
2
[Help] Add custom pragma
...ulator. Why clang use this extension, which is limited to Windows environment? On Tue, Oct 25, 2016 at 7:00 PM, Vedant Kumar <vsk at apple.com> wrote: > That file is generated by the clang-tblgen tool: > > COMMAND = cd /Users/vk/Desktop/llvm/DA-NoModules/tools/clang/include/clang/Sema > && /Users/vk/Desktop/llvm/DA-NoModules/bin/clang-tblgen > -gen-clang-attr-parsed-attr-list -I /Users/vk/Desktop/llvm/tools/ > clang/include/clang/Sema/../../ -I /Users/vk/Desktop/llvm/tools/clang/include/clang/Sema > -I /Users/vk/Desktop/llvm/lib/Target -I /Users/vk/Desktop/ll...
2011 Oct 25
2
[LLVMdev] [LLVMDev] Clang stopped compiling?
...(Compiling with gcc): llvm[4]: Compiling cc1_main.cpp for Debug+Asserts build llvm[4]: Compiling cc1as_main.cpp for Debug+Asserts build llvm[4]: Compiling driver.cpp for Debug+Asserts build llvm[4]: Linking Debug+Asserts executable clang /home/hades/data/Tesi/llvm-build/Debug+Asserts/lib/libclangSema.a(SemaExpr.o): In function `clang::Sema::BuildBinOp(clang::Scope*, clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*)': /home/hades/data/Tesi/llvm/tools/clang/lib/Sema/SemaExpr.cpp:8011: undefined reference to `clang::Sema::checkPseudoObjectAssignment(clang::Scope*, c...
2018 Oct 01
4
RFC: Adding a code size analysis tool
...del or to judiciously add a few `noinline` attributes. (Note > that if you're willing to recompile & write a few SQL queries, optimization > remarks can give you similar information, albeit at the IR level.) > > As another example, this code size tool can attribute code size to semantically > interesting groups of code, like C++/Swift classes, or files. In the diff mode, > you can see how the code size of a class/file grew compared to a baseline. The > tool understands inheritance, so you can also see interesting high-level trends. > E.g `clang::Sema` grew more tha...
2016 Oct 25
0
[Help] Add custom pragma
...y clang use this extension, which is limited to Windows environment? > > On Tue, Oct 25, 2016 at 7:00 PM, Vedant Kumar <vsk at apple.com> wrote: > That file is generated by the clang-tblgen tool: > > COMMAND = cd /Users/vk/Desktop/llvm/DA-NoModules/tools/clang/include/clang/Sema && /Users/vk/Desktop/llvm/DA-NoModules/bin/clang-tblgen -gen-clang-attr-parsed-attr-list -I /Users/vk/Desktop/llvm/tools/clang/include/clang/Sema/../../ -I /Users/vk/Desktop/llvm/tools/clang/include/clang/Sema -I /Users/vk/Desktop/llvm/lib/Target -I /Users/vk/Desktop/llvm/include /Users/vk/...
2018 Oct 01
3
RFC: Adding a code size analysis tool
...ously add a few `noinline` attributes. (Note >> that if you're willing to recompile & write a few SQL queries, optimization >> remarks can give you similar information, albeit at the IR level.) >> >> As another example, this code size tool can attribute code size to semantically >> interesting groups of code, like C++/Swift classes, or files. In the diff mode, >> you can see how the code size of a class/file grew compared to a baseline. The >> tool understands inheritance, so you can also see interesting high-level trends. >> E.g `clang::Sem...
2013 Nov 21
1
[LLVMdev] [cfe-dev] disabled Sema/ms-inline-asm.c test
...Toker wrote: > It's possible a commit I made fixed this (r193685) or if not, a > similar fix might solve the problem. > > I'm in favour of switching the test back on on and collecting data on > what the crash is, or indeed if it's still broken at all. So, I looked into Sema/ms-inline-asm.c. There's good news and there's bad news.. The good news: r193685 probably did fix the original crash that would have happened on Hexagon or wherever the necessary parser wasn't enabled in the build configuration. This was indeed a clang problem. The bad news: In the...
2011 Oct 25
0
[LLVMdev] [LLVMDev] Clang stopped compiling?
...Maggioni wrote: > Hi, I'm trying to compile the latest clang/llvm SVN versions and I get > this error on multiple systems : Linking, not compiling, but still. I am getting a similar error when building this morning. > Undefined symbols for architecture x86_64: > "clang::Sema::checkPseudoObjectRValue(clang::Expr*)", referenced from: > clang::Sema::CheckPlaceholderExpr(clang::Expr*) in libclangSema.a(SemaExpr.o) > "clang::Sema::checkPseudoObjectIncDec(clang::Scope*, clang::SourceLocation, clang::UnaryOperatorKind, clang::Expr*)", referenced f...
2018 May 07
2
[clang] Running a single testcase
...vm and clang repos, run all the tests, then run an individual test. > > IIRC like so: > > git clone llvm ...... > cd llvm/tools > git clone clang ..... > cd ../../ > mkdir build > cd build > cmake ../llvm > ninja check-clang > ./bin/llvm-lit -v ./tools/clang/test/Sema/asm.c > > > Hi Brian, > > The cmake-line should be... > > # apt-get install ninja-build > $ cmake -G Ninja ../llvm > > Unfortunately, on the latest Git my build fails which gcc-7 (see > attached file for details). > Do I really need to build clang-from-git? >...
2018 May 06
3
[clang] Running a single testcase
...201234.1709~1.gbp6fb10d. [5,6] have some examples on running a single testcase: For example: python C:\Tools\llvm\utils\lit\lit.py -sv --param=build_mode=Win32 --param=build_config=Debug --param=clang_site_config=C:\Tools\build\tools\clang\test\lit.site.cfg C:\Tools\llvm\tools\clang\test\Sema\wchar.c I transformed this... $ python /usr/lib/llvm-7/build/utils/lit/lit.py -sv /home/sdi/src/linux-kernel/clang/test/Sema/asm.c lit.py: /usr/lib/llvm-7/build/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse config file '/home/sdi/src/linux-kernel/clang/test/lit.cfg.py', trace...
1998 Apr 01
1
Mounting of NT Shares on SunOS
...ftware on SunOS...? I have looked into using a piece of software called rumba(software to mount NT shares via smb to nfs) to do it. But this only works on Linux and NextStep. It has to be ported to SunOS. Does anyone have any input on this.. Sincerly Karl D. Gursli Technical Consultant UNIX Sema Group Norge As Work Tel: 51 80 34 42 gurslikd@bp.com Karl.Dag.Gursli@sema.no "UNIX Rules"
2012 Oct 10
0
[LLVMdev] [cfe-dev] OpenMP support in CLANG: A proposal
...7 AM, Mahesha HS <mahesha.llvm at gmail.com> >> wrote: >> > Hello All, >> > >> > We would like to make a proposal to support OpenMP in CLANG. The goal of >> > this effort is to provide support for syntax >> > >> > analysis (parsing), semantic analysis and AST implementation for OpenMP >> > constructs in CLANG. >> > >> > >> > >> > We would like to defer the design for *lowering* based on the outcome >> of the >> > discussion happening in the LLVM dev list. >> > >...
2018 May 07
2
[clang] Running a single testcase
...vm and clang repos, run all the tests, then run an individual test. > > IIRC like so: > > git clone llvm ...... > cd llvm/tools > git clone clang ..... > cd ../../ > mkdir build > cd build > cmake ../llvm > ninja check-clang > ./bin/llvm-lit -v ./tools/clang/test/Sema/asm.c > Hi Brian, The cmake-line should be... # apt-get install ninja-build $ cmake -G Ninja ../llvm Unfortunately, on the latest Git my build fails which gcc-7 (see attached file for details). Do I really need to build clang-from-git? I have llvm-7/clang-7 binaries installed on my system?...
2018 May 25
1
MSP430: interrupt vector number out of bounds error in v6/trunk (with patch)
...ainst headers distributed with TI MSP GCC, interrupt service routine interrupt(vector_number) attribute is rejected: __attribute__ ((interrupt(USCI_A0_VECTOR))) void ISR(void) { } error: 'interrupt' attribute parameter 48 is out of bounds This is due to the check in tools/clang/lib/Sema/SemaDeclAttr.cpp:5104 unsigned Num = NumParams.getLimitedValue(255); if ((Num & 1) || Num > 30) { S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) << AL.getName() << (int)NumParams.getSExtValue() << NumParamsExpr->g...
2018 May 07
0
[clang] Running a single testcase
On Mon, May 7, 2018 at 10:13 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote: > ... > > sdi at iniza:~/src/llvm-toolchain/build$ ./bin/llvm-lit -v > ./tools/clang/test/Sema/asm.c > llvm-lit: /home/sdi/src/llvm-toolchain/llvm/utils/lit/lit/llvm/ > config.py:334: > note: using clang: /home/sdi/src/llvm-toolchain/build/bin/clang > -- Testing: 1 tests, 1 threads -- > PASS: Clang :: Sema/asm.c (1 of 1) > Testing Time: 0.10s > Expected Passes : 1 &...
2018 May 07
0
[clang] Running a single testcase
...individual test. >> >> IIRC like so: >> >> git clone llvm ...... >> cd llvm/tools >> git clone clang ..... >> cd ../../ >> mkdir build >> cd build >> cmake ../llvm >> ninja check-clang >> ./bin/llvm-lit -v ./tools/clang/test/Sema/asm.c >> > > Hi Brian, > > The cmake-line should be... > > # apt-get install ninja-build > $ cmake -G Ninja ../llvm > > Unfortunately, on the latest Git my build fails which gcc-7 (see > attached file for details). > Do I really need to build clang-from-g...
2018 May 07
0
[clang] Running a single testcase
...o run a clang test case that I know of is to clone both llvm and clang repos, run all the tests, then run an individual test. IIRC like so: git clone llvm ...... cd llvm/tools git clone clang ..... cd ../../ mkdir build cd build cmake ../llvm ninja check-clang ./bin/llvm-lit -v ./tools/clang/test/Sema/asm.c On Sun, May 6, 2018 at 7:10 AM, Sedat Dilek via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi, > > while experimenting with llvmlinux on Debian/testing AMD64 I wanted to > run some x86-64 ASM tests. > > I fell over [1] and wanted to run it. > > So, I clo...