| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeIntegerTypes.cpp | 2807 Lo = DAG.getSelect(dl, NVT, isShort, LoS, LoL); in ExpandShiftWithUnknownAmountBit() 2808 Hi = DAG.getSelect(dl, NVT, isZero, InH, in ExpandShiftWithUnknownAmountBit() 2824 Lo = DAG.getSelect(dl, NVT, isZero, InL, in ExpandShiftWithUnknownAmountBit() 2826 Hi = DAG.getSelect(dl, NVT, isShort, HiS, HiL); in ExpandShiftWithUnknownAmountBit() 2840 Lo = DAG.getSelect(dl, NVT, isZero, InL, in ExpandShiftWithUnknownAmountBit() 3000 SDValue Carry1 = DAG.getSelect(dl, NVT, Cmp1, in ExpandIntRes_ADDSUB() 3005 SDValue Carry2 = DAG.getSelect(dl, NVT, Cmp2, in ExpandIntRes_ADDSUB() 3312 Lo = DAG.getSelect(dl, NVT, HiIsNeg, NegLo, Lo); in ExpandIntRes_ABS() 3313 Hi = DAG.getSelect(dl, NVT, HiIsNeg, NegHi, Hi); in ExpandIntRes_ABS() 3329 Lo = DAG.getSelect(dl, NVT, HiNotZero, HiLZ, in ExpandIntRes_CTLZ() [all …]
|
| H A D | LegalizeVectorOps.cpp | 747 Results.push_back(DAG.getSelect(SDLoc(Node), Node->getValueType(0), SetCC, in Expand() 953 Mask = DAG.getSelect(DL, BitTy, Mask, DAG.getAllOnesConstant(DL, BitTy), in ExpandSELECT() 1309 return DAG.getSelect(DL, Node->getValueType(0), FullMask, Op1, Op2); in ExpandVP_MERGE() 1613 ScalarResult = DAG.getSelect(dl, EltVT, ScalarResult, in UnrollStrictFPOp() 1647 Ops[i] = DAG.getSelect(dl, EltVT, Ops[i], DAG.getAllOnesConstant(dl, EltVT), in UnrollVSETCC()
|
| H A D | TargetLowering.cpp | 6078 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV() 7463 SDValue FltOfs = DAG.getSelect(dl, SrcVT, Sel, in expandFP_TO_UINT() 7466 SDValue IntOfs = DAG.getSelect(dl, DstVT, Sel, in expandFP_TO_UINT() 7494 Result = DAG.getSelect(dl, DstVT, Sel, True, False); in expandFP_TO_UINT() 7941 return DAG.getSelect(dl, VT, SrcIsZero, in expandCTLZ() 7990 return DAG.getSelect(dl, VT, SrcIsZero, in expandCTTZ() 8858 return DAG.getSelect(DL, VT, Cond, Op0, Op1); in expandIntMINMAX() 8923 return DAG.getSelect(dl, VT, Overflow, AllOnes, SumDiff); in expandAddSubSat() 8934 return DAG.getSelect(dl, VT, Overflow, Zero, SumDiff); in expandAddSubSat() 8943 return DAG.getSelect(dl, VT, Overflow, Result, SumDiff); in expandAddSubSat() [all …]
|
| H A D | LegalizeDAG.cpp | 1615 return DAG.getSelect(DL, FloatVT, Cond, NegValue, AbsValue); in ExpandFCOPYSIGN() 2435 SDValue InCvt = DAG.getSelect(dl, SrcVT, SignBitTest, Or, Op0); in ExpandLegalINT_TO_FP() 2455 return DAG.getSelect(dl, DestVT, SignBitTest, Slow, Fast); in ExpandLegalINT_TO_FP() 2481 SDValue CstOffset = DAG.getSelect(dl, Zero.getValueType(), in ExpandLegalINT_TO_FP() 3708 Results.push_back(DAG.getSelect(dl, VT, Cond, Tmp3, Tmp4)); in ExpandNode() 4636 Tmp1 = DAG.getSelect(dl, NVT, Tmp1, Tmp2, Tmp3); in PromoteNode()
|
| H A D | DAGCombiner.cpp | 2234 return DAG.getSelect(SDLoc(N), VT, Cond, F0, NewBO); in foldSelectWithIdentityConstant() 2240 return DAG.getSelect(SDLoc(N), VT, Cond, NewBO, F0); in foldSelectWithIdentityConstant() 4425 Sra = DAG.getSelect(DL, VT, IsOneOrAllOnes, N0, Sra); in visitSDIVLike() 4434 SDValue Res = DAG.getSelect(DL, VT, IsNeg, Sub, Sra); in visitSDIVLike() 10444 SDValue SelectOp = DAG.getSelect(DL, VT, F, N2, N1); in visitSELECT() 10857 return DAG.getSelect(DL, VT, F, N2, N1); in visitVSELECT() 11309 return DAG.getSelect(DL, VT, N0->getOperand(0), Ext1, Ext2); in tryToFoldExtendSelectLoad() 11356 return DAG.getSelect(DL, VT, N0->getOperand(0), in tryToFoldExtendOfConstant() 11964 return DAG.getSelect(DL, VT, SetCC, ExtTrueVal, Zero); in foldSextSetcc() 15626 return DAG.getSelect(DL, VT, N0.getOperand(0), in visitSINT_TO_FP() [all …]
|
| H A D | LegalizeVectorTypes.cpp | 513 return DAG.getSelect(SDLoc(N), in ScalarizeVecRes_VSELECT() 520 return DAG.getSelect(SDLoc(N), in ScalarizeVecRes_SELECT() 5396 Scalars[i] = DAG.getSelect(dl, EltVT, Scalars[i], in WidenVecRes_STRICT_FSETCC() 6101 Scalars[i] = DAG.getSelect(dl, EltVT, Scalars[i], in WidenVecOp_STRICT_FSETCC()
|
| H A D | LegalizeFloatTypes.cpp | 732 return DAG.getSelect(SDLoc(N), in SoftenFloatRes_SELECT() 2811 return DAG.getSelect(SDLoc(N), Op1.getValueType(), N->getOperand(0), Op1, in SoftPromoteHalfRes_SELECT()
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelLowering.cpp | 1265 LoBitsForHi = DAG.getSelect(dl, MVT::i32, SetCC, Zero, LoBitsForHi); in LowerSHL_PARTS() 1277 DAG.getSelect(dl, MVT::i32, SetCC, HiForBigShift, HiForNormalShift); in LowerSHL_PARTS() 1282 SDValue Lo = DAG.getSelect( in LowerSHL_PARTS() 1315 Hi = DAG.getSelect(dl, MVT::i32, SetCC, Zero, Hi); in LowerSRL_PARTS() 1318 Lo = DAG.getSelect(dl, MVT::i32, SetCC, Hi, Lo); in LowerSRL_PARTS() 1322 Lo = DAG.getSelect(dl, MVT::i32, ShiftIsZero, Lo, in LowerSRL_PARTS()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 126 return ConstantExpr::getSelect(CC, TC, FC); in FoldSelect()
|
| H A D | Constants.h | 1190 static Constant *getSelect(Constant *C, Constant *V1, Constant *V2,
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 136 return Fold(ConstantExpr::getSelect(CC, TC, FC)); in FoldSelect()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | GVN.cpp | 228 static AvailableValue getSelect(SelectInst *Sel) { in getSelect() function 293 static AvailableValueInBlock getSelect(BasicBlock *BB, SelectInst *Sel) { in getSelect() function 294 return get(BB, AvailableValue::getSelect(Sel)); in getSelect() 1134 return AvailableValue::getSelect(Sel); in tryToConvertLoadOfPtrSelect()
|
| H A D | InferAddressSpaces.cpp | 702 return ConstantExpr::getSelect( in cloneConstantExprWithNewAddressSpace()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantsTest.cpp | 274 CHECK(ConstantExpr::getSelect(P3, P0, P4), in TEST()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 599 return ConstantExpr::getSelect(Cond, TrueVal->getOperand(1), V2); in ConstantFoldSelectInstruction() 604 return ConstantExpr::getSelect(Cond, V1, FalseVal->getOperand(2)); in ConstantFoldSelectInstruction()
|
| H A D | Constants.cpp | 1481 return ConstantExpr::getSelect(Ops[0], Ops[1], Ops[2], OnlyIfReducedTy); in getWithOperands() 2442 Constant *ConstantExpr::getSelect(Constant *C, Constant *V1, Constant *V2, in getSelect() function in ConstantExpr 2699 return getSelect(Cmp, C1, C2); in getUMin()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 9955 SDValue Select = DAG.getSelect(dl, ImmVT, Cond, in LowerBUILD_VECTORvXi1() 19579 return DAG.getSelect(dl, VT, Mask, LHS, RHS); in LowerVSELECT() 25385 V = DAG.getSelect(dl, WideVT, In, NegOne, Zero); in LowerSIGN_EXTEND_Mask() 30036 return DAG.getSelect(dl, VT, ZAmt, R, Res); in LowerShift() 30059 Res = DAG.getSelect(dl, VT, Amt0, R, Res); in LowerShift() 30060 return DAG.getSelect(dl, VT, Amt1, Sra1, Res); in LowerShift() 30218 return DAG.getSelect(dl, SelVT, C, V0, V1); in LowerShift() 30336 return DAG.getSelect(dl, VT, C, V0, V1); in LowerShift() 30733 return DAG.getSelect(DL, SelVT, C, V0, V1); in LowerRotate() 44904 return DAG.getSelect(DL, VT, CondNew, RHS, LHS); in combineSelect() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 1345 return DAG.getSelect(dl, ResTy, VecV, True, False); in extendHvxVectorPred() 1381 SDValue Sel = DAG.getSelect(dl, VecTy, VecQ, DAG.getBitcast(VecTy, Bytes), in compressHvxPred()
|
| H A D | HexagonISelLowering.cpp | 1102 DAG.getSelect(dl, WideTy, PredOp, in LowerVSELECT() 2825 Rs[i] = DAG.getSelect(dl, MVT::i32, Ops[i/Rep], S, Z); in LowerBUILD_VECTOR()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 2268 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
|
| H A D | ConstantFolding.cpp | 1090 return ConstantExpr::getSelect(Ops[0], Ops[1], Ops[2]); in ConstantFoldInstOperandsImpl()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 1314 Constant *Target = ConstantExpr::getSelect( in replaceWeakDeclarationWithJumpTablePtr()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 1110 SDValue getSelect(const SDLoc &DL, EVT VT, SDValue Cond, SDValue LHS,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 989 Constant *NewC = ConstantExpr::getSelect(CondC, C0, C1); in reassociateMinMaxWithConstants()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 1847 Truncated = DAG.getSelect(DL, VT, NeedAdjust, Adjust, Truncated); in lowerFTRUNC_FCEIL_FFLOOR() 1856 Truncated = DAG.getSelect(DL, VT, NeedAdjust, Adjust, Truncated); in lowerFTRUNC_FCEIL_FFLOOR() 1875 return DAG.getSelect(DL, VT, Setcc, Truncated, Src); in lowerFTRUNC_FCEIL_FFLOOR() 1927 return DAG.getSelect(DL, VT, Setcc, Truncated, Src); in lowerFROUND()
|