• Home
  • Raw
  • Download

Lines Matching refs:InstArithmetic

457     const InstArithmetic::OpKind Op =  in genTargetHelperCallFor()
458 llvm::cast<InstArithmetic>(Instr)->getOp(); in genTargetHelperCallFor()
463 case InstArithmetic::Fdiv: in genTargetHelperCallFor()
464 case InstArithmetic::Frem: in genTargetHelperCallFor()
465 case InstArithmetic::Sdiv: in genTargetHelperCallFor()
466 case InstArithmetic::Srem: in genTargetHelperCallFor()
467 case InstArithmetic::Udiv: in genTargetHelperCallFor()
468 case InstArithmetic::Urem: in genTargetHelperCallFor()
485 case InstArithmetic::Udiv: in genTargetHelperCallFor()
488 case InstArithmetic::Sdiv: in genTargetHelperCallFor()
491 case InstArithmetic::Urem: in genTargetHelperCallFor()
494 case InstArithmetic::Srem: in genTargetHelperCallFor()
517 case InstArithmetic::Udiv: in genTargetHelperCallFor()
521 case InstArithmetic::Sdiv: in genTargetHelperCallFor()
525 case InstArithmetic::Urem: in genTargetHelperCallFor()
529 case InstArithmetic::Srem: in genTargetHelperCallFor()
583 if (Op != InstArithmetic::Frem) { in genTargetHelperCallFor()
2146 lowerArithmetic(InstArithmetic::create(Func, InstArithmetic::Add, NewBase, in hiOperand()
2167 lowerArithmetic(InstArithmetic::create(Func, InstArithmetic::Add, in hiOperand()
2349 TargetARM32::lowerInt1Arithmetic(const InstArithmetic *Instr) { in lowerInt1Arithmetic()
2378 case InstArithmetic::And: in lowerInt1Arithmetic()
2381 case InstArithmetic::Or: in lowerInt1Arithmetic()
2384 case InstArithmetic::Xor: in lowerInt1Arithmetic()
2587 void TargetARM32::lowerInt64Arithmetic(InstArithmetic::OpKind Op, in lowerInt64Arithmetic()
2601 case InstArithmetic::_num: in lowerInt64Arithmetic()
2604 case InstArithmetic::Add: { in lowerInt64Arithmetic()
2615 case InstArithmetic::And: { in lowerInt64Arithmetic()
2626 case InstArithmetic::Or: { in lowerInt64Arithmetic()
2637 case InstArithmetic::Xor: { in lowerInt64Arithmetic()
2648 case InstArithmetic::Sub: { in lowerInt64Arithmetic()
2666 case InstArithmetic::Mul: { in lowerInt64Arithmetic()
2701 case InstArithmetic::Shl: { in lowerInt64Arithmetic()
2797 case InstArithmetic::Lshr: in lowerInt64Arithmetic()
2798 case InstArithmetic::Ashr: { in lowerInt64Arithmetic()
2799 const bool ASR = Op == InstArithmetic::Ashr; in lowerInt64Arithmetic()
2909 case InstArithmetic::Fadd: in lowerInt64Arithmetic()
2910 case InstArithmetic::Fsub: in lowerInt64Arithmetic()
2911 case InstArithmetic::Fmul: in lowerInt64Arithmetic()
2912 case InstArithmetic::Fdiv: in lowerInt64Arithmetic()
2913 case InstArithmetic::Frem: in lowerInt64Arithmetic()
2916 case InstArithmetic::Udiv: in lowerInt64Arithmetic()
2917 case InstArithmetic::Sdiv: in lowerInt64Arithmetic()
2918 case InstArithmetic::Urem: in lowerInt64Arithmetic()
2919 case InstArithmetic::Srem: in lowerInt64Arithmetic()
3075 void TargetARM32::lowerArithmetic(const InstArithmetic *Instr) { in lowerArithmetic()
3102 case InstArithmetic::Add: in lowerArithmetic()
3103 case InstArithmetic::And: in lowerArithmetic()
3104 case InstArithmetic::Ashr: in lowerArithmetic()
3105 case InstArithmetic::Fadd: in lowerArithmetic()
3106 case InstArithmetic::Fmul: in lowerArithmetic()
3107 case InstArithmetic::Fsub: in lowerArithmetic()
3108 case InstArithmetic::Lshr: in lowerArithmetic()
3109 case InstArithmetic::Mul: in lowerArithmetic()
3110 case InstArithmetic::Or: in lowerArithmetic()
3111 case InstArithmetic::Shl: in lowerArithmetic()
3112 case InstArithmetic::Sub: in lowerArithmetic()
3113 case InstArithmetic::Xor: in lowerArithmetic()
3128 case InstArithmetic::Udiv: { in lowerArithmetic()
3135 case InstArithmetic::Sdiv: { in lowerArithmetic()
3142 case InstArithmetic::Urem: { in lowerArithmetic()
3149 case InstArithmetic::Srem: { in lowerArithmetic()
3156 case InstArithmetic::Frem: { in lowerArithmetic()
3162 case InstArithmetic::Fadd: { in lowerArithmetic()
3177 case InstArithmetic::Fsub: { in lowerArithmetic()
3191 case InstArithmetic::Fmul: { in lowerArithmetic()
3198 case InstArithmetic::Fdiv: { in lowerArithmetic()
3210 case InstArithmetic::_num: in lowerArithmetic()
3213 case InstArithmetic::Add: { in lowerArithmetic()
3250 case InstArithmetic::And: { in lowerArithmetic()
3273 case InstArithmetic::Or: { in lowerArithmetic()
3286 case InstArithmetic::Xor: { in lowerArithmetic()
3299 case InstArithmetic::Sub: { in lowerArithmetic()
3341 case InstArithmetic::Mul: { in lowerArithmetic()
3431 case InstArithmetic::Shl: { in lowerArithmetic()
3452 case InstArithmetic::Lshr: { in lowerArithmetic()
3478 case InstArithmetic::Ashr: { in lowerArithmetic()
3503 case InstArithmetic::Udiv: in lowerArithmetic()
3504 case InstArithmetic::Sdiv: in lowerArithmetic()
3505 case InstArithmetic::Urem: in lowerArithmetic()
3506 case InstArithmetic::Srem: in lowerArithmetic()
3510 case InstArithmetic::Fadd: in lowerArithmetic()
3511 case InstArithmetic::Fsub: in lowerArithmetic()
3512 case InstArithmetic::Fmul: in lowerArithmetic()
3513 case InstArithmetic::Fdiv: in lowerArithmetic()
3514 case InstArithmetic::Frem: in lowerArithmetic()
3605 const auto *ArithProducer = llvm::cast<InstArithmetic>(Producer); in lowerInt1ForBranch()
3609 case InstArithmetic::And: { in lowerInt1ForBranch()
3632 case InstArithmetic::Or: { in lowerInt1ForBranch()
3770 InstArithmetic::create(Func, InstArithmetic::Add, NewBase, SP, Loc)); in lowerCall()
4864 InstArithmetic *createArithInst(Cfg *Func, uint32_t Operation, Variable *Dest, in createArithInst()
4866 InstArithmetic::OpKind Oper; in createArithInst()
4873 Oper = InstArithmetic::Add; in createArithInst()
4876 Oper = InstArithmetic::And; in createArithInst()
4879 Oper = InstArithmetic::Sub; in createArithInst()
4882 Oper = InstArithmetic::Or; in createArithInst()
4885 Oper = InstArithmetic::Xor; in createArithInst()
4888 return InstArithmetic::create(Func, Oper, Dest, Src0, Src1); in createArithInst()
5551 bool isAddOrSub(const Inst *Instr, InstArithmetic::OpKind *Kind) { in isAddOrSub()
5552 if (const auto *Arith = llvm::dyn_cast<InstArithmetic>(Instr)) { in isAddOrSub()
5556 case InstArithmetic::Add: in isAddOrSub()
5557 case InstArithmetic::Sub: in isAddOrSub()
5592 InstArithmetic::OpKind _; in matchCombinedBaseIndex()
5622 auto *ArithInst = llvm::dyn_cast<InstArithmetic>(IndexInst); in matchShiftedOffsetReg()
5640 case InstArithmetic::Shl: { in matchShiftedOffsetReg()
5646 case InstArithmetic::Lshr: { in matchShiftedOffsetReg()
5652 case InstArithmetic::Ashr: { in matchShiftedOffsetReg()
5658 case InstArithmetic::Udiv: in matchShiftedOffsetReg()
5659 case InstArithmetic::Mul: { in matchShiftedOffsetReg()
5667 NewShiftKind = ArithInst->getOp() == InstArithmetic::Udiv in matchShiftedOffsetReg()
5704 auto *ArithInst = llvm::dyn_cast<const InstArithmetic>(BaseInst); in matchOffsetBase()
5707 InstArithmetic::OpKind Kind; in matchOffsetBase()
5710 bool IsAdd = Kind == InstArithmetic::Add; in matchOffsetBase()
5860 const InstArithmetic::OpKind Op = in formAddressingMode()
5861 OffsetImm > 0 ? InstArithmetic::Add : InstArithmetic::Sub; in formAddressingMode()
5884 Context.insert<InstArithmetic>(Op, T, BaseVar, in formAddressingMode()
6763 const auto *ArithProducer = llvm::cast<InstArithmetic>(Producer); in lowerInt1ForSelect()
6861 const auto *ArithProducer = llvm::cast<InstArithmetic>(Producer); in lowerInt1()
6892 switch (llvm::cast<InstArithmetic>(&Instr)->getOp()) { in shouldTrackProducer()
6895 case InstArithmetic::And: in shouldTrackProducer()
6896 case InstArithmetic::Or: in shouldTrackProducer()
6922 switch (llvm::cast<InstArithmetic>(&Instr)->getOp()) { in isValidConsumer()
6925 case InstArithmetic::And: in isValidConsumer()
6927 case InstArithmetic::Or: in isValidConsumer()
6941 switch (llvm::cast<InstArithmetic>(&Instr)->getOp()) { in shouldTrackProducer()
6944 case InstArithmetic::Fmul: in shouldTrackProducer()
6956 switch (llvm::cast<InstArithmetic>(&Instr)->getOp()) { in isValidConsumer()
6959 case InstArithmetic::Fadd: in isValidConsumer()
6960 case InstArithmetic::Fsub: in isValidConsumer()
6974 switch (llvm::cast<InstArithmetic>(&Instr)->getOp()) { in shouldTrackProducer()
6977 case InstArithmetic::Mul: in shouldTrackProducer()
6989 switch (llvm::cast<InstArithmetic>(&Instr)->getOp()) { in isValidConsumer()
6992 case InstArithmetic::Add: in isValidConsumer()
6993 case InstArithmetic::Sub: in isValidConsumer()