search for: redecls

Displaying 20 results from an estimated 20 matches for "redecls".

2015 Jun 17
2
[LLVMdev] Inline hint for methods defined in-class
...ase: --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { if (!CGM.getCodeGenOpts().NoInline) { for (auto RI : FD->redecls()) - if (RI->isInlineSpecified()) { + if (RI->isInlined()) { Fn->addFnAttr(llvm::Attribute::InlineHint); break; } I tried this on C++ benchmarks in SPEC 2006. There is no noticeable performance difference and the maximum text size increase is &...
2004 May 02
0
rsync 2.6.2: clean up compilation warnings
While building rsync 2.6.2 on my x86 Linux system using gcc 3.3.3, I observed a number of warnings from popt.c/h about ignoring qualifiers on return types. On further investigation, it looks like a few functions are declaring their return types as "const char * const". The first const is appropriate ("the chars pointed to by this pointer are const"), but the second is bogus
2015 Jun 17
2
[LLVMdev] Inline hint for methods defined in-class
...odeGenFunction.cpp > +++ b/lib/CodeGen/CodeGenFunction.cpp > @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, > if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { > if (!CGM.getCodeGenOpts().NoInline) { > for (auto RI : FD->redecls()) > - if (RI->isInlineSpecified()) { > + if (RI->isInlined()) { > Fn->addFnAttr(llvm::Attribute::InlineHint); > break; > } > > I tried this on C++ benchmarks in SPEC 2006. There is no noticeable > performance difference...
2015 Jun 24
4
[LLVMdev] Inline hint for methods defined in-class
...deGen/CodeGenFunction.cpp > >> @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { > >> if (!CGM.getCodeGenOpts().NoInline) { > >> for (auto RI : FD->redecls()) > >> - if (RI->isInlineSpecified()) { > >> + if (RI->isInlined()) { > >> Fn->addFnAttr(llvm::Attribute::InlineHint); > >> break; > >> } > >> > >> I tried this on C++ benchmarks in...
2019 May 08
2
How can I fix/exclude some failing tests when building with BUILD_SHARED_LIBS=ON
The test in question is clang-check-mac-libcxx-fixed-compilation-db.cpp which copies clang-check to a local directory to make sure clang can find libcxx via rpath. However, when built with shared libs, the copy of clang-check can't find any of it's libraries, so I'd like to either turn if off when BUILD_SHARED_LIBS=ON, or find a way to fix it. Thought about trying to use
2015 Jun 24
4
[LLVMdev] Inline hint for methods defined in-class
...+630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl >> > >> GD, >> > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> > >> for (auto RI : FD->redecls()) >> > >> - if (RI->isInlineSpecified()) { >> > >> + if (RI->isInlined()) { >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> > >> break; >> > >> } >> > &g...
2015 Jul 07
6
[LLVMdev] Inline hint for methods defined in-class
...ass: --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { if (!CGM.getCodeGenOpts().NoInline) { for (auto RI : FD->redecls()) - if (RI->isInlineSpecified()) { + if (RI->isInlined()) { Fn->addFnAttr(llvm::Attribute::InlineHint); break; } Here are the performance and size numbers I've collected: - C++ subset of Spec: No performance effects, < 0.1% size incre...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
...(GlobalDecl >> >> > >> GD, >> >> > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) >> { >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> > >> for (auto RI : FD->redecls()) >> >> > >> - if (RI->isInlineSpecified()) { >> >> > >> + if (RI->isInlined()) { >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> > >> break; >> >&...
2015 Jun 24
6
[LLVMdev] Inline hint for methods defined in-class
...(GlobalDecl >> >> > >> GD, >> >> > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) >> { >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> > >> for (auto RI : FD->redecls()) >> >> > >> - if (RI->isInlineSpecified()) { >> >> > >> + if (RI->isInlined()) { >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> > >> break; >> >&...
2015 Jun 24
3
[LLVMdev] Inline hint for methods defined in-class
...t; >> if (const FunctionDecl *FD = >> >> >> > >> dyn_cast_or_null<FunctionDecl>(D)) >> >> { >> >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> >> > >> for (auto RI : FD->redecls()) >> >> >> > >> - if (RI->isInlineSpecified()) { >> >> >> > >> + if (RI->isInlined()) { >> >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> >> > >&...
2015 Jun 24
3
[LLVMdev] Inline hint for methods defined in-class
...D, >> >> >> > >> if (const FunctionDecl *FD = >> dyn_cast_or_null<FunctionDecl>(D)) >> >> { >> >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> >> > >> for (auto RI : FD->redecls()) >> >> >> > >> - if (RI->isInlineSpecified()) { >> >> >> > >> + if (RI->isInlined()) { >> >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> >> > >&...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
...t; >> if (const FunctionDecl *FD = >> >> >> > >> dyn_cast_or_null<FunctionDecl>(D)) >> >> { >> >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> >> > >> for (auto RI : FD->redecls()) >> >> >> > >> - if (RI->isInlineSpecified()) { >> >> >> > >> + if (RI->isInlined()) { >> >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> >> > >&...
2015 Jul 08
9
[LLVMdev] Inline hint for methods defined in-class
...gt;> +++ b/lib/CodeGen/CodeGenFunction.cpp >> @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { >> if (!CGM.getCodeGenOpts().NoInline) { >> for (auto RI : FD->redecls()) >> - if (RI->isInlineSpecified()) { >> + if (RI->isInlined()) { >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> break; >> } >> >> Here are the performance and size numbers I've collected: >&g...
2019 Apr 30
6
Disk space and RAM requirements in docs
.../clang/test/Modules/Output/stddef.c.tmp 52K build/tools/clang/test/Modules/Output/separate_map_tree.cpp.tmp 52K build/tools/clang/test/Modules/Output/self-import-header.m.tmp/9MBW6IT4KY3A 52K build/tools/clang/test/Modules/Output/resolution-change.m.tmp 52K build/tools/clang/test/Modules/Output/redecls.m.tmp.mcp 52K build/tools/clang/test/Modules/Output/redeclarations.m.tmp 52K build/tools/clang/test/Modules/Output/redecl-namespaces.mm.tmp 52K build/tools/clang/test/Modules/Output/redecl-add-after-load.cpp.tmp/1475JKKD6WQAE 52K build/tools/clang/test/Modules/Output/public-private.modulemap.tm...
2015 Jul 09
2
[LLVMdev] Inline hint for methods defined in-class
...odeGen/CodeGenFunction.cpp > >> @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl > >> GD, > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { > >> if (!CGM.getCodeGenOpts().NoInline) { > >> for (auto RI : FD->redecls()) > >> - if (RI->isInlineSpecified()) { > >> + if (RI->isInlined()) { > >> Fn->addFnAttr(llvm::Attribute::InlineHint); > >> break; > >> } > >> > >> Here are the performance and size numbers I've collected: > >>...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
...gt;> if (const FunctionDecl *FD = >> >> dyn_cast_or_null<FunctionDecl>(D)) >> >> >> { >> >> >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> >> >> > >> for (auto RI : FD->redecls()) >> >> >> >> > >> - if (RI->isInlineSpecified()) { >> >> >> >> > >> + if (RI->isInlined()) { >> >> >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> &...
2015 Jul 10
3
[LLVMdev] Inline hint for methods defined in-class
...@@ void > > >> CodeGenFunction::StartFunction(GlobalDecl > > >> GD, > > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) > > >> { > > >> if (!CGM.getCodeGenOpts().NoInline) { > > >> for (auto RI : FD->redecls()) > > >> - if (RI->isInlineSpecified()) { > > >> + if (RI->isInlined()) { > > >> Fn->addFnAttr(llvm::Attribute::InlineHint); > > >> break; > > >> } > > >> > > >> Here are the performance and size numbers...
2015 Jul 10
2
[LLVMdev] Inline hint for methods defined in-class
...> > >> GD, > > > > >> if (const FunctionDecl *FD = > > > > >> dyn_cast_or_null<FunctionDecl>(D)) > > > > >> { > > > > >> if (!CGM.getCodeGenOpts().NoInline) { > > > > >> for (auto RI : FD->redecls()) > > > > >> - if (RI->isInlineSpecified()) { > > > > >> + if (RI->isInlined()) { > > > > >> Fn->addFnAttr(llvm::Attribute::InlineHint); > > > > >> break; > > > > >> } > > > > >> &g...
2019 Jan 02
4
[lit] check-all hanging
Hi David, Chandler, I see lldb tests hang often, and then I kill the dotest process. I'd like to stop running check-all too, but I feel it's important when I modify FileCheck. The flakiness that Chandler mentioned makes it time-consuming to verify test results. Joel On Wed, Jan 2, 2019 at 4:41 PM Chandler Carruth via llvm-dev < llvm-dev at lists.llvm.org> wrote: > What
2017 Jul 26
15
[5.0.0 Release] Release Candidate 1 tagged
Dear testers, 5.0.0-rc1 has just been tagged. Please build, test and upload binaries to the sftp. Let me know if there are any issues. I'll upload sources, docs, and your binaries to the pre-release website once they're ready. Thanks, Hans