Lines Matching refs:Src0
306 Operand *Src0 = Instr->getSrc(0); in genTargetHelperCallFor() local
316 Context.insert<InstExtractElement>(Op0, Src0, Index); in genTargetHelperCallFor()
333 Operand *Src0 = Instr->getSrc(0); in genTargetHelperCallFor() local
335 const Type SrcType = Src0->getType(); in genTargetHelperCallFor()
344 Context.insert<InstExtractElement>(Op0, Src0, Index); in genTargetHelperCallFor()
421 Operand *Src0 = Instr->getSrc(0); in genTargetHelperCallFor() local
422 const Type SrcTy = Src0->getType(); in genTargetHelperCallFor()
435 Context.insert<InstExtractElement>(Op, Src0, Index); in genTargetHelperCallFor()
475 Call->addArg(Src0); in genTargetHelperCallFor()
504 Call->addArg(Src0); in genTargetHelperCallFor()
532 Context.insert<InstCast>(InstCast::Zext, Src0AsI32, Src0); in genTargetHelperCallFor()
533 Src0 = Src0AsI32; in genTargetHelperCallFor()
540 Context.insert<InstCast>(InstCast::Zext, Src0AsI32, Src0); in genTargetHelperCallFor()
541 Src0 = Src0AsI32; in genTargetHelperCallFor()
546 Call->addArg(Src0); in genTargetHelperCallFor()
587 Operand *Src0 = IntrinsicCall->getArg(0); in genTargetHelperCallFor() local
605 Context.insert<InstExtractElement>(Op, Src0, Index); in genTargetHelperCallFor()
746 Operand *Src0 = IntrinsicCall->getArg(0); in genTargetHelperCallFor() local
748 Ctx->getRuntimeHelperFunc(isInt32Asserting32Or64(Src0->getType()) in genTargetHelperCallFor()
754 Call->addArg(Src0); in genTargetHelperCallFor()
2177 Operand *Src0 = NumSrcs < 1 ? nullptr : CurInstr->getSrc(0); in postLowerLegalization() local
2179 auto *Src0V = llvm::dyn_cast_or_null<Variable>(Src0); in postLowerLegalization()
2180 auto *Src0M = llvm::dyn_cast_or_null<OperandMIPS32Mem>(Src0); in postLowerLegalization()
2466 Variable *Dest, Operand *Src0, in lowerInt64Arithmetic() argument
2481 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2483 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2496 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2498 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2508 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2510 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2523 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2525 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2535 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2537 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2549 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2551 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2580 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2583 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2589 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2606 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2608 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2639 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2642 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2659 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2661 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2693 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2696 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2713 Src0LoR = legalizeToReg(loOperand(Src0)); in lowerInt64Arithmetic()
2715 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerInt64Arithmetic()
2762 Operand *Src0 = legalizeUndef(Instr->getSrc(0)); in lowerArithmetic() local
2765 lowerInt64Arithmetic(Instr, Instr->getDest(), Src0, Src1); in lowerArithmetic()
2774 Variable *Src0R = legalizeToReg(Src0); in lowerArithmetic()
3059 Operand *Src0 = legalizeUndef(Instr->getSrc(0)); in lowerAssign() local
3064 legalize(getOperandAtIndex(Src0, IceType_i32, i), Legal_Reg); in lowerAssign()
3071 Operand *Src0 = Instr->getSrc(0); in lowerAssign() local
3072 assert(Dest->getType() == Src0->getType()); in lowerAssign()
3074 Src0 = legalizeUndef(Src0); in lowerAssign()
3075 Operand *Src0Lo = legalize(loOperand(Src0), Legal_Reg); in lowerAssign()
3076 Operand *Src0Hi = legalize(hiOperand(Src0), Legal_Reg); in lowerAssign()
3091 SrcR = legalize(Src0, Legal_Reg, Dest->getRegNum()); in lowerAssign()
3096 SrcR = legalize(Src0, Legal_Reg); in lowerAssign()
3120 Operand *Src0 = CompareInst->getSrc(0); in lowerBr() local
3122 const Type Src0Ty = Src0->getType(); in lowerBr()
3130 Src0R = legalizeToReg(loOperand(Src0)); in lowerBr()
3132 Src0HiR = legalizeToReg(hiOperand(Src0)); in lowerBr()
3135 auto *Src0RT = legalizeToReg(Src0); in lowerBr()
3643 Operand *Src0 = legalizeUndef(Instr->getSrc(0)); in lowerCast() local
3645 const Type Src0Ty = Src0->getType(); in lowerCast()
3667 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3689 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3705 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3721 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3733 Src0 = loOperand(Src0); in lowerCast()
3734 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3755 assert(Src0->getType() == IceType_f64); in lowerCast()
3757 auto *Src0R = legalizeToReg(Src0); in lowerCast()
3764 assert(Src0->getType() == IceType_f32); in lowerCast()
3766 auto *Src0R = legalizeToReg(Src0); in lowerCast()
3779 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3786 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3803 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3833 Operand *Src0 = Instr->getSrc(0); in lowerCast() local
3834 if (DestTy == Src0->getType()) { in lowerCast()
3835 auto *Assign = InstAssign::create(Func, Dest, Src0); in lowerCast()
3839 if (isVectorType(DestTy) || isVectorType(Src0->getType())) { in lowerCast()
3852 assert(Src0->getType() == IceType_v8i1); in lowerCast()
3857 assert(Src0->getType() == IceType_v16i1); in lowerCast()
3863 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3868 assert(Src0->getType() == IceType_f64); in lowerCast()
3869 Variable *Src0R = legalizeToReg(Src0); in lowerCast()
3882 assert(Src0->getType() == IceType_i64); in lowerCast()
3884 if (auto *C64 = llvm::dyn_cast<ConstantInteger64>(Src0)) { in lowerCast()
3893 auto *Var64On32 = llvm::cast<Variable64On32>(Src0); in lowerCast()
3916 auto *Src0 = legalizeUndef(Instr->getSrc(0)); in lowerExtractElement() local
3917 auto *Src0R = llvm::dyn_cast<VariableVecOn32>(Src0); in lowerExtractElement()
3920 typeNumElements(Src0->getType()) / Src0R->ContainersPerVector; in lowerExtractElement()
3979 auto *Src0 = Instr->getSrc(0); in lowerFcmp() local
3985 auto *Src0R = legalizeToReg(Src0); in lowerFcmp()
3987 const Type Src0Ty = Src0->getType(); in lowerFcmp()
4168 Operand *Src0 = legalize(Instr->getSrc(0)); in lower64Icmp() local
4173 Variable *Src0LoR = legalizeToReg(loOperand(Src0)); in lower64Icmp()
4174 Variable *Src0HiR = legalizeToReg(hiOperand(Src0)); in lower64Icmp()
4314 auto *Src0 = Instr->getSrc(0); in lowerIcmp() local
4316 if (Src0->getType() == IceType_i64) { in lowerIcmp()
4326 auto *Src0R = legalizeToReg(Src0); in lowerIcmp()
4329 const uint32_t ShAmt = INT32_BITS - getScalarIntBitWidth(Src0->getType()); in lowerIcmp()
4428 auto *Src0 = legalizeUndef(Instr->getSrc(0)); in lowerInsertElement() local
4429 auto *Src0R = llvm::dyn_cast<VariableVecOn32>(Src0); in lowerInsertElement()
4432 typeNumElements(Src0->getType()) / Src0R->ContainersPerVector; in lowerInsertElement()
4539 Variable *Dest, Variable *Src0, in createArithInst() argument
4547 _addu(Dest, Src0, Src1); in createArithInst()
4550 _and(Dest, Src0, Src1); in createArithInst()
4553 _subu(Dest, Src0, Src1); in createArithInst()
4556 _or(Dest, Src0, Src1); in createArithInst()
4559 _xor(Dest, Src0, Src1); in createArithInst()
5213 Operand *Src0 = formMemoryOperand(Instr->getSourceAddress(), Ty); in lowerLoad() local
5215 auto *Assign = InstAssign::create(Func, DestLoad, Src0); in lowerLoad()
5311 Operand *Src0 = ArithInst->getSrc(0); in matchOffsetBase() local
5313 auto *Var0 = llvm::dyn_cast<Variable>(Src0); in matchOffsetBase()
5315 auto *Const0 = llvm::dyn_cast<ConstantInteger32>(Src0); in matchOffsetBase()
5321 assert(llvm::isa<ConstantRelocatable>(Src0)); in matchOffsetBase()
5462 Operand *Src0 = Instr->getRetValue(); in lowerRet() local
5463 switch (Src0->getType()) { in lowerRet()
5465 Operand *Src0F = legalizeToReg(Src0); in lowerRet()
5471 Operand *Src0F = legalizeToReg(Src0); in lowerRet()
5480 Operand *Src0F = legalizeToReg(Src0); in lowerRet()
5486 Src0 = legalizeUndef(Src0); in lowerRet()
5487 Variable *R0 = legalizeToReg(loOperand(Src0), RegMIPS32::Reg_V0); in lowerRet()
5488 Variable *R1 = legalizeToReg(hiOperand(Src0), RegMIPS32::Reg_V1); in lowerRet()
5499 auto *SrcVec = llvm::dyn_cast<VariableVecOn32>(legalizeUndef(Src0)); in lowerRet()
5515 auto *SrcVec = llvm::dyn_cast<VariableVecOn32>(legalizeUndef(Src0)); in lowerRet()