Lines Matching refs:InstArithmetic
359 const InstArithmetic::OpKind Op = in genTargetHelperCallFor()
360 llvm::cast<InstArithmetic>(Instr)->getOp(); in genTargetHelperCallFor()
374 case InstArithmetic::Udiv: in genTargetHelperCallFor()
377 case InstArithmetic::Sdiv: in genTargetHelperCallFor()
380 case InstArithmetic::Urem: in genTargetHelperCallFor()
383 case InstArithmetic::Srem: in genTargetHelperCallFor()
403 if (Op != InstArithmetic::Frem) { in genTargetHelperCallFor()
2282 InstArithmetic::create(Func, InstArithmetic::Add, NewBase, Base, _4)); in getOperandAtIndex()
2327 lowerArithmetic(InstArithmetic::create(Func, InstArithmetic::Add, NewBase, in hiOperand()
2465 void TargetMIPS32::lowerInt64Arithmetic(const InstArithmetic *Instr, in lowerInt64Arithmetic()
2468 InstArithmetic::OpKind Op = Instr->getOp(); in lowerInt64Arithmetic()
2477 case InstArithmetic::_num: in lowerInt64Arithmetic()
2480 case InstArithmetic::Add: { in lowerInt64Arithmetic()
2495 case InstArithmetic::And: { in lowerInt64Arithmetic()
2507 case InstArithmetic::Sub: { in lowerInt64Arithmetic()
2522 case InstArithmetic::Or: { in lowerInt64Arithmetic()
2534 case InstArithmetic::Xor: { in lowerInt64Arithmetic()
2546 case InstArithmetic::Mul: { in lowerInt64Arithmetic()
2568 case InstArithmetic::Shl: { in lowerInt64Arithmetic()
2626 case InstArithmetic::Lshr: { in lowerInt64Arithmetic()
2679 case InstArithmetic::Ashr: { in lowerInt64Arithmetic()
2734 case InstArithmetic::Fadd: in lowerInt64Arithmetic()
2735 case InstArithmetic::Fsub: in lowerInt64Arithmetic()
2736 case InstArithmetic::Fmul: in lowerInt64Arithmetic()
2737 case InstArithmetic::Fdiv: in lowerInt64Arithmetic()
2738 case InstArithmetic::Frem: in lowerInt64Arithmetic()
2741 case InstArithmetic::Udiv: in lowerInt64Arithmetic()
2742 case InstArithmetic::Sdiv: in lowerInt64Arithmetic()
2743 case InstArithmetic::Urem: in lowerInt64Arithmetic()
2744 case InstArithmetic::Srem: in lowerInt64Arithmetic()
2750 void TargetMIPS32::lowerArithmetic(const InstArithmetic *Instr) { in lowerArithmetic()
2780 case InstArithmetic::Add: in lowerArithmetic()
2781 case InstArithmetic::Sub: { in lowerArithmetic()
2791 case InstArithmetic::And: in lowerArithmetic()
2792 case InstArithmetic::Or: in lowerArithmetic()
2793 case InstArithmetic::Xor: in lowerArithmetic()
2794 case InstArithmetic::Shl: in lowerArithmetic()
2795 case InstArithmetic::Lshr: in lowerArithmetic()
2796 case InstArithmetic::Ashr: { in lowerArithmetic()
2813 case InstArithmetic::_num: in lowerArithmetic()
2815 case InstArithmetic::Add: { in lowerArithmetic()
2834 case InstArithmetic::And: in lowerArithmetic()
2842 case InstArithmetic::Or: in lowerArithmetic()
2850 case InstArithmetic::Xor: in lowerArithmetic()
2858 case InstArithmetic::Sub: { in lowerArithmetic()
2877 case InstArithmetic::Mul: { in lowerArithmetic()
2882 case InstArithmetic::Shl: { in lowerArithmetic()
2891 case InstArithmetic::Lshr: { in lowerArithmetic()
2910 case InstArithmetic::Ashr: { in lowerArithmetic()
2929 case InstArithmetic::Udiv: { in lowerArithmetic()
2945 case InstArithmetic::Sdiv: { in lowerArithmetic()
2961 case InstArithmetic::Urem: { in lowerArithmetic()
2977 case InstArithmetic::Srem: { in lowerArithmetic()
2993 case InstArithmetic::Fadd: { in lowerArithmetic()
3006 case InstArithmetic::Fsub: in lowerArithmetic()
3018 case InstArithmetic::Fmul: in lowerArithmetic()
3030 case InstArithmetic::Fdiv: in lowerArithmetic()
3042 case InstArithmetic::Frem: in lowerArithmetic()
3472 InstArithmetic::create(Func, InstArithmetic::Add, NewBase, SP, Loc)); in lowerCall()
5276 bool isAddOrSub(const Inst *Instr, InstArithmetic::OpKind *Kind) { in isAddOrSub()
5277 if (const auto *Arith = llvm::dyn_cast<InstArithmetic>(Instr)) { in isAddOrSub()
5281 case InstArithmetic::Add: in isAddOrSub()
5282 case InstArithmetic::Sub: in isAddOrSub()
5304 auto *ArithInst = llvm::dyn_cast<const InstArithmetic>(BaseInst); in matchOffsetBase()
5307 InstArithmetic::OpKind Kind; in matchOffsetBase()
5310 bool IsAdd = Kind == InstArithmetic::Add; in matchOffsetBase()
5413 const InstArithmetic::OpKind Op = in formAddressingMode()
5414 OffsetImm > 0 ? InstArithmetic::Add : InstArithmetic::Sub; in formAddressingMode()
5419 Context.insert<InstArithmetic>(Op, T, BaseVar, in formAddressingMode()