| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXProxyRegErasure.cpp | 65 auto &InOp = *MI.uses().begin(); in runOnMachineFunction() local 67 assert(InOp.isReg() && "ProxyReg input should be a register."); in runOnMachineFunction() 70 Register replacement = InOp.getReg(); in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 410 SDValue InOp = N->getOperand(0); in ScalarizeVecRes_BUILD_VECTOR() local 414 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), EltVT, InOp); in ScalarizeVecRes_BUILD_VECTOR() 415 return InOp; in ScalarizeVecRes_BUILD_VECTOR() 558 SDValue InOp = N->getOperand(0); in ScalarizeVecRes_SCALAR_TO_VECTOR() local 559 if (InOp.getValueType() != EltVT) in ScalarizeVecRes_SCALAR_TO_VECTOR() 560 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), EltVT, InOp); in ScalarizeVecRes_SCALAR_TO_VECTOR() 561 return InOp; in ScalarizeVecRes_SCALAR_TO_VECTOR() 1552 SDValue InOp = N->getOperand(0); in SplitVecRes_BITCAST() local 1553 EVT InVT = InOp.getValueType(); in SplitVecRes_BITCAST() 1571 GetExpandedOp(InOp, Lo, Hi); in SplitVecRes_BITCAST() [all …]
|
| H A D | LegalizeTypesGeneric.cpp | 43 SDValue InOp = N->getOperand(0); in ExpandRes_BITCAST() local 44 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 57 SplitInteger(GetSoftenedFloat(InOp), Lo, Hi); in ExpandRes_BITCAST() 65 GetExpandedOp(InOp, Lo, Hi); in ExpandRes_BITCAST() 74 GetSplitVector(InOp, Lo, Hi); in ExpandRes_BITCAST() 82 SplitInteger(BitConvertToInteger(GetScalarizedVector(InOp)), Lo, Hi); in ExpandRes_BITCAST() 90 InOp = GetWidenedVector(InOp); in ExpandRes_BITCAST() 93 std::tie(Lo, Hi) = DAG.SplitVector(InOp, dl, LoVT, HiVT); in ExpandRes_BITCAST() 121 SDValue CastInOp = DAG.getNode(ISD::BITCAST, dl, NVT, InOp); in ExpandRes_BITCAST() 171 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo); in ExpandRes_BITCAST()
|
| H A D | LegalizeIntegerTypes.cpp | 480 SDValue InOp = N->getOperand(0); in PromoteIntRes_BITCAST() local 481 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST() 493 return DAG.getNode(ISD::BITCAST, dl, NOutVT, GetPromotedInteger(InOp)); in PromoteIntRes_BITCAST() 497 return DAG.getNode(ISD::ANY_EXTEND, dl, NOutVT, GetSoftenedFloat(InOp)); in PromoteIntRes_BITCAST() 500 return DAG.getNode(ISD::ANY_EXTEND, dl, NOutVT, GetSoftPromotedHalf(InOp)); in PromoteIntRes_BITCAST() 504 return DAG.getNode(ISD::FP_TO_FP16, dl, NOutVT, GetPromotedFloat(InOp)); in PromoteIntRes_BITCAST() 514 BitConvertToInteger(GetScalarizedVector(InOp))); in PromoteIntRes_BITCAST() 530 InOp = DAG.getNode(ISD::ANY_EXTEND, dl, in PromoteIntRes_BITCAST() 534 return DAG.getNode(ISD::BITCAST, dl, NOutVT, InOp); in PromoteIntRes_BITCAST() 544 DAG.getNode(ISD::BITCAST, dl, NOutVT, GetWidenedVector(InOp)); in PromoteIntRes_BITCAST() [all …]
|
| H A D | LegalizeTypes.h | 1178 SDValue ModifyToType(SDValue InOp, EVT NVT, bool FillWithZeroes = false);
|
| H A D | DAGCombiner.cpp | 23610 SDValue InOp = VecOp.getOperand(0); in visitEXTRACT_VECTOR_ELT() local 23611 if (InOp.getValueType() != ScalarVT) { in visitEXTRACT_VECTOR_ELT() 23612 assert(InOp.getValueType().isInteger() && ScalarVT.isInteger()); in visitEXTRACT_VECTOR_ELT() 23613 if (InOp.getValueType().bitsGT(ScalarVT)) in visitEXTRACT_VECTOR_ELT() 23614 return DAG.getNode(ISD::TRUNCATE, DL, ScalarVT, InOp); in visitEXTRACT_VECTOR_ELT() 23615 return DAG.getNode(ISD::ANY_EXTEND, DL, ScalarVT, InOp); in visitEXTRACT_VECTOR_ELT() 23617 return InOp; in visitEXTRACT_VECTOR_ELT() 23754 SDValue InOp = SVInVec.getOperand(OrigElt); in visitEXTRACT_VECTOR_ELT() local 23755 if (InOp.getValueType() != ScalarVT) { in visitEXTRACT_VECTOR_ELT() 23756 assert(InOp.getValueType().isInteger() && ScalarVT.isInteger()); in visitEXTRACT_VECTOR_ELT() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | GlobalISelCombinerEmitter.cpp | 1814 for (const auto &[Idx, InOp] : enumerate(PF.out_params())) { in emitPatFragMatchPattern() 1815 if (InOp.Kind != PatFrag::PK_Root) in emitPatFragMatchPattern() 1818 StringRef ParamName = InOp.Name; in emitPatFragMatchPattern()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 6824 SDValue InOp = Op.getOperand(IsStrict ? 1 : 0); in lower_FP_TO_INT() local 6826 EVT InVT = InOp.getValueType(); in lower_FP_TO_INT() 6837 if (InOp.getSimpleValueType() == MVT::f16) { in lower_FP_TO_INT() 6846 return useLibCall(DAG, LC, VT, InOp, DL, Chain, IsStrict); in lower_FP_TO_INT() 6859 SDValue InOp = Op.getOperand(IsStrict ? 1 : 0); in lower_INT_TO_FP() local 6861 EVT InVT = InOp.getValueType(); in lower_INT_TO_FP() 6877 return useLibCall(DAG, LC, VT, InOp, DL, Chain, IsStrict); in lower_INT_TO_FP() 7315 SDValue InOp = N->getOperand(IsStrict ? 1 : 0); in LowerOperationWrapper() local 7320 SDValue OpF32 = DAG.getNode(N->getOpcode(), DL, MVT::f32, InOp); in LowerOperationWrapper() 7325 {Chain, InOp}); in LowerOperationWrapper() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64SVEInstrInfo.td | 4034 multiclass binary_bitwise<ValueType VT, SDPatternOperator InOp, SDPatternOperator OutOp> { 4035 def : Pat<(InOp VT:$op1, VT:$op2), (OutOp $op1, $op2)>; 4037 def : Pat<(SVEType<VT>.DSub (InOp V64:$op1, V64:$op2)), 4041 def : Pat<(SVEType<VT>.ZSub (InOp V128:$op1, V128:$op2)),
|
| H A D | AArch64InstrInfo.td | 10800 multiclass PromoteUnaryv8f16Tov4f32<SDPatternOperator InOp, Instruction OutInst> { 10802 def : Pat<(InOp (v8f16 V128:$Rn)), 10812 def : Pat<(InOp (v8bf16 V128:$Rn)), 10822 def : Pat<(InOp (v8bf16 V128:$Rn)), 10837 multiclass PromoteBinaryv8f16Tov4f32<SDPatternOperator InOp, Instruction OutInst> { 10839 def : Pat<(InOp (v8f16 V128:$Rn), (v8f16 V128:$Rm)), 10851 def : Pat<(InOp (v8bf16 V128:$Rn), (v8bf16 V128:$Rm)), 10863 def : Pat<(InOp (v8bf16 V128:$Rn), (v8bf16 V128:$Rm)),
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 33119 static SDValue ExtendToType(SDValue InOp, MVT NVT, SelectionDAG &DAG, in ExtendToType() argument 33122 MVT InVT = InOp.getSimpleValueType(); in ExtendToType() 33124 return InOp; in ExtendToType() 33126 if (InOp.isUndef()) in ExtendToType() 33137 SDLoc dl(InOp); in ExtendToType() 33138 if (InOp.getOpcode() == ISD::CONCAT_VECTORS && InOp.getNumOperands() == 2) { in ExtendToType() 33139 SDValue N1 = InOp.getOperand(1); in ExtendToType() 33142 InOp = InOp.getOperand(0); in ExtendToType() 33143 InVT = InOp.getSimpleValueType(); in ExtendToType() 33147 if (ISD::isBuildVectorOfConstantSDNodes(InOp.getNode()) || in ExtendToType() [all …]
|