search for: mipsmccodeemmitt

Displaying 2 results from an estimated 2 matches for "mipsmccodeemmitt".

Did you mean: mipsmccodeemmitter
2011 Oct 10
2
[LLVMdev] Adding fixups and relocations late in code generation
...e code. I how exactly does one set an expression to be PC relative and if the compiler can resolve it, not produce a relocation? In our case, the backend produces an expression for the branch which is the target label. I make a call from the .td for the branch instruction which calls a routine in MipsMCCodeEmmitter.cpp. That routine ############################################################## unsigned MipsMCCodeEmitter:: getBranchTargetOpValue(const MCInst &MI, unsigned OpNo, SmallVectorImpl<MCFixup> &Fixups) const { const MCOperand &MO = MI.getOperand(OpNo); if (MO.isReg...
2011 Oct 10
0
[LLVMdev] Adding fixups and relocations late in code generation
...s the target hook RecordRelocation() if it cannot evaluate it directly and needs a relocation in the object file. > In our case, the backend produces an expression for the branch which is > the target label. I make a call from the .td for the branch instruction > which calls a routine in MipsMCCodeEmmitter.cpp. That routine > > ############################################################## > unsigned MipsMCCodeEmitter:: > getBranchTargetOpValue(const MCInst &MI, unsigned OpNo, > SmallVectorImpl<MCFixup> &Fixups) const { > > const MCOperand &MO = MI....