Lines Matching refs:ISD
591 static void InitCmpLibcallCCs(ISD::CondCode *CCs) { in InitCmpLibcallCCs()
592 memset(CCs, ISD::SETCC_INVALID, sizeof(ISD::CondCode)*RTLIB::UNKNOWN_LIBCALL); in InitCmpLibcallCCs()
593 CCs[RTLIB::OEQ_F32] = ISD::SETEQ; in InitCmpLibcallCCs()
594 CCs[RTLIB::OEQ_F64] = ISD::SETEQ; in InitCmpLibcallCCs()
595 CCs[RTLIB::OEQ_F128] = ISD::SETEQ; in InitCmpLibcallCCs()
596 CCs[RTLIB::UNE_F32] = ISD::SETNE; in InitCmpLibcallCCs()
597 CCs[RTLIB::UNE_F64] = ISD::SETNE; in InitCmpLibcallCCs()
598 CCs[RTLIB::UNE_F128] = ISD::SETNE; in InitCmpLibcallCCs()
599 CCs[RTLIB::OGE_F32] = ISD::SETGE; in InitCmpLibcallCCs()
600 CCs[RTLIB::OGE_F64] = ISD::SETGE; in InitCmpLibcallCCs()
601 CCs[RTLIB::OGE_F128] = ISD::SETGE; in InitCmpLibcallCCs()
602 CCs[RTLIB::OLT_F32] = ISD::SETLT; in InitCmpLibcallCCs()
603 CCs[RTLIB::OLT_F64] = ISD::SETLT; in InitCmpLibcallCCs()
604 CCs[RTLIB::OLT_F128] = ISD::SETLT; in InitCmpLibcallCCs()
605 CCs[RTLIB::OLE_F32] = ISD::SETLE; in InitCmpLibcallCCs()
606 CCs[RTLIB::OLE_F64] = ISD::SETLE; in InitCmpLibcallCCs()
607 CCs[RTLIB::OLE_F128] = ISD::SETLE; in InitCmpLibcallCCs()
608 CCs[RTLIB::OGT_F32] = ISD::SETGT; in InitCmpLibcallCCs()
609 CCs[RTLIB::OGT_F64] = ISD::SETGT; in InitCmpLibcallCCs()
610 CCs[RTLIB::OGT_F128] = ISD::SETGT; in InitCmpLibcallCCs()
611 CCs[RTLIB::UO_F32] = ISD::SETNE; in InitCmpLibcallCCs()
612 CCs[RTLIB::UO_F64] = ISD::SETNE; in InitCmpLibcallCCs()
613 CCs[RTLIB::UO_F128] = ISD::SETNE; in InitCmpLibcallCCs()
614 CCs[RTLIB::O_F32] = ISD::SETEQ; in InitCmpLibcallCCs()
615 CCs[RTLIB::O_F64] = ISD::SETEQ; in InitCmpLibcallCCs()
616 CCs[RTLIB::O_F128] = ISD::SETEQ; in InitCmpLibcallCCs()
633 for (unsigned IM = (unsigned)ISD::PRE_INC; in TargetLoweringBase()
634 IM != (unsigned)ISD::LAST_INDEXED_MODE; ++IM) { in TargetLoweringBase()
640 setOperationAction(ISD::FGETSIGN, (MVT::SimpleValueType)VT, Expand); in TargetLoweringBase()
641 setOperationAction(ISD::CONCAT_VECTORS, (MVT::SimpleValueType)VT, Expand); in TargetLoweringBase()
645 setOperationAction(ISD::PREFETCH, MVT::Other, Expand); in TargetLoweringBase()
650 setOperationAction(ISD::ConstantFP, MVT::f16, Expand); in TargetLoweringBase()
651 setOperationAction(ISD::ConstantFP, MVT::f32, Expand); in TargetLoweringBase()
652 setOperationAction(ISD::ConstantFP, MVT::f64, Expand); in TargetLoweringBase()
653 setOperationAction(ISD::ConstantFP, MVT::f80, Expand); in TargetLoweringBase()
654 setOperationAction(ISD::ConstantFP, MVT::f128, Expand); in TargetLoweringBase()
657 setOperationAction(ISD::FLOG , MVT::f16, Expand); in TargetLoweringBase()
658 setOperationAction(ISD::FLOG2, MVT::f16, Expand); in TargetLoweringBase()
659 setOperationAction(ISD::FLOG10, MVT::f16, Expand); in TargetLoweringBase()
660 setOperationAction(ISD::FEXP , MVT::f16, Expand); in TargetLoweringBase()
661 setOperationAction(ISD::FEXP2, MVT::f16, Expand); in TargetLoweringBase()
662 setOperationAction(ISD::FFLOOR, MVT::f16, Expand); in TargetLoweringBase()
663 setOperationAction(ISD::FNEARBYINT, MVT::f16, Expand); in TargetLoweringBase()
664 setOperationAction(ISD::FCEIL, MVT::f16, Expand); in TargetLoweringBase()
665 setOperationAction(ISD::FRINT, MVT::f16, Expand); in TargetLoweringBase()
666 setOperationAction(ISD::FTRUNC, MVT::f16, Expand); in TargetLoweringBase()
667 setOperationAction(ISD::FLOG , MVT::f32, Expand); in TargetLoweringBase()
668 setOperationAction(ISD::FLOG2, MVT::f32, Expand); in TargetLoweringBase()
669 setOperationAction(ISD::FLOG10, MVT::f32, Expand); in TargetLoweringBase()
670 setOperationAction(ISD::FEXP , MVT::f32, Expand); in TargetLoweringBase()
671 setOperationAction(ISD::FEXP2, MVT::f32, Expand); in TargetLoweringBase()
672 setOperationAction(ISD::FFLOOR, MVT::f32, Expand); in TargetLoweringBase()
673 setOperationAction(ISD::FNEARBYINT, MVT::f32, Expand); in TargetLoweringBase()
674 setOperationAction(ISD::FCEIL, MVT::f32, Expand); in TargetLoweringBase()
675 setOperationAction(ISD::FRINT, MVT::f32, Expand); in TargetLoweringBase()
676 setOperationAction(ISD::FTRUNC, MVT::f32, Expand); in TargetLoweringBase()
677 setOperationAction(ISD::FLOG , MVT::f64, Expand); in TargetLoweringBase()
678 setOperationAction(ISD::FLOG2, MVT::f64, Expand); in TargetLoweringBase()
679 setOperationAction(ISD::FLOG10, MVT::f64, Expand); in TargetLoweringBase()
680 setOperationAction(ISD::FEXP , MVT::f64, Expand); in TargetLoweringBase()
681 setOperationAction(ISD::FEXP2, MVT::f64, Expand); in TargetLoweringBase()
682 setOperationAction(ISD::FFLOOR, MVT::f64, Expand); in TargetLoweringBase()
683 setOperationAction(ISD::FNEARBYINT, MVT::f64, Expand); in TargetLoweringBase()
684 setOperationAction(ISD::FCEIL, MVT::f64, Expand); in TargetLoweringBase()
685 setOperationAction(ISD::FRINT, MVT::f64, Expand); in TargetLoweringBase()
686 setOperationAction(ISD::FTRUNC, MVT::f64, Expand); in TargetLoweringBase()
687 setOperationAction(ISD::FLOG , MVT::f128, Expand); in TargetLoweringBase()
688 setOperationAction(ISD::FLOG2, MVT::f128, Expand); in TargetLoweringBase()
689 setOperationAction(ISD::FLOG10, MVT::f128, Expand); in TargetLoweringBase()
690 setOperationAction(ISD::FEXP , MVT::f128, Expand); in TargetLoweringBase()
691 setOperationAction(ISD::FEXP2, MVT::f128, Expand); in TargetLoweringBase()
692 setOperationAction(ISD::FFLOOR, MVT::f128, Expand); in TargetLoweringBase()
693 setOperationAction(ISD::FNEARBYINT, MVT::f128, Expand); in TargetLoweringBase()
694 setOperationAction(ISD::FCEIL, MVT::f128, Expand); in TargetLoweringBase()
695 setOperationAction(ISD::FRINT, MVT::f128, Expand); in TargetLoweringBase()
696 setOperationAction(ISD::FTRUNC, MVT::f128, Expand); in TargetLoweringBase()
699 setOperationAction(ISD::TRAP, MVT::Other, Expand); in TargetLoweringBase()
704 setOperationAction(ISD::DEBUGTRAP, MVT::Other, Expand); in TargetLoweringBase()
765 case ISD::FDIV: in canOpTrap()
766 case ISD::FREM: in canOpTrap()
767 case ISD::SDIV: in canOpTrap()
768 case ISD::UDIV: in canOpTrap()
769 case ISD::SREM: in canOpTrap()
770 case ISD::UREM: in canOpTrap()
1121 SmallVectorImpl<ISD::OutputArg> &Outs, in GetReturnInfo()
1130 ISD::NodeType ExtendKind = ISD::ANY_EXTEND; in GetReturnInfo()
1133 ExtendKind = ISD::SIGN_EXTEND; in GetReturnInfo()
1135 ExtendKind = ISD::ZERO_EXTEND; in GetReturnInfo()
1141 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) { in GetReturnInfo()
1151 ISD::ArgFlagsTy Flags = ISD::ArgFlagsTy(); in GetReturnInfo()
1162 Outs.push_back(ISD::OutputArg(Flags, PartVT, /*isFixed=*/true, 0, 0)); in GetReturnInfo()
1191 case Add: return ISD::ADD; in InstructionOpcodeToISD()
1192 case FAdd: return ISD::FADD; in InstructionOpcodeToISD()
1193 case Sub: return ISD::SUB; in InstructionOpcodeToISD()
1194 case FSub: return ISD::FSUB; in InstructionOpcodeToISD()
1195 case Mul: return ISD::MUL; in InstructionOpcodeToISD()
1196 case FMul: return ISD::FMUL; in InstructionOpcodeToISD()
1197 case UDiv: return ISD::UDIV; in InstructionOpcodeToISD()
1198 case SDiv: return ISD::UDIV; in InstructionOpcodeToISD()
1199 case FDiv: return ISD::FDIV; in InstructionOpcodeToISD()
1200 case URem: return ISD::UREM; in InstructionOpcodeToISD()
1201 case SRem: return ISD::SREM; in InstructionOpcodeToISD()
1202 case FRem: return ISD::FREM; in InstructionOpcodeToISD()
1203 case Shl: return ISD::SHL; in InstructionOpcodeToISD()
1204 case LShr: return ISD::SRL; in InstructionOpcodeToISD()
1205 case AShr: return ISD::SRA; in InstructionOpcodeToISD()
1206 case And: return ISD::AND; in InstructionOpcodeToISD()
1207 case Or: return ISD::OR; in InstructionOpcodeToISD()
1208 case Xor: return ISD::XOR; in InstructionOpcodeToISD()
1210 case Load: return ISD::LOAD; in InstructionOpcodeToISD()
1211 case Store: return ISD::STORE; in InstructionOpcodeToISD()
1216 case Trunc: return ISD::TRUNCATE; in InstructionOpcodeToISD()
1217 case ZExt: return ISD::ZERO_EXTEND; in InstructionOpcodeToISD()
1218 case SExt: return ISD::SIGN_EXTEND; in InstructionOpcodeToISD()
1219 case FPToUI: return ISD::FP_TO_UINT; in InstructionOpcodeToISD()
1220 case FPToSI: return ISD::FP_TO_SINT; in InstructionOpcodeToISD()
1221 case UIToFP: return ISD::UINT_TO_FP; in InstructionOpcodeToISD()
1222 case SIToFP: return ISD::SINT_TO_FP; in InstructionOpcodeToISD()
1223 case FPTrunc: return ISD::FP_ROUND; in InstructionOpcodeToISD()
1224 case FPExt: return ISD::FP_EXTEND; in InstructionOpcodeToISD()
1225 case PtrToInt: return ISD::BITCAST; in InstructionOpcodeToISD()
1226 case IntToPtr: return ISD::BITCAST; in InstructionOpcodeToISD()
1227 case BitCast: return ISD::BITCAST; in InstructionOpcodeToISD()
1228 case ICmp: return ISD::SETCC; in InstructionOpcodeToISD()
1229 case FCmp: return ISD::SETCC; in InstructionOpcodeToISD()
1232 case Select: return ISD::SELECT; in InstructionOpcodeToISD()
1236 case ExtractElement: return ISD::EXTRACT_VECTOR_ELT; in InstructionOpcodeToISD()
1237 case InsertElement: return ISD::INSERT_VECTOR_ELT; in InstructionOpcodeToISD()
1238 case ShuffleVector: return ISD::VECTOR_SHUFFLE; in InstructionOpcodeToISD()
1239 case ExtractValue: return ISD::MERGE_VALUES; in InstructionOpcodeToISD()
1240 case InsertValue: return ISD::MERGE_VALUES; in InstructionOpcodeToISD()