/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 520 EVT WideVT = TLI.getPointerTy(DAG.getDataLayout()); in ExpandLoad() local 522 assert(WideVT.isRound() && in ExpandLoad() 525 assert(WideVT.bitsGE(SrcEltVT) && in ExpandLoad() 528 unsigned WideBytes = WideVT.getStoreSize(); in ExpandLoad() 538 ScalarLoad = DAG.getLoad(WideVT, dl, Chain, BasePTR, in ExpandLoad() 545 EVT LoadVT = WideVT; in ExpandLoad() 550 ScalarLoad = DAG.getExtLoad(ISD::EXTLOAD, dl, WideVT, Chain, BasePTR, in ExpandLoad() 570 SDValue SrcEltBitMask = DAG.getConstant((1U << SrcEltBits) - 1, dl, WideVT); in ExpandLoad() 574 unsigned WideBits = WideVT.getSizeInBits(); in ExpandLoad() 581 BitOffset, dl, TLI.getShiftAmountTy(WideVT, DAG.getDataLayout())); in ExpandLoad() [all …]
|
D | LegalizeDAG.cpp | 3378 EVT WideVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits() * 2); in ExpandNode() local 3394 } else if (TLI.isTypeLegal(WideVT)) { in ExpandNode() 3395 LHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, LHS); in ExpandNode() 3396 RHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, RHS); in ExpandNode() 3397 Tmp1 = DAG.getNode(ISD::MUL, dl, WideVT, LHS, RHS); in ExpandNode() 3408 if (WideVT == MVT::i16) in ExpandNode() 3410 else if (WideVT == MVT::i32) in ExpandNode() 3412 else if (WideVT == MVT::i64) in ExpandNode() 3414 else if (WideVT == MVT::i128) in ExpandNode() 3435 SDValue Ret = ExpandLibCall(LC, WideVT, Args, 4, isSigned, dl); in ExpandNode()
|
D | LegalizeTypes.cpp | 1137 EVT WideVT = EVT::getVectorVT(*DAG.getContext(), BoolVT.getScalarType(), in WidenTargetBoolean() local 1139 Bool = ModifyToType(Bool, WideVT, WithZeroes); in WidenTargetBoolean()
|
D | LegalizeVectorTypes.cpp | 2904 EVT WideVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in WidenVecRes_MGATHER() local 2907 unsigned NumElts = WideVT.getVectorNumElements(); in WidenVecRes_MGATHER() 2911 Mask = WidenTargetBoolean(Mask, WideVT, true); in WidenVecRes_MGATHER() 2920 SDValue Res = DAG.getMaskedGather(DAG.getVTList(WideVT, MVT::Other), in WidenVecRes_MGATHER() 3342 EVT WideVT = WideVal.getValueType(); in WidenVecOp_MSCATTER() local 3347 Mask = WidenTargetBoolean(Mask, WideVT, true); in WidenVecOp_MSCATTER()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 3213 EVT WideVT = MVT::i32; in lowerATOMIC_LOAD_OP() local 3214 if (NarrowVT == WideVT) in lowerATOMIC_LOAD_OP() 3240 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_LOAD_OP() 3244 SDValue NegBitShift = DAG.getNode(ISD::SUB, DL, WideVT, in lowerATOMIC_LOAD_OP() 3245 DAG.getConstant(0, DL, WideVT), BitShift); in lowerATOMIC_LOAD_OP() 3253 Src2 = DAG.getNode(ISD::SHL, DL, WideVT, Src2, in lowerATOMIC_LOAD_OP() 3254 DAG.getConstant(32 - BitSize, DL, WideVT)); in lowerATOMIC_LOAD_OP() 3257 Src2 = DAG.getNode(ISD::OR, DL, WideVT, Src2, in lowerATOMIC_LOAD_OP() 3258 DAG.getConstant(uint32_t(-1) >> BitSize, DL, WideVT)); in lowerATOMIC_LOAD_OP() 3261 SDVTList VTList = DAG.getVTList(WideVT, MVT::Other); in lowerATOMIC_LOAD_OP() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 3601 EVT WideVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits() * 2); in ExpandNode() local 3619 LHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, LHS); in ExpandNode() 3620 RHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, RHS); in ExpandNode() 3621 Tmp1 = DAG.getNode(ISD::MUL, dl, WideVT, LHS, RHS); in ExpandNode() 3632 if (WideVT == MVT::i16) in ExpandNode() 3634 else if (WideVT == MVT::i32) in ExpandNode() 3636 else if (WideVT == MVT::i64) in ExpandNode() 3638 else if (WideVT == MVT::i128) in ExpandNode() 3655 SDValue Ret = ExpandLibCall(LC, WideVT, Args, 4, isSigned, dl); in ExpandNode()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 1284 EVT WideVT = RegSeq.getOperand(1)->getValueType(0); in SelectLoadLane() local 1288 SDValue NV = CurDAG->getTargetExtractSubreg(QSubs[i], dl, WideVT, SuperReg); in SelectLoadLane() 1336 EVT WideVT = RegSeq.getOperand(1)->getValueType(0); in SelectPostLoadLane() local 1340 SDValue NV = CurDAG->getTargetExtractSubreg(QSubs[i], dl, WideVT, in SelectPostLoadLane()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 2965 EVT WideVT = MVT::i128; in LowerUMULO_SMULO() local 2980 RTLIB::MUL_I128, WideVT, in LowerUMULO_SMULO()
|