search for: getraregist

Displaying 6 results from an estimated 6 matches for "getraregist".

Did you mean: getraregister
2006 Apr 24
7
[LLVMdev] building an ARM backend
...s, the generated code with not be very good but the back end will be very simple. The only part that appears to require more work is describing the instructions set. Am I underestimating how hard it is? How much work do you thing is required to have this minimal back end working? PS.: What is the getRARegister method for? PS.: Once I have a small back end working I will try to improve it :-) Thanks, Rafael
2008 Feb 04
0
[LLVMdev] Exception handling in JIT
...> + MCE->emitInt32((int)0); > + MCE->emitByte(dwarf::DW_CIE_VERSION); > + MCE->emitString(Personality ? "zPLR" : "zR"); > + MCE->emitULEB128Bytes(1); > + MCE->emitSLEB128Bytes(stackGrowth); > + MCE->emitByte(RI->getDwarfRegNum(RI->getRARegister(), true)); > + > + if (Personality) { > + MCE->emitULEB128Bytes(7); > + > + if (needsIndirectEncoding) > + MCE->emitByte(dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4 | > + dwarf::DW_EH_PE_indirect); > + else > + MCE->emitByte...
2008 Feb 01
2
[LLVMdev] Exception handling in JIT
Dear all, Here's a new patch with Evan's comments (thx Evan!) and some cleanups. Now the (duplicated) exception handling code is in a new file: lib/ExecutionEngine/JIT/JITDwarfEmitter. This patch should work on linux/x86 and linux/ppc (tested). Nicolas -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: jit-exceptions.patch URL:
2007 Dec 11
0
[LLVMdev] Exception handling in JIT
...signed char* FrameCommonBeginPtr = CurBufferPtr; > + EmitInt32((int)0); > + EmitInt8(dwarf::DW_CIE_VERSION); > + EmitString(Personality ? "zPLR" : "zR"); > + EmitULEB128Bytes(1); > + EmitSLEB128Bytes(stackGrowth); > + EmitInt8(RI->getDwarfRegNum(RI->getRARegister(), true)); > + > + if (Personality) { > + EmitULEB128Bytes(7); > + > + if (TM.getTargetAsmInfo()->getNeedsIndirectEncoding()) > + EmitInt8(dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4 | > + dwarf::DW_EH_PE_indirect); > + else > + E...
2007 Dec 10
2
[LLVMdev] Exception handling in JIT
Hi everyone, Here's a patch that enables exception handling when jitting. I've copy/pasted _many_code from lib/Codegen/DwarfWriter.cpp, so we may need to factorize it, but the functionality is there and I'm very happy with it :) lli should now be able to execute the output from llvm-gcc when using exceptions (the UnwindInst instruction is not involved in this patch). Just add the
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...unsigned DepReg) { >> + >> + const HexagonInstrInfo *QII = (const HexagonInstrInfo *) TII; >> + const HexagonRegisterInfo* QRI = (const HexagonRegisterInfo *) TM.getRegisterInfo(); >> + >> + // Check for lr dependence >> + if (DepReg == QRI->getRARegister()) { >> + return true; >> + } >> + >> + if (QII->isDeallocRet(MI)) { >> + if (DepReg == QRI->getFrameRegister() || >> + DepReg == QRI->getStackRegister()) >> + return true; >> + } >> + >> + // Check if this...