search for: isoptionaldef

Displaying 9 results from an estimated 9 matches for "isoptionaldef".

2015 Aug 25
2
[LLVMdev] TableGen Register Class not matching for MI in 3.6
...and. > unsigned VReg = getVR(Op, VRBaseMap); > assert(TargetRegisterInfo::isVirtualRegister(VReg) && "Not a vreg?"); > const MCInstrDesc &MCID = MIB->getDesc(); > bool isOptDef = IIOpNum < MCID.getNumOperands() && > MCID.OpInfo[IIOpNum].isOptionalDef(); > // If the instruction requires a register in a different class, create > // a new virtual register and copy the value into it, but first attempt to > // shrink VReg's register class within reason. For example, if VReg == GR32 > // and II requires a GR32_NOSP, just cons...
2015 Aug 25
2
[LLVMdev] TableGen Register Class not matching for MI in 3.6
...gned VReg = getVR(Op, VRBaseMap); >> assert(TargetRegisterInfo::isVirtualRegister(VReg) && "Not a vreg?"); >> const MCInstrDesc &MCID = MIB->getDesc(); >> bool isOptDef = IIOpNum < MCID.getNumOperands() && >> MCID.OpInfo[IIOpNum].isOptionalDef(); >> // If the instruction requires a register in a different class, create >> // a new virtual register and copy the value into it, but first attempt >> to >> // shrink VReg's register class within reason. For example, if VReg == >> GR32 >> // and...
2015 Aug 25
4
[LLVMdev] TableGen Register Class not matching for MI in 3.6
...gned VReg = getVR(Op, VRBaseMap); >> assert(TargetRegisterInfo::isVirtualRegister(VReg) && "Not a vreg?"); >> const MCInstrDesc &MCID = MIB->getDesc(); >> bool isOptDef = IIOpNum < MCID.getNumOperands() && >> MCID.OpInfo[IIOpNum].isOptionalDef(); >> // If the instruction requires a register in a different class, create >> // a new virtual register and copy the value into it, but first attempt to >> // shrink VReg's register class within reason. For example, if VReg == GR32 >> // and II requires a GR32...
2015 Aug 24
2
[LLVMdev] TableGen Register Class not matching for MI in 3.6
> On Aug 24, 2015, at 1:30 PM, Ryan Taylor <ryta1203 at gmail.com> wrote: > > I'm trying to do something like this: > > // Dst = NewVReg's reg class > // *II = MCInstrDesc > // IIOpNum = II Operand Num > > if (TRI->getCommonSubClass(DstRC, TRI->getRegClass(II->OpInfo[IIOpNum].RegClass)) == DstRC) > MRI->setRegClass(VReg, DstRC); >
2015 Aug 25
2
[LLVMdev] TableGen Register Class not matching for MI in 3.6
...(VReg) && "Not a >>>>>>> vreg?"); >>>>>>> const MCInstrDesc &MCID = MIB->getDesc(); >>>>>>> bool isOptDef = IIOpNum < MCID.getNumOperands() && >>>>>>> MCID.OpInfo[IIOpNum].isOptionalDef(); >>>>>>> // If the instruction requires a register in a different class, >>>>>>> create >>>>>>> // a new virtual register and copy the value into it, but first >>>>>>> attempt to >>>>>>>...
2015 Aug 25
2
[LLVMdev] TableGen Register Class not matching for MI in 3.6
...; "Not a >>>>>>>> vreg?"); >>>>>>>> const MCInstrDesc &MCID = MIB->getDesc(); >>>>>>>> bool isOptDef = IIOpNum < MCID.getNumOperands() && >>>>>>>> MCID.OpInfo[IIOpNum].isOptionalDef(); >>>>>>>> // If the instruction requires a register in a different class, >>>>>>>> create >>>>>>>> // a new virtual register and copy the value into it, but first >>>>>>>> attempt to >>>&g...
2015 Aug 25
2
[LLVMdev] TableGen Register Class not matching for MI in 3.6
...t;>>>>>>>> vreg?"); >>>>>>>>> const MCInstrDesc &MCID = MIB->getDesc(); >>>>>>>>> bool isOptDef = IIOpNum < MCID.getNumOperands() && >>>>>>>>> MCID.OpInfo[IIOpNum].isOptionalDef(); >>>>>>>>> // If the instruction requires a register in a different class, >>>>>>>>> create >>>>>>>>> // a new virtual register and copy the value into it, but first >>>>>>>>> attempt t...
2015 Aug 25
2
[LLVMdev] TableGen Register Class not matching for MI in 3.6
...t;>>>>> vreg?"); >>>>>>>>>> const MCInstrDesc &MCID = MIB->getDesc(); >>>>>>>>>> bool isOptDef = IIOpNum < MCID.getNumOperands() && >>>>>>>>>> MCID.OpInfo[IIOpNum].isOptionalDef(); >>>>>>>>>> // If the instruction requires a register in a different class, >>>>>>>>>> create >>>>>>>>>> // a new virtual register and copy the value into it, but first >>>>>>>>&g...
2015 Aug 25
2
[LLVMdev] TableGen Register Class not matching for MI in 3.6
...t;>> vreg?"); >>>>>>>>>>> const MCInstrDesc &MCID = MIB->getDesc(); >>>>>>>>>>> bool isOptDef = IIOpNum < MCID.getNumOperands() && >>>>>>>>>>> MCID.OpInfo[IIOpNum].isOptionalDef(); >>>>>>>>>>> // If the instruction requires a register in a different >>>>>>>>>>> class, create >>>>>>>>>>> // a new virtual register and copy the value into it, but >>>>>>>...