search for: getinteger

Displaying 4 results from an estimated 4 matches for "getinteger".

2011 Nov 23
3
[LLVMdev] [llvm-commits] Vectors of Pointers and Vector-GEP
...LVM, so I believe that any predictable and sensible behavior is acceptable. Much like pointers, 'getBitWidth' should return zero. In my current patch bitcasting of one vector pointer to another vector pointer of the same length is okay, but any other bitcast is invalid. I added an assert to getInteger to prevent calling 'getInteger' on vectors of pointers. I agree that IntToPtr and PtrToInt need to be extended in order to support vectors of pointers and I plan to add this. Thank you, Nadav -----Original Message----- From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bo...
2017 Jul 31
3
[RFC] Profile guided section layout
Hi Rafael, On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote: > However, do we need to start with instrumentation? The original paper > uses sampling with good results and current intel cpus can record every > branch in a program. > > I would propose starting with just an lld patch that reads the call > graph from a file. The format would be very similar to
2017 Jun 15
7
[RFC] Profile guided section layout
...fileReorder; bool NoGnuUnique; bool NoUndefinedVersion; bool Nostdlib; diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp index 1534c7e..06dd045 100644 --- a/ELF/Driver.cpp +++ b/ELF/Driver.cpp @@ -649,6 +649,7 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) { Config->LTOO = getInteger(Args, OPT_lto_O, 2); Config->LTOPartitions = getInteger(Args, OPT_lto_partitions, 1); Config->MapFile = getString(Args, OPT_Map); + Config->NoCFGProfileReorder = Args.hasArg(OPT_no_cfg_profile_reorder); Config->NoGnuUnique = Args.hasArg(OPT_no_gnu_unique); Config->NoUnde...
2017 Jul 31
2
[RFC] Profile guided section layout
...eorder; bool NoGnuUnique; bool NoUndefinedVersion; bool NoinhibitExec; diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp index 263ba7b..84d4d80 100644 --- a/ELF/Driver.cpp +++ b/ELF/Driver.cpp @@ -644,6 +644,7 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) { Config->LTOO = getInteger(Args, OPT_lto_O, 2); Config->LTOPartitions = getInteger(Args, OPT_lto_partitions, 1); Config->MapFile = Args.getLastArgValue(OPT_Map); + Config->NoCFGProfileReorder = Args.hasArg(OPT_no_cfg_profile_reorder); Config->NoGnuUnique = Args.hasArg(OPT_no_gnu_unique); Config->N...