search for: buildaddiuspimm

Displaying 4 results from an estimated 4 matches for "buildaddiuspimm".

2013 Feb 15
2
[LLVMdev] build a machine instruction by itself
...e you can do this but we have not done this in the Mips port so far. We just use instruction builder. >> >> Anyone know how to do this best, or can point me to some code where this is done? > Did you look at BuildMI? For example, what I did already was create the folllowing: void BuildAddiuSpImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator II, DebugLoc DL, int64_t Imm) const; this will insert one of two Addiu SP, Immediate instruction forms at the point of the iterator, based on the value of the Immediate field. It does t...
2013 Feb 16
0
[LLVMdev] build a machine instruction by itself
...ips >>> port so far. We just use instruction builder. >>> >>> Anyone know how to do this best, or can point me to some code where >>> this is done? >> Did you look at BuildMI? > For example, what I did already was create the folllowing: > > void BuildAddiuSpImm(MachineBasicBlock &MBB, > MachineBasicBlock::iterator II, DebugLoc DL, > int64_t Imm) const; > > this will insert one of two Addiu SP, Immediate instruction forms at the > point of the iterator, > based on the value of th...
2013 Feb 15
0
[LLVMdev] build a machine instruction by itself
On Feb 15, 2013, at 1:21 PM, Reed Kotler <rkotler at mips.com> wrote: > I want to have some functions that create machine instructions, not specifying which machine function or basic block or iterator they are part of. All machine instructions must be created by a machine function. It provides the context for memory allocation etc. > And then I want to use that result when adding
2013 Feb 15
2
[LLVMdev] build a machine instruction by itself
I want to have some functions that create machine instructions, not specifying which machine function or basic block or iterator they are part of. And then I want to use that result when adding that instruction to a basic block. I'm pretty sure you can do this but we have not done this in the Mips port so far. We just use instruction builder. Anyone know how to do this best, or can point