search for: instrinc

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

Did you mean: instring
2009 Feb 22
4
[LLVMdev] Creating an LLVM backend for a very small stack machine
...uccessfull? What problems did you have? * What parts of the LLVM backend code generator infrastructure would be usable for targeting a stack machine? e.g. Is it even possible to use TableGen to target a stack machine? * When/where/how do things like big integer (iXXXXX), phi nodes, llvm.* instrincs get lowered; e.g. does my target have to do that, or is it done generically? Ultimtely, I'm wondering if targeting a stack machine with the current LLVM infrastructure is going to be somewhat straightforward even if it's not totally optimal (desirable), or if it's going to be so pr...
2009 Feb 23
0
[LLVMdev] Creating an LLVM backend for a very small stack machine
...in lib/CodeGen/LLVMTargetMachine.cpp for a high-level overview of how CodeGen works. It might also be useful to look at LLVM handles x87 floating-point; the relevant code is in lib/Target/X86/X86FloatingPoint.cpp. > * When/where/how do things like big integer (iXXXXX), phi nodes, llvm.* > instrincs get lowered; e.g. does my target have to do that, or is it done > generically? Aribitrary-width integers, vectors, llvm.*, etc. are lowered generically by the Legalize infrastructure; the backend just has to say what it can and can't support. See lib/Target/X86/X86ISelLowering.cpp for an...
2009 Feb 23
0
[LLVMdev] Creating an LLVM backend for a very small stack machine
...uccessfull? What problems did you have? * What parts of the LLVM backend code generator infrastructure would be usable for targeting a stack machine? e.g. Is it even possible to use TableGen to target a stack machine? * When/where/how do things like big integer (iXXXXX), phi nodes, llvm.* instrincs get lowered; e.g. does my target have to do that, or is it done generically? Ultimtely, I'm wondering if targeting a stack machine with the current LLVM infrastructure is going to be somewhat straightforward even if it's not totally optimal (desirable), or if it's going to be so pr...