Lines Matching refs:getSrc
569 const Operand *Src = this->getSrc(0); in emit()
694 Dest = getSrc(0); in emitTwoAddress()
695 assert(Dest == getSrc(0)); in emitTwoAddress()
696 Operand *Src1 = getSrc(1); in emitTwoAddress()
1023 Str << " = movmsk." << this->getSrc(0)->getType() << " "; in dump()
1033 Type SrcTy = this->getSrc(0)->getType(); in emit()
1050 this->getSrc(0)->emit(Func); in emit()
1060 const Variable *Src = llvm::cast<Variable>(this->getSrc(0)); in emitIAS()
1082 Type Ty = this->getSrc(0)->getType(); in emit()
1086 this->getSrc(0)->emit(Func); in emit()
1097 Operand *Src1 = this->getSrc(1); in emit()
1105 const Operand *Src = this->getSrc(1); in emitIAS()
1117 Operand *Src1 = this->getSrc(1); in emit()
1125 const Operand *Src = this->getSrc(1); in emitIAS()
1140 assert(llvm::cast<Variable>(Instr->getSrc(2))->getRegNum() == in emitVariableBlendInst()
1143 Instr->getSrc(1)->emit(Func); in emitVariableBlendInst()
1152 assert(llvm::cast<Variable>(Instr->getSrc(2))->getRegNum() == in emitIASVariableBlendInst()
1155 const Operand *Src = Instr->getSrc(1); in emitIASVariableBlendInst()
1196 const auto *Src0Var = llvm::dyn_cast<Variable>(this->getSrc(0)); in emit()
1201 this->getSrc(1)->emit(Func); in emit()
1202 } else if (llvm::isa<Constant>(this->getSrc(1))) { in emit()
1205 this->getSrc(1)->emit(Func); in emit()
1207 this->getSrc(0)->emit(Func); in emit()
1220 const Operand *Src = this->getSrc(1); in emitIAS()
1223 const auto *Src0Var = llvm::dyn_cast<Variable>(this->getSrc(0)); in emitIAS()
1227 emitIASOpTyGPR(Func, Ty, this->getSrc(1), Emitter); in emitIAS()
1231 assert(Var == this->getSrc(0)); in emitIAS()
1247 assert(llvm::isa<Constant>(this->getSrc(1))); in emit()
1250 this->getSrc(1)->emit(Func); in emit()
1252 this->getSrc(0)->emit(Func); in emit()
1262 assert(llvm::isa<Constant>(this->getSrc(1))); in emitIAS()
1266 Traits::getEncodedGPR>(Func, Ty, Dest, this->getSrc(0), in emitIAS()
1267 this->getSrc(1), Emitter); in emitIAS()
1275 assert(Dest == this->getSrc(0)); in emitIAS()
1280 Traits::getEncodedXmm>(Func, Ty, Dest, this->getSrc(1), in emitIAS()
1281 this->getSrc(2), Emitter); in emitIAS()
1290 Operand *Src0 = this->getSrc(0); in emit()
1331 Operand *Src0 = this->getSrc(0); in emitIAS()
1370 assert(llvm::isa<Variable>(this->getSrc(0))); in emit()
1371 assert(llvm::cast<Variable>(this->getSrc(0))->getRegNum() == in emit()
1378 this->getSrc(1)->emit(Func); in emit()
1384 assert(llvm::isa<Variable>(this->getSrc(0))); in emitIAS()
1385 assert(llvm::cast<Variable>(this->getSrc(0))->getRegNum() == in emitIAS()
1390 const Operand *Src = this->getSrc(1); in emitIAS()
1413 assert(Dest == this->getSrc(0)); in emit()
1416 this->getSrc(2)->emit(Func); in emit()
1418 this->getSrc(1)->emit(Func); in emit()
1426 assert(this->getDest() == this->getSrc(0)); in emitIAS()
1428 const Operand *Src1 = this->getSrc(1); in emitIAS()
1429 const Operand *Src2 = this->getSrc(2); in emitIAS()
1451 assert(Dest == this->getSrc(0)); in emit()
1454 this->getSrc(2)->emit(Func); in emit()
1456 this->getSrc(1)->emit(Func); in emit()
1464 assert(this->getDest() == this->getSrc(0)); in emitIAS()
1466 const Operand *Src1 = this->getSrc(1); in emitIAS()
1467 const Operand *Src2 = this->getSrc(2); in emitIAS()
1493 this->getSrc(1)->emit(Func); in emit()
1503 Operand *Src = this->getSrc(1); in emitIAS()
1551 this->getSrc(1)->emit(Func); in emit()
1563 assert(llvm::isa<Variable>(this->getSrc(1))); in emitIAS()
1565 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(1)); in emitIAS()
1601 "cmpxchg" << this->getWidthString(this->getSrc(0)->getType()) << "\t"; in emit()
1602 this->getSrc(2)->emit(Func); in emit()
1604 this->getSrc(0)->emit(Func); in emit()
1611 Type Ty = this->getSrc(0)->getType(); in emitIAS()
1613 const auto Mem = llvm::cast<X86OperandMem>(this->getSrc(0)); in emitIAS()
1616 const auto *VarReg = llvm::cast<Variable>(this->getSrc(2)); in emitIAS()
1630 Str << "cmpxchg." << this->getSrc(0)->getType() << " "; in dump()
1646 this->getSrc(0)->emit(Func); in emit()
1653 const auto Mem = llvm::cast<X86OperandMem>(this->getSrc(0)); in emitIAS()
1682 Str << Traits::TypeAttributes[this->getSrc(0)->getType()].CvtString << "2" in emit()
1684 this->getSrc(0)->emit(Func); in emit()
1693 const Operand *Src = this->getSrc(0); in emitIAS()
1787 Str << Traits::TypeAttributes[this->getSrc(0)->getType()].CvtString << "2" in dump()
1800 this->getSrc(1)->emit(Func); in emit()
1802 this->getSrc(0)->emit(Func); in emit()
1816 Traits::getEncodedXmm>(Func, Ty, Dest, this->getSrc(0), in emitIAS()
1817 this->getSrc(1), Emitter); in emitIAS()
1827 "cmp" << this->getWidthString(this->getSrc(0)->getType()) << "\t"; in emit()
1828 this->getSrc(1)->emit(Func); in emit()
1830 this->getSrc(0)->emit(Func); in emit()
1836 const Operand *Src0 = this->getSrc(0); in emitIAS()
1837 const Operand *Src1 = this->getSrc(1); in emitIAS()
1858 Str << "cmp." << this->getSrc(0)->getType() << " "; in dump()
1870 << Traits::TypeAttributes[this->getSrc(0)->getType()].SdSsString << "\t"; in emit()
1871 this->getSrc(1)->emit(Func); in emit()
1873 this->getSrc(0)->emit(Func); in emit()
1881 assert(llvm::isa<Variable>(this->getSrc(0))); in emitIAS()
1882 const auto *Src0Var = llvm::cast<Variable>(this->getSrc(0)); in emitIAS()
1886 emitIASRegOpTyXMM(Func, Ty, Src0Var, this->getSrc(1), Emitter); in emitIAS()
1894 Str << "ucomiss." << this->getSrc(0)->getType() << " "; in dump()
1953 "test" << this->getWidthString(this->getSrc(0)->getType()) << "\t"; in emit()
1954 this->getSrc(1)->emit(Func); in emit()
1956 this->getSrc(0)->emit(Func); in emit()
1962 const Operand *Src0 = this->getSrc(0); in emitIAS()
1963 const Operand *Src1 = this->getSrc(1); in emitIAS()
1985 Str << "test." << this->getSrc(0)->getType() << " "; in dump()
2019 Type Ty = this->getSrc(0)->getType(); in emit()
2023 this->getSrc(0)->emit(Func); in emit()
2025 this->getSrc(1)->emit(Func); in emit()
2031 const Operand *Dest = this->getSrc(1); in emitIAS()
2032 const Operand *Src = this->getSrc(0); in emitIAS()
2064 Str << "mov." << this->getSrc(0)->getType() << " "; in dump()
2065 this->getSrc(1)->dump(Func); in dump()
2067 this->getSrc(0)->dump(Func); in dump()
2076 assert(isVectorType(this->getSrc(1)->getType())); in emit()
2079 this->getSrc(0)->emit(Func); in emit()
2081 this->getSrc(1)->emit(Func); in emit()
2088 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(0)); in emitIAS()
2089 const auto DestMem = llvm::cast<X86OperandMem>(this->getSrc(1)); in emitIAS()
2102 Str << "storep." << this->getSrc(0)->getType() << " "; in dump()
2103 this->getSrc(1)->dump(Func); in dump()
2105 this->getSrc(0)->dump(Func); in dump()
2114 assert(this->getSrc(1)->getType() == IceType_i64 || in emit()
2115 this->getSrc(1)->getType() == IceType_f64 || in emit()
2116 isVectorType(this->getSrc(1)->getType())); in emit()
2119 this->getSrc(0)->emit(Func); in emit()
2121 this->getSrc(1)->emit(Func); in emit()
2128 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(0)); in emitIAS()
2129 const auto DestMem = llvm::cast<X86OperandMem>(this->getSrc(1)); in emitIAS()
2142 Str << "storeq." << this->getSrc(0)->getType() << " "; in dump()
2143 this->getSrc(1)->dump(Func); in dump()
2145 this->getSrc(0)->dump(Func); in dump()
2154 assert(this->getSrc(1)->getType() == IceType_i64 || in emit()
2155 this->getSrc(1)->getType() == IceType_f64 || in emit()
2156 isVectorType(this->getSrc(1)->getType())); in emit()
2159 this->getSrc(0)->emit(Func); in emit()
2161 this->getSrc(1)->emit(Func); in emit()
2168 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(0)); in emitIAS()
2169 const auto DestMem = llvm::cast<X86OperandMem>(this->getSrc(1)); in emitIAS()
2182 Str << "stored." << this->getSrc(0)->getType() << " "; in dump()
2183 this->getSrc(1)->dump(Func); in dump()
2185 this->getSrc(0)->dump(Func); in dump()
2202 Operand *Src0 = this->getSrc(0); in emit()
2222 Operand *Src = this->getSrc(0); in emit()
2261 const Operand *Src = this->getSrc(0); in emitIAS()
2339 Operand *Src = this->getSrc(0); in emit()
2365 if (const auto *SrcVar = llvm::dyn_cast<Variable>(this->getSrc(0))) { in emitIAS()
2401 auto *Mem = llvm::cast<X86OperandMem>(this->getSrc(0)); in emitIAS()
2417 this->getSrc(0)->emit(Func); in emit()
2427 const Operand *Src = this->getSrc(0); in emitIAS()
2444 this->getSrc(0)->emit(Func); in emit()
2456 const Operand *Src = this->getSrc(0); in emitIAS()
2468 assert(Dest == this->getSrc(0)); in emitIAS()
2469 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(1)); in emitIAS()
2480 const Operand *Src = this->getSrc(0); in emitIAS()
2523 const Operand *Src = this->getSrc(0); in emit()
2550 const Operand *Src = this->getSrc(0); in emitIAS()
2595 Type Ty = this->getSrc(0)->getType(); in emit()
2596 const auto *Var = llvm::dyn_cast<Variable>(this->getSrc(0)); in emit()
2612 this->getSrc(0)->emit(Func); in emit()
2619 const Operand *Src = this->getSrc(0); in emitIAS()
2650 Str << "fld." << this->getSrc(0)->getType() << " "; in dump()
2733 << Traits::TypeAttributes[this->getSrc(0)->getType()].IntegralString in emit()
2735 this->getSrc(1)->emit(Func); in emit()
2737 this->getSrc(0)->emit(Func); in emit()
2752 Type DispatchTy = Traits::getInVectorElementType(this->getSrc(0)->getType()); in emitIAS()
2758 assert(llvm::cast<Variable>(this->getSrc(0))->hasReg()); in emitIAS()
2763 Func, DispatchTy, Dest, this->getSrc(0), this->getSrc(1), Emitter); in emitIAS()
2775 this->getSrc(2)->emit(Func); in emit()
2777 Operand *Src1 = this->getSrc(1); in emit()
2797 assert(this->getDest() == this->getSrc(0)); in emitIAS()
2799 const Operand *Src0 = this->getSrc(1); in emitIAS()
2820 Src0, this->getSrc(2), Emitter); in emitIAS()
2831 Traits::getEncodedXmm>(Func, Ty, Dest, this->getSrc(0), in emitIAS()
2832 this->getSrc(1), Emitter); in emitIAS()
2839 assert(Dest == this->getSrc(0)); in emitIAS()
2844 Traits::getEncodedXmm>(Func, Ty, Dest, this->getSrc(1), in emitIAS()
2845 this->getSrc(2), Emitter); in emitIAS()
2889 const Operand *Src = this->getSrc(0); in emit()
2898 const Operand *Src = this->getSrc(0); in emitIAS()
2916 Str << "push." << this->getSrc(0)->getType() << " "; in dump()
2941 (this->getSrcSize() == 0 ? IceType_void : this->getSrc(0)->getType()); in dump()
2990 "xadd" << this->getWidthString(this->getSrc(0)->getType()) << "\t"; in emit()
2991 this->getSrc(1)->emit(Func); in emit()
2993 this->getSrc(0)->emit(Func); in emit()
3000 Type Ty = this->getSrc(0)->getType(); in emitIAS()
3001 const auto Mem = llvm::cast<X86OperandMem>(this->getSrc(0)); in emitIAS()
3005 const auto *VarReg = llvm::cast<Variable>(this->getSrc(1)); in emitIAS()
3019 Type Ty = this->getSrc(0)->getType(); in dump()
3030 "xchg" << this->getWidthString(this->getSrc(0)->getType()) << "\t"; in emit()
3031 this->getSrc(1)->emit(Func); in emit()
3033 this->getSrc(0)->emit(Func); in emit()
3040 Type Ty = this->getSrc(0)->getType(); in emitIAS()
3041 const auto *VarReg1 = llvm::cast<Variable>(this->getSrc(1)); in emitIAS()
3045 if (const auto *VarReg0 = llvm::dyn_cast<Variable>(this->getSrc(0))) { in emitIAS()
3052 const auto *Mem = llvm::cast<X86OperandMem>(this->getSrc(0)); in emitIAS()
3064 Type Ty = this->getSrc(0)->getType(); in dump()