Home
last modified time | relevance | path

Searched refs:InOp (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXProxyRegErasure.cpp98 auto &InOp = *MI.uses().begin(); in replaceMachineInstructionUsage() local
101 assert(InOp.isReg() && "ProxyReg input operand should be a register."); in replaceMachineInstructionUsage()
106 replaceRegisterUsage(I, OutOp, InOp); in replaceMachineInstructionUsage()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp319 SDValue InOp = N->getOperand(0); in ScalarizeVecRes_BUILD_VECTOR() local
323 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), EltVT, InOp); in ScalarizeVecRes_BUILD_VECTOR()
324 return InOp; in ScalarizeVecRes_BUILD_VECTOR()
446 SDValue InOp = N->getOperand(0); in ScalarizeVecRes_SCALAR_TO_VECTOR() local
447 if (InOp.getValueType() != EltVT) in ScalarizeVecRes_SCALAR_TO_VECTOR()
448 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), EltVT, InOp); in ScalarizeVecRes_SCALAR_TO_VECTOR()
449 return InOp; in ScalarizeVecRes_SCALAR_TO_VECTOR()
1292 SDValue InOp = N->getOperand(0); in SplitVecRes_BITCAST() local
1293 EVT InVT = InOp.getValueType(); in SplitVecRes_BITCAST()
1311 GetExpandedOp(InOp, Lo, Hi); in SplitVecRes_BITCAST()
[all …]
H A DLegalizeTypesGeneric.cpp43 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 DLegalizeIntegerTypes.cpp385 SDValue InOp = N->getOperand(0); in PromoteIntRes_BITCAST() local
386 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST()
398 return DAG.getNode(ISD::BITCAST, dl, NOutVT, GetPromotedInteger(InOp)); in PromoteIntRes_BITCAST()
402 return DAG.getNode(ISD::ANY_EXTEND, dl, NOutVT, GetSoftenedFloat(InOp)); in PromoteIntRes_BITCAST()
405 return DAG.getNode(ISD::ANY_EXTEND, dl, NOutVT, GetSoftPromotedHalf(InOp)); in PromoteIntRes_BITCAST()
409 return DAG.getNode(ISD::FP_TO_FP16, dl, NOutVT, GetPromotedFloat(InOp)); in PromoteIntRes_BITCAST()
419 BitConvertToInteger(GetScalarizedVector(InOp))); in PromoteIntRes_BITCAST()
435 InOp = DAG.getNode(ISD::ANY_EXTEND, dl, in PromoteIntRes_BITCAST()
439 return DAG.getNode(ISD::BITCAST, dl, NOutVT, InOp); in PromoteIntRes_BITCAST()
449 DAG.getNode(ISD::BITCAST, dl, NOutVT, GetWidenedVector(InOp)); in PromoteIntRes_BITCAST()
[all …]
H A DLegalizeTypes.h1044 SDValue ModifyToType(SDValue InOp, EVT NVT, bool FillWithZeroes = false);
H A DDAGCombiner.cpp20682 SDValue InOp = VecOp.getOperand(0); in visitEXTRACT_VECTOR_ELT() local
20683 if (InOp.getValueType() != ScalarVT) { in visitEXTRACT_VECTOR_ELT()
20684 assert(InOp.getValueType().isInteger() && ScalarVT.isInteger() && in visitEXTRACT_VECTOR_ELT()
20685 InOp.getValueType().bitsGT(ScalarVT)); in visitEXTRACT_VECTOR_ELT()
20686 return DAG.getNode(ISD::TRUNCATE, DL, ScalarVT, InOp); in visitEXTRACT_VECTOR_ELT()
20688 return InOp; in visitEXTRACT_VECTOR_ELT()
20797 SDValue InOp = SVInVec.getOperand(OrigElt); in visitEXTRACT_VECTOR_ELT() local
20798 if (InOp.getValueType() != ScalarVT) { in visitEXTRACT_VECTOR_ELT()
20799 assert(InOp.getValueType().isInteger() && ScalarVT.isInteger()); in visitEXTRACT_VECTOR_ELT()
20800 InOp = DAG.getSExtOrTrunc(InOp, DL, ScalarVT); in visitEXTRACT_VECTOR_ELT()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp32771 static SDValue ExtendToType(SDValue InOp, MVT NVT, SelectionDAG &DAG, in ExtendToType() argument
32774 MVT InVT = InOp.getSimpleValueType(); in ExtendToType()
32776 return InOp; in ExtendToType()
32778 if (InOp.isUndef()) in ExtendToType()
32789 SDLoc dl(InOp); in ExtendToType()
32790 if (InOp.getOpcode() == ISD::CONCAT_VECTORS && in ExtendToType()
32791 InOp.getNumOperands() == 2) { in ExtendToType()
32792 SDValue N1 = InOp.getOperand(1); in ExtendToType()
32795 InOp = InOp.getOperand(0); in ExtendToType()
32796 InVT = InOp.getSimpleValueType(); in ExtendToType()
[all …]