search for: mipsinstprint

Displaying 7 results from an estimated 7 matches for "mipsinstprint".

Did you mean: mipsinstprinter
2011 Jul 27
2
[LLVMdev] llvm-mc build failure
...)': MSP430MCTargetDesc.cpp:(.text._ZN4llvm17MSP430InstPrinterC1ERKNS_9MCAsmInfoE[llvm::MSP430InstPrinter::MSP430InstPrinter(llvm::MCAsmInfo const&)]+0x2a): undefined reference to `vtable for llvm::MSP430InstPrinter' ../../lib/libLLVMMipsDesc.a(MipsMCTargetDesc.cpp.o): In function `llvm::MipsInstPrinter::MipsInstPrinter(llvm::MCAsmInfo const&)': MipsMCTargetDesc.cpp:(.text._ZN4llvm15MipsInstPrinterC1ERKNS_9MCAsmInfoE[llvm::MipsInstPrinter::MipsInstPrinter(llvm::MCAsmInfo const&)]+0x2a): undefined reference to `vtable for llvm::MipsInstPrinter' ../../lib/libLLVMPowerPCDesc.a(PPCMC...
2011 Jul 28
0
[LLVMdev] llvm-mc build failure
...etDesc.cpp:(.text._ZN4llvm17MSP430InstPrinterC1ERKNS_9MCAsmInfoE[llvm::MSP430InstPrinter::MSP430InstPrinter(llvm::MCAsmInfo > const&)]+0x2a): undefined reference to `vtable for > llvm::MSP430InstPrinter' > ../../lib/libLLVMMipsDesc.a(MipsMCTargetDesc.cpp.o): In function > `llvm::MipsInstPrinter::MipsInstPrinter(llvm::MCAsmInfo const&)': > MipsMCTargetDesc.cpp:(.text._ZN4llvm15MipsInstPrinterC1ERKNS_9MCAsmInfoE[llvm::MipsInstPrinter::MipsInstPrinter(llvm::MCAsmInfo > const&)]+0x2a): undefined reference to `vtable for > llvm::MipsInstPrinter' > ../../lib/libLLV...
2012 Dec 19
0
[LLVMdev] question about printAliasInstr
I am considering using MipsInstPrinter::printAliasInstr, which is auto-generated in MipsGenAsmWriter.inc, to print assembly idioms defined as instruction aliases. For example, an instruction which used to be printed as "nor $1, $2, $zero" can be printed as "not $1, $2" This is nice because it makes the code pri...
2015 Feb 28
2
[LLVMdev] LLVM register number for MIPS DAGToDAG
Thanks for your reply Quentin. I do understand that the registers are allocated much later in the pipeline. I am assuming that the physical registers are allocated before MipsAsmPrinter class. I am doing something like if (MI->getOpcode() == Mips::OPCODE) { unsigned n = MI->getNumOperands(); for(unsigned i=0 ; i < n ; i++) { const MachineOperand &MO =
2011 Jul 06
0
[LLVMdev] MCInstPrinter::printRegName
...getAsmInfo(); unsigned LLVMRegister = asmInfo.getLLVMRegNum(Register, true); InstPrinter->printRegName(OS, LLVMRegister); } else { OS << Register; } } My current implementation of printRegName which I copied from other backends (X86, ARM and PowerPC) looks like this: void MipsInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { OS << getRegisterName(RegNo); } This will result in code like this .cfi_offset RA, -4 , instead of something like this: .cfi_offset 31, -4 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http:/...
2014 Apr 03
5
[LLVMdev] comparing .o files from different build trees
...se2be/build/./lib/Target/Mips/Release+Asserts/MipsRegisterInfo.o differ: byte 23542, line 29 ./lib/Target/Mips/Release+Asserts/MipsSEISelDAGToDAG.o ../../recurse2be/build/./lib/Target/Mips/Release+Asserts/MipsSEISelDAGToDAG.o differ: byte 83281, line 94 ./lib/Target/Mips/InstPrinter/Release+Asserts/MipsInstPrinter.o ../../recurse2be/build/./lib/Target/Mips/InstPrinter/Release+Asserts/MipsInstPrinter.o differ: byte 51888, line 73 ./lib/Target/Mips/Disassembler/Release+Asserts/MipsDisassembler.o ../../recurse2be/build/./lib/Target/Mips/Disassembler/Release+Asserts/MipsDisassembler.o differ: byte 231517, line...
2015 Feb 27
0
[LLVMdev] LLVM register number for MIPS DAGToDAG
> On Feb 27, 2015, at 1:59 AM, Ambuj Agrawal <ambujbwt at gmail.com> wrote: > > Is it possible to get a register number to which the value is allocated to in MIPS in DAGToDAG class? > > More Specifically: > SDValue Reg3 = Node->getOperand(3); > if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(Reg3)) >