Displaying 3 results from an estimated 3 matches for "intregsregclass".
Did you mean:
gnpregsregclass
2010 Nov 18
1
[LLVMdev] LLVM new backend compiling/linking problem
...-2.7/lib/Target/M68K/M68KISelLowering.cpp:37:
undefined reference to `vtable for llvm::M68KTargetLowering'
/home/pgautam/llvm/llvm-2.7/Release+Debug/lib/libLLVMM68KCodeGen.a(M68KISelLowering.o):
In function `pair':
/usr/include/c++/4.4/bits/stl_pair.h:84: undefined reference to
`llvm::M68K::IntRegsRegClass'
/home/pgautam/llvm/llvm-2.7/Release+Debug/lib/libLLVMM68KCodeGen.a(M68KISelLowering.o):
In function `M68KTargetLowering':
/home/pgautam/llvm/llvm-2.7/lib/Target/M68K/M68KISelLowering.cpp:37:
undefined reference to `vtable for llvm::M68KTargetLowering'
/home/pgautam/llvm/llvm-2.7/Releas...
2016 Apr 15
3
[Sparc] Load address with SETHI
Hi,
I'm trying to implement __builtin_setjmp / __builtin_longjmp for Sparc processors. I think I'm very close, but I can't work out how to issue BuildMI-type instructions to load the address of the recovery location (set in setjmp) into a register using the SETHI / OR combination. I can't see any equivalent code anywhere else in Sparc.
I imagine this is similar if I try to make a
2016 Apr 27
2
[Sparc] builtin setjmp / longjmp - need help to get past last problem
...;memoperands_end();
+
+ MVT PVT = getPointerTy(MF->getDataLayout());
+ unsigned PtrSize = PVT.getStoreSize();
+ assert(PVT == MVT::i32 && "Invalid Pointer Size!");
+
+ unsigned Buf = MI->getOperand(0).getReg();
+ unsigned JmpLoc = MRI.createVirtualRegister(&SP::IntRegsRegClass);
+
+ // Instruction to load jmp location
+ MIB = BuildMI(*MBB, MI, DL, TII->get(SP::LDri))
+ .addReg(JmpLoc, RegState::Define)
+ .addReg(Buf)
+ .addImm(PtrSize);
+ MIB.setMemRefs(MMOBegin, MMOEnd);
+
+ // TO DO: If we do 64-bit handling, this perhaps...