Displaying 6 results from an estimated 6 matches for "basicpass".
Did you mean:
baseclass
2009 Jul 16
3
[LLVMdev] Handling of built-in functions
...to case a) is to write the built-in function implementation
in C, compile it to LLVM using Clang, link it to the module that uses it
and finally add a pass to inline it. The last two steps can be made
inside a ModulePass. The definition of TargetMachine allows for any pass
manager deriving form BasicPass to be passed to AddPassesToEmitFile.
However, I see that llc uses a FunctionPassManager for all the passes. A
(module)PassManager is used only if the target implements
AddPassesToEmitWholeFile but the comments on the base class discourage
this path. Am I approaching the problem the wrong way?...
2009 Jul 20
2
[LLVMdev] Handling of built-in functions
...-in function implementation
>> in C, compile it to LLVM using Clang, link it to the module that uses it
>> and finally add a pass to inline it. The last two steps can be made
>> inside a ModulePass. The definition of TargetMachine allows for any pass
>> manager deriving form BasicPass to be passed to AddPassesToEmitFile.
>> However, I see that llc uses a FunctionPassManager for all the passes. A
>> (module)PassManager is used only if the target implements
>> AddPassesToEmitWholeFile but the comments on the base class discourage
>> this path. Am I approach...
2009 Jul 20
0
[LLVMdev] Handling of built-in functions
...write the built-in function implementation
> in C, compile it to LLVM using Clang, link it to the module that uses it
> and finally add a pass to inline it. The last two steps can be made
> inside a ModulePass. The definition of TargetMachine allows for any pass
> manager deriving form BasicPass to be passed to AddPassesToEmitFile.
> However, I see that llc uses a FunctionPassManager for all the passes. A
> (module)PassManager is used only if the target implements
> AddPassesToEmitWholeFile but the comments on the base class discourage
> this path. Am I approaching the problem...
2009 Jul 21
3
[LLVMdev] Handling of built-in functions
...-in function implementation
>> in C, compile it to LLVM using Clang, link it to the module that uses it
>> and finally add a pass to inline it. The last two steps can be made
>> inside a ModulePass. The definition of TargetMachine allows for any pass
>> manager deriving form BasicPass to be passed to AddPassesToEmitFile.
>> However, I see that llc uses a FunctionPassManager for all the passes. A
>> (module)PassManager is used only if the target implements
>> AddPassesToEmitWholeFile but the comments on the base class discourage
>> this path. Am I approach...
2009 Jul 20
0
[LLVMdev] Handling of built-in functions
...write the built-in function implementation
> in C, compile it to LLVM using Clang, link it to the module that uses it
> and finally add a pass to inline it. The last two steps can be made
> inside a ModulePass. The definition of TargetMachine allows for any pass
> manager deriving form BasicPass to be passed to AddPassesToEmitFile.
> However, I see that llc uses a FunctionPassManager for all the passes. A
> (module)PassManager is used only if the target implements
> AddPassesToEmitWholeFile but the comments on the base class discourage
> this path. Am I approaching the problem...
2009 Jul 21
0
[LLVMdev] Handling of built-in functions
...lementation
>>> in C, compile it to LLVM using Clang, link it to the module that uses it
>>> and finally add a pass to inline it. The last two steps can be made
>>> inside a ModulePass. The definition of TargetMachine allows for any pass
>>> manager deriving form BasicPass to be passed to AddPassesToEmitFile.
>>> However, I see that llc uses a FunctionPassManager for all the passes. A
>>> (module)PassManager is used only if the target implements
>>> AddPassesToEmitWholeFile but the comments on the base class discourage
>>> this pat...