search for: gettargetopt

Displaying 3 results from an estimated 3 matches for "gettargetopt".

Did you mean: gettargetopts
2015 Jan 27
7
[LLVMdev] Embedding cpu and feature strings into IR and enabling switching subtarget on a per function basis
I've been investigating what is needed to ensure command line options are passed to the backend codegen passes during LTO and enable compiling different functions in a module with different command line options (see the links below for previous discussions). http://thread.gmane.org/gmane.comp.compilers.llvm.devel/78855 http://thread.gmane.org/gmane.comp.compilers.llvm.devel/80456 The command
2013 Oct 27
0
[LLVMdev] Why is the loop vectorizer not working on my function?
...e it would be good to ask specific questions: How do I get the triple for the native target? How do I setup the target transform info pass? I guess I need the target machine for all of this. 'opt' defines the GetTargetMachine() function which takes a Triple (my native triple). It calls GetTargetOptions(). This function, as implemented in 'opt', looks very static to me and surely doesn't fit all machines. Do I need this for my setup? Frank On 26/10/13 20:43, Arnold Schwaighofer wrote: > Hi Frank, > > > On Oct 26, 2013, at 6:29 PM, Frank Winter <fwinter at jlab.o...
2013 Oct 27
3
[LLVMdev] Why is the loop vectorizer not working on my function?
Hi Frank, On Oct 26, 2013, at 6:29 PM, Frank Winter <fwinter at jlab.org> wrote: > I would need this to work when calling the vectorizer through > the function pass manager. Unfortunately I am having the same > problem there: I am not sure which function pass manager you are referring here. I assume you create your own (you are not using opt but configure your own pass