Displaying 1 result from an estimated 1 matches for "extractvectorclass".
2011 Mar 31
3
[LLVMdev] Assert in VerifySDNode
...CisVT<2, i32>
]>;
def IL_vextract : SDNode<"AMDILISD::VEXTRACT", SDTIL_GenVecExtract>;
defm VEXTRACT : VectorExtract<IL_vextract>;
// Class that handles the various vector extract patterns
multiclass VectorExtract<SDNode OpNode> {
...
def _v4i32 : ExtractVectorClass<GPRI32, GPRV4I32, OpNode>;
...
}
class ExtractVectorClass<RegisterClass DReg, RegisterClass SReg, SDNode OpNode>
: ILFormat<IL_OP_MOV, (outs DReg:$dst), (ins SReg:$src0, i32imm:$src1),
"mov $dst, $src0",
[(set DReg:$dst, (OpNode SReg:$src0, timm:$src1))]>;
clas...