Displaying 10 results from an estimated 10 matches for "moduleboolattrs".
2014 Nov 17
3
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...en/CodeGenOption.h"
>> +#include "llvm/IR/Attributes.h"
>> +#include "llvm/IR/Module.h"
>> +
>> +using namespace llvm;
>> +
>> +static std::map<std::string, bool> FunctionBoolAttrs;
>> +static std::map<std::string, bool> ModuleBoolAttrs;
>> +
>
> @Chris, should these be using ManagedStatic?
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
2014 Nov 18
3
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
.../IR/Attributes.h"
>> >> +#include "llvm/IR/Module.h"
>> >> +
>> >> +using namespace llvm;
>> >> +
>> >> +static std::map<std::string, bool> FunctionBoolAttrs;
>> >> +static std::map<std::string, bool> ModuleBoolAttrs;
>> >> +
>> >
>> > @Chris, should these be using ManagedStatic?
>> >
>> > _______________________________________________
>> > LLVM Developers mailing list
>> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> > htt...
2014 Nov 14
6
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...en/CodeGenOption.h"
>> +#include "llvm/IR/Attributes.h"
>> +#include "llvm/IR/Module.h"
>> +
>> +using namespace llvm;
>> +
>> +static std::map<std::string, bool> FunctionBoolAttrs;
>> +static std::map<std::string, bool> ModuleBoolAttrs;
>> +
>
> @Chris, should these be using ManagedStatic?
I’d much rather they just weren’t static at all. Using globals to store state that inherently isn’t global just feels wrong.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists...
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...+#include "llvm/IR/Module.h"
>>>> >> +
>>>> >> +using namespace llvm;
>>>> >> +
>>>> >> +static std::map<std::string, bool> FunctionBoolAttrs;
>>>> >> +static std::map<std::string, bool> ModuleBoolAttrs;
>>>> >> +
>>>> >
>>>> > @Chris, should these be using ManagedStatic?
>>>> >
>>>> > _______________________________________________
>>>> > LLVM Developers mailing list
>>>> > LLVMdev at cs.ui...
2014 Nov 14
7
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
I'm working on fixing PR21471, which is about embedding codegen command
line options into the bitcode as function or module-level attributes so
that they don't get ignored when doing LTO.
http://llvm.org/bugs/show_bug.cgi?id=21471
I have an initial patch (attached to this email) which enables clang/llvm
to recognize one command line option, write it to the IR, and read it out
in a
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...gt; +#include "llvm/IR/Attributes.h"
> >> +#include "llvm/IR/Module.h"
> >> +
> >> +using namespace llvm;
> >> +
> >> +static std::map<std::string, bool> FunctionBoolAttrs;
> >> +static std::map<std::string, bool> ModuleBoolAttrs;
> >> +
> >
> > @Chris, should these be using ManagedStatic?
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu <htt...
2014 Dec 02
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
.../IR/Attributes.h"
>> >> +#include "llvm/IR/Module.h"
>> >> +
>> >> +using namespace llvm;
>> >> +
>> >> +static std::map<std::string, bool> FunctionBoolAttrs;
>> >> +static std::map<std::string, bool> ModuleBoolAttrs;
>> >> +
>> >
>> > @Chris, should these be using ManagedStatic?
>> >
>> > _______________________________________________
>> > LLVM Developers mailing list
>> > LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> htt...
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...; +
>>>>>>>> >> +using namespace llvm;
>>>>>>>> >> +
>>>>>>>> >> +static std::map<std::string, bool> FunctionBoolAttrs;
>>>>>>>> >> +static std::map<std::string, bool> ModuleBoolAttrs;
>>>>>>>> >> +
>>>>>>>> >
>>>>>>>> > @Chris, should these be using ManagedStatic?
>>>>>>>> >
>>>>>>>> > _______________________________________________
>>&...
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...>>> >> +using namespace llvm;
>>>>>>>>>> >> +
>>>>>>>>>> >> +static std::map<std::string, bool> FunctionBoolAttrs;
>>>>>>>>>> >> +static std::map<std::string, bool> ModuleBoolAttrs;
>>>>>>>>>> >> +
>>>>>>>>>> >
>>>>>>>>>> > @Chris, should these be using ManagedStatic?
>>>>>>>>>> >
>>>>>>>>>> > _________________...
2014 Dec 09
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...sing namespace llvm;
>>>>>>>>>>>> >> +
>>>>>>>>>>>> >> +static std::map<std::string, bool> FunctionBoolAttrs;
>>>>>>>>>>>> >> +static std::map<std::string, bool> ModuleBoolAttrs;
>>>>>>>>>>>> >> +
>>>>>>>>>>>> >
>>>>>>>>>>>> > @Chris, should these be using ManagedStatic?
>>>>>>>>>>>> >
>>>>>>>>...