Home | History | Annotate | Download | only in src

Lines Matching refs:getSrc

569   const Operand *Src = this->getSrc(0);
694 Dest = getSrc(0);
695 assert(Dest == getSrc(0));
696 Operand *Src1 = getSrc(1);
1023 Str << " = movmsk." << this->getSrc(0)->getType() << " ";
1033 Type SrcTy = this->getSrc(0)->getType();
1050 this->getSrc(0)->emit(Func);
1060 const Variable *Src = llvm::cast<Variable>(this->getSrc(0));
1082 Type Ty = this->getSrc(0)->getType();
1086 this->getSrc(0)->emit(Func);
1097 Operand *Src1 = this->getSrc(1);
1105 const Operand *Src = this->getSrc(1);
1117 Operand *Src1 = this->getSrc(1);
1125 const Operand *Src = this->getSrc(1);
1140 assert(llvm::cast<Variable>(Instr->getSrc(2))->getRegNum() ==
1143 Instr->getSrc(1)->emit(Func);
1152 assert(llvm::cast<Variable>(Instr->getSrc(2))->getRegNum() ==
1155 const Operand *Src = Instr->getSrc(1);
1196 const auto *Src0Var = llvm::dyn_cast<Variable>(this->getSrc(0));
1201 this->getSrc(1)->emit(Func);
1202 } else if (llvm::isa<Constant>(this->getSrc(1))) {
1205 this->getSrc(1)->emit(Func);
1207 this->getSrc(0)->emit(Func);
1220 const Operand *Src = this->getSrc(1);
1223 const auto *Src0Var = llvm::dyn_cast<Variable>(this->getSrc(0));
1227 emitIASOpTyGPR(Func, Ty, this->getSrc(1), Emitter);
1231 assert(Var == this->getSrc(0));
1247 assert(llvm::isa<Constant>(this->getSrc(1)));
1250 this->getSrc(1)->emit(Func);
1252 this->getSrc(0)->emit(Func);
1262 assert(llvm::isa<Constant>(this->getSrc(1)));
1266 Traits::getEncodedGPR>(Func, Ty, Dest, this->getSrc(0),
1267 this->getSrc(1), Emitter);
1275 assert(Dest == this->getSrc(0));
1280 Traits::getEncodedXmm>(Func, Ty, Dest, this->getSrc(1),
1281 this->getSrc(2), Emitter);
1290 Operand *Src0 = this->getSrc(0);
1331 Operand *Src0 = this->getSrc(0);
1370 assert(llvm::isa<Variable>(this->getSrc(0)));
1371 assert(llvm::cast<Variable>(this->getSrc(0))->getRegNum() ==
1378 this->getSrc(1)->emit(Func);
1384 assert(llvm::isa<Variable>(this->getSrc(0)));
1385 assert(llvm::cast<Variable>(this->getSrc(0))->getRegNum() ==
1390 const Operand *Src = this->getSrc(1);
1413 assert(Dest == this->getSrc(0));
1416 this->getSrc(2)->emit(Func);
1418 this->getSrc(1)->emit(Func);
1426 assert(this->getDest() == this->getSrc(0));
1428 const Operand *Src1 = this->getSrc(1);
1429 const Operand *Src2 = this->getSrc(2);
1451 assert(Dest == this->getSrc(0));
1454 this->getSrc(2)->emit(Func);
1456 this->getSrc(1)->emit(Func);
1464 assert(this->getDest() == this->getSrc(0));
1466 const Operand *Src1 = this->getSrc(1);
1467 const Operand *Src2 = this->getSrc(2);
1493 this->getSrc(1)->emit(Func);
1503 Operand *Src = this->getSrc(1);
1551 this->getSrc(1)->emit(Func);
1563 assert(llvm::isa<Variable>(this->getSrc(1)));
1565 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(1));
1601 "cmpxchg" << this->getWidthString(this->getSrc(0)->getType()) << "\t";
1602 this->getSrc(2)->emit(Func);
1604 this->getSrc(0)->emit(Func);
1611 Type Ty = this->getSrc(0)->getType();
1613 const auto Mem = llvm::cast<X86OperandMem>(this->getSrc(0));
1616 const auto *VarReg = llvm::cast<Variable>(this->getSrc(2));
1630 Str << "cmpxchg." << this->getSrc(0)->getType() << " ";
1646 this->getSrc(0)->emit(Func);
1653 const auto Mem = llvm::cast<X86OperandMem>(this->getSrc(0));
1682 Str << Traits::TypeAttributes[this->getSrc(0)->getType()].CvtString << "2"
1684 this->getSrc(0)->emit(Func);
1693 const Operand *Src = this->getSrc(0);
1787 Str << Traits::TypeAttributes[this->getSrc(0)->getType()].CvtString << "2"
1800 this->getSrc(1)->emit(Func);
1802 this->getSrc(0)->emit(Func);
1816 Traits::getEncodedXmm>(Func, Ty, Dest, this->getSrc(0),
1817 this->getSrc(1), Emitter);
1827 "cmp" << this->getWidthString(this->getSrc(0)->getType()) << "\t";
1828 this->getSrc(1)->emit(Func);
1830 this->getSrc(0)->emit(Func);
1836 const Operand *Src0 = this->getSrc(0);
1837 const Operand *Src1 = this->getSrc(1);
1858 Str << "cmp." << this->getSrc(0)->getType() << " ";
1870 << Traits::TypeAttributes[this->getSrc(0)->getType()].SdSsString << "\t";
1871 this->getSrc(1)->emit(Func);
1873 this->getSrc(0)->emit(Func);
1881 assert(llvm::isa<Variable>(this->getSrc(0)));
1882 const auto *Src0Var = llvm::cast<Variable>(this->getSrc(0));
1886 emitIASRegOpTyXMM(Func, Ty, Src0Var, this->getSrc(1), Emitter);
1894 Str << "ucomiss." << this->getSrc(0)->getType() << " ";
1953 "test" << this->getWidthString(this->getSrc(0)->getType()) << "\t";
1954 this->getSrc(1)->emit(Func);
1956 this->getSrc(0)->emit(Func);
1962 const Operand *Src0 = this->getSrc(0);
1963 const Operand *Src1 = this->getSrc(1);
1985 Str << "test." << this->getSrc(0)->getType() << " ";
2019 Type Ty = this->getSrc(0)->getType();
2023 this->getSrc(0)->emit(Func);
2025 this->getSrc(1)->emit(Func);
2031 const Operand *Dest = this->getSrc(1);
2032 const Operand *Src = this->getSrc(0);
2064 Str << "mov." << this->getSrc(0)->getType() << " ";
2065 this->getSrc(1)->dump(Func);
2067 this->getSrc(0)->dump(Func);
2076 assert(isVectorType(this->getSrc(1)->getType()));
2079 this->getSrc(0)->emit(Func);
2081 this->getSrc(1)->emit(Func);
2088 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(0));
2089 const auto DestMem = llvm::cast<X86OperandMem>(this->getSrc(1));
2102 Str << "storep." << this->getSrc(0)->getType() << " ";
2103 this->getSrc(1)->dump(Func);
2105 this->getSrc(0)->dump(Func);
2114 assert(this->getSrc(1)->getType() == IceType_i64 ||
2115 this->getSrc(1)->getType() == IceType_f64 ||
2116 isVectorType(this->getSrc(1)->getType()));
2119 this->getSrc(0)->emit(Func);
2121 this->getSrc(1)->emit(Func);
2128 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(0));
2129 const auto DestMem = llvm::cast<X86OperandMem>(this->getSrc(1));
2142 Str << "storeq." << this->getSrc(0)->getType() << " ";
2143 this->getSrc(1)->dump(Func);
2145 this->getSrc(0)->dump(Func);
2154 assert(this->getSrc(1)->getType() == IceType_i64 ||
2155 this->getSrc(1)->getType() == IceType_f64 ||
2156 isVectorType(this->getSrc(1)->getType()));
2159 this->getSrc(0)->emit(Func);
2161 this->getSrc(1)->emit(Func);
2168 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(0));
2169 const auto DestMem = llvm::cast<X86OperandMem>(this->getSrc(1));
2182 Str << "stored." << this->getSrc(0)->getType() << " ";
2183 this->getSrc(1)->dump(Func);
2185 this->getSrc(0)->dump(Func);
2202 Operand *Src0 = this->getSrc(0);
2222 Operand *Src = this->getSrc(0);
2261 const Operand *Src = this->getSrc(0);
2333 Operand *Src = this->getSrc(0);
2359 if (const auto *SrcVar = llvm::dyn_cast<Variable>(this->getSrc(0))) {
2395 auto *Mem = llvm::cast<X86OperandMem>(this->getSrc(0));
2411 this->getSrc(0)->emit(Func);
2421 const Operand *Src = this->getSrc(0);
2438 this->getSrc(0)->emit(Func);
2450 const Operand *Src = this->getSrc(0);
2462 assert(Dest == this->getSrc(0));
2463 const auto *SrcVar = llvm::cast<Variable>(this->getSrc(1));
2474 const Operand *Src = this->getSrc(0);
2517 const Operand *Src = this->getSrc(0);
2544 const Operand *Src = this->getSrc(0);
2589 Type Ty = this->getSrc(0)->getType();
2590 const auto *Var = llvm::dyn_cast<Variable>(this->getSrc(0));
2606 this->getSrc(0)->emit(Func);
2613 const Operand *Src = this->getSrc(0);
2644 Str << "fld." << this->getSrc(0)->getType() << " ";
2727 << Traits::TypeAttributes[this->getSrc(0)->getType()].IntegralString
2729 this->getSrc(1)->emit(Func);
2731 this->getSrc(0)->emit(Func);
2746 Type DispatchTy = Traits::getInVectorElementType(this->getSrc(0)->getType());
2752 assert(llvm::cast<Variable>(this->getSrc(0))->hasReg());
2757 Func, DispatchTy, Dest, this->getSrc(0), this->getSrc(1), Emitter);
2769 this->getSrc(2)->emit(Func);
2771 Operand *Src1 = this->getSrc(1);
2791 assert(this->getDest() == this->getSrc(0));
2793 const Operand *Src0 = this->getSrc(1);
2814 Src0, this->getSrc(2), Emitter);
2825 Traits::getEncodedXmm>(Func, Ty, Dest, this->getSrc(0),
2826 this->getSrc(1), Emitter);
2833 assert(Dest == this->getSrc(0));
2838 Traits::getEncodedXmm>(Func, Ty, Dest, this->getSrc(1),
2839 this->getSrc(2), Emitter);
2883 const Operand *Src = this->getSrc(0);
2892 const Operand *Src = this->getSrc(0);
2910 Str << "push." << this->getSrc(0)->getType() << " ";
2935 (this->getSrcSize() == 0 ? IceType_void : this->getSrc(0)->getType());
2984 "xadd" << this->getWidthString(this->getSrc(0)->getType()) << "\t";
2985 this->getSrc(1)->emit(Func);
2987 this->getSrc(0)->emit(Func);
2994 Type Ty = this->getSrc(0)->getType();
2995 const auto Mem = llvm::cast<X86OperandMem>(this->getSrc(0));
2999 const auto *VarReg = llvm::cast<Variable>(this->getSrc(1));
3013 Type Ty = this->getSrc(0)->getType();
3024 "xchg" << this->getWidthString(this->getSrc(0)->getType()) << "\t";
3025 this->getSrc(1)->emit(Func);
3027 this->getSrc(0)->emit(Func);
3034 Type Ty = this->getSrc(0)->getType();
3035 const auto *VarReg1 = llvm::cast<Variable>(this->getSrc(1));
3039 if (const auto *VarReg0 = llvm::dyn_cast<Variable>(this->getSrc(0))) {
3046 const auto *Mem = llvm::cast<X86OperandMem>(this->getSrc(0));
3058 Type Ty = this->getSrc(0)->getType();