/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 121 N->getValueType(0)), in SoftenFloatRes_BUILD_PAIR() 129 N->getValueType(0))); in SoftenFloatRes_ConstantFP() 135 NewOp.getValueType().getVectorElementType(), in SoftenFloatRes_EXTRACT_VECTOR_ELT() 140 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FABS() 152 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FADD() 155 return MakeLibCall(GetFPLibCall(N->getValueType(0), in SoftenFloatRes_FADD() 164 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FCEIL() 166 return MakeLibCall(GetFPLibCall(N->getValueType(0), in SoftenFloatRes_FCEIL() 179 EVT LVT = LHS.getValueType(); in SoftenFloatRes_FCOPYSIGN() 180 EVT RVT = RHS.getValueType(); in SoftenFloatRes_FCOPYSIGN() [all …]
|
D | LegalizeIntegerTypes.cpp | 41 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in PromoteIntegerResult() 156 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertSext() 163 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertZext() 167 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0() 207 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST() 209 EVT OutVT = N->getValueType(0); in PromoteIntRes_BITCAST() 265 EVT OVT = N->getValueType(0); in PromoteIntRes_BSWAP() 266 EVT NVT = Op.getValueType(); in PromoteIntRes_BSWAP() 279 N->getValueType(0)), JoinIntegers(N->getOperand(0), in PromoteIntRes_BUILD_PAIR() 284 EVT VT = N->getValueType(0); in PromoteIntRes_Constant() [all …]
|
D | LegalizeVectorTypes.cpp | 129 LHS.getValueType(), LHS, RHS); in ScalarizeVecRes_BinOp() 139 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST() 145 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT() 148 Op0, DAG.getValueType(NewVT), in ScalarizeVecRes_CONVERT_RNDSAT() 149 DAG.getValueType(Op0.getValueType()), in ScalarizeVecRes_CONVERT_RNDSAT() 157 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR() 162 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND() 171 Op.getValueType(), Op, N->getOperand(1)); in ScalarizeVecRes_FPOWI() 178 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT() 179 if (Op.getValueType() != EltVT) in ScalarizeVecRes_INSERT_VECTOR_ELT() [all …]
|
D | LegalizeTypesGeneric.cpp | 41 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST() 44 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 137 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST() 163 assert(Part.getValueType() == N->getValueType(0) && in ExpandRes_EXTRACT_ELEMENT() 172 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT() 177 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT() 189 if (Idx.getValueType().bitsLT(TLI.getPointerTy())) in ExpandRes_EXTRACT_VECTOR_ELT() 192 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, Idx); in ExpandRes_EXTRACT_VECTOR_ELT() 195 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, in ExpandRes_EXTRACT_VECTOR_ELT() 196 DAG.getConstant(1, Idx.getValueType())); in ExpandRes_EXTRACT_VECTOR_ELT() [all …]
|
D | LegalizeDAG.cpp | 241 if (TheChain.getValueType() != MVT::Other) { in FindCallEndFromCallStart() 244 if (TheChain.getValueType() != MVT::Other) { in FindCallEndFromCallStart() 247 if (Node->getValueType(i) == MVT::Other) { in FindCallEndFromCallStart() 253 if (TheChain.getValueType() != MVT::Other) in FindCallEndFromCallStart() 278 assert(Node->getOperand(0).getValueType() == MVT::Other && in FindCallStartFromCallEnd() 346 EVT VT = CFP->getValueType(0); in ExpandConstantFP() 389 EVT VT = Val.getValueType(); in ExpandUnalignedStore() 438 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedStore() 440 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, Increment); in ExpandUnalignedStore() 474 TLI.getShiftAmountTy(Val.getValueType())); in ExpandUnalignedStore() [all …]
|
D | LegalizeTypes.cpp | 129 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(I)) { in PerformExpensiveChecks() 223 EVT ResultVT = N->getValueType(i); in run() 276 EVT OpVT = N->getOperand(i).getValueType(); in run() 413 if (!isTypeLegal(I->getValueType(i))) { in run() 421 !isTypeLegal(I->getOperand(i).getValueType())) { in run() 733 assert(Result.getValueType() == in SetPromotedInteger() 734 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetPromotedInteger() 744 assert(Result.getValueType() == in SetSoftenedFloat() 745 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetSoftenedFloat() 755 assert(Result.getValueType() == Op.getValueType().getVectorElementType() && in SetScalarizedVector() [all …]
|
D | DAGCombiner.cpp | 122 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); in SimplifyDemandedBits() 367 if (Op.getValueType() == MVT::ppcf128) in isNegatibleForFree() 434 return DAG.getConstantFP(V, Op.getValueType()); in GetNegatedExpression() 442 return DAG.getNode(ISD::FSUB, Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression() 447 return DAG.getNode(ISD::FSUB, Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression() 461 return DAG.getNode(ISD::FSUB, Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression() 470 return DAG.getNode(Op.getOpcode(), Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression() 476 return DAG.getNode(Op.getOpcode(), Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression() 483 return DAG.getNode(Op.getOpcode(), Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression() 487 return DAG.getNode(ISD::FP_ROUND, Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression() [all …]
|
D | LegalizeVectorOps.cpp | 190 QueryType = Node->getValueType(0); in LegalizeOp() 197 QueryType = Node->getOperand(0).getValueType(); in LegalizeOp() 246 EVT VT = Op.getValueType(); in PromoteVectorOp() 254 if (Op.getOperand(j).getValueType().isVector()) in PromoteVectorOp() 268 EVT VT = Op.getOperand(0).getValueType(); in ExpandVSELECT() 282 assert(VT.getSizeInBits() == Op.getOperand(1).getValueType().getSizeInBits() in ExpandVSELECT() 300 EVT VT = Op.getOperand(0).getValueType(); in ExpandUINT_TO_FLOAT() 322 SDValue TWOHW = DAG.getConstantFP((1<<(BW/2)), Op.getValueType()); in ExpandUINT_TO_FLOAT() 330 SDValue fHI = DAG.getNode(ISD::SINT_TO_FP, DL, Op.getValueType(), HI); in ExpandUINT_TO_FLOAT() 331 fHI = DAG.getNode(ISD::FMUL, DL, Op.getValueType(), fHI, TWOHW); in ExpandUINT_TO_FLOAT() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 65 assert(isLegalInHWReg(N->getValueType(ResNo)) && in SoftenFloatResult() 127 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_BITCAST() 142 N->getValueType(0)), in SoftenFloatRes_BUILD_PAIR() 149 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_ConstantFP() 160 CN->getValueType(0).getSimpleVT() == llvm::MVT::ppcf128) { in SoftenFloatRes_ConstantFP() 166 CN->getValueType(0))); in SoftenFloatRes_ConstantFP() 170 CN->getValueType(0))); in SoftenFloatRes_ConstantFP() 177 NewOp.getValueType().getVectorElementType(), in SoftenFloatRes_EXTRACT_VECTOR_ELT() 183 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_FABS() 185 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FABS() [all …]
|
D | LegalizeVectorTypes.cpp | 149 LHS.getValueType(), LHS, RHS, N->getFlags()); in ScalarizeVecRes_BinOp() 157 Op0.getValueType(), Op0, Op1, Op2); in ScalarizeVecRes_TernaryOp() 167 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST() 173 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR() 183 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT() 186 Op0, DAG.getValueType(NewVT), in ScalarizeVecRes_CONVERT_RNDSAT() 187 DAG.getValueType(Op0.getValueType()), in ScalarizeVecRes_CONVERT_RNDSAT() 195 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR() 200 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND() 209 Op.getValueType(), Op, N->getOperand(1)); in ScalarizeVecRes_FPOWI() [all …]
|
D | LegalizeIntegerTypes.cpp | 42 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in PromoteIntegerResult() 176 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertSext() 183 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertZext() 187 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0() 216 EVT SVT = getSetCCResultType(N->getOperand(2).getValueType()); in PromoteIntRes_AtomicCmpSwap() 217 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(1)); in PromoteIntRes_AtomicCmpSwap() 224 SDVTList VTs = DAG.getVTList(N->getValueType(0), SVT, MVT::Other); in PromoteIntRes_AtomicCmpSwap() 238 DAG.getVTList(Op2.getValueType(), N->getValueType(1), MVT::Other); in PromoteIntRes_AtomicCmpSwap() 251 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST() 253 EVT OutVT = N->getValueType(0); in PromoteIntRes_BITCAST() [all …]
|
D | LegalizeTypesGeneric.cpp | 42 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST() 45 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 147 LHS.getValueType().getSizeInBits() << 1), in ExpandRes_BITCAST() 182 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST() 184 StackPtr.getValueType())); in ExpandRes_BITCAST() 209 assert(Part.getValueType() == N->getValueType(0) && in ExpandRes_EXTRACT_ELEMENT() 218 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT() 219 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT() 224 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT() 244 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, Idx); in ExpandRes_EXTRACT_VECTOR_ELT() [all …]
|
D | LegalizeTypes.cpp | 130 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(&Node)) { in PerformExpensiveChecks() 223 EVT ResultVT = N->getValueType(i); in run() 282 EVT OpVT = N->getOperand(i).getValueType(); in run() 425 if (!isTypeLegal(Node.getValueType(i)) && in run() 426 !TLI.isTypeLegal(Node.getValueType(i))) { in run() 435 !isTypeLegal(Node.getOperand(i).getValueType()) && in run() 436 !TLI.isTypeLegal(Node.getOperand(i).getValueType())) { in run() 751 assert(Result.getValueType() == in SetPromotedInteger() 752 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetPromotedInteger() 764 assert((Result.getValueType() == in SetSoftenedFloat() [all …]
|
D | LegalizeDAG.cpp | 254 EVT VT = CFP->getValueType(0); in ExpandConstantFP() 298 EVT VT = CP->getValueType(0); in ExpandConstant() 327 EVT VT = Tmp1.getValueType(); in PerformInsertVectorEltInMemory() 329 EVT IdxVT = Tmp3.getValueType(); in PerformInsertVectorEltInMemory() 364 EVT EltVT = Vec.getValueType().getVectorElementType(); in ExpandINSERT_VECTOR_ELT() 365 if (Val.getValueType() == EltVT || in ExpandINSERT_VECTOR_ELT() 366 (EltVT.isInteger() && Val.getValueType().bitsGE(EltVT))) { in ExpandINSERT_VECTOR_ELT() 368 Vec.getValueType(), Val); in ExpandINSERT_VECTOR_ELT() 370 unsigned NumElts = Vec.getValueType().getVectorNumElements(); in ExpandINSERT_VECTOR_ELT() 378 return DAG.getVectorShuffle(Vec.getValueType(), dl, Vec, ScVec, ShufOps); in ExpandINSERT_VECTOR_ELT() [all …]
|
D | TargetLowering.cpp | 127 Entry.Ty = Entry.Node.getValueType().getTypeForEVT(*DAG.getContext()); in makeLibCall() 128 Entry.isSExt = shouldSignExtendTypeInLibCall(Op.getValueType(), isSigned); in makeLibCall() 129 Entry.isZExt = !shouldSignExtendTypeInLibCall(Op.getValueType(), isSigned); in makeLibCall() 274 NewLHS = DAG.getNode(ISD::OR, dl, Tmp.getValueType(), Tmp, NewLHS); in softenSetCCOperands() 359 EVT VT = Op.getValueType(); in ShrinkDemandedConstant() 387 if (Op.getValueType().isVector()) in ShrinkDemandedOp() 404 if (TLI.isTruncateFree(Op.getValueType(), SmallVT) && in ShrinkDemandedOp() 405 TLI.isZExtFree(SmallVT, Op.getValueType())) { in ShrinkDemandedOp() 414 dl, Op.getValueType(), X); in ShrinkDemandedOp() 435 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth && in SimplifyDemandedBits() [all …]
|
D | LegalizeVectorOps.cpp | 206 switch (TLI.getLoadExtAction(LD->getExtensionType(), LD->getValueType(0), in LegalizeOp() 335 QueryType = Node->getValueType(0); in LegalizeOp() 342 QueryType = Node->getOperand(0).getValueType(); in LegalizeOp() 345 QueryType = cast<MaskedScatterSDNode>(Node)->getValue().getValueType(); in LegalizeOp() 348 QueryType = cast<MaskedStoreSDNode>(Node)->getValue().getValueType(); in LegalizeOp() 410 if (Op.getOperand(j).getValueType().isVector()) in Promote() 412 .getValueType() in Promote() 435 EVT VT = Op.getOperand(0).getValueType(); in PromoteINT_TO_FP() 455 if (Op.getOperand(j).getValueType().isVector()) in PromoteINT_TO_FP() 461 return DAG.getNode(Op.getOpcode(), dl, Op.getValueType(), Operands); in PromoteINT_TO_FP() [all …]
|
D | DAGCombiner.cpp | 184 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); in SimplifyDemandedBits() 611 !TLI.isOperationLegalOrCustom(ISD::FSUB, Op.getValueType())) in isNegatibleForFree() 667 return DAG.getConstantFP(V, SDLoc(Op), Op.getValueType()); in GetNegatedExpression() 676 return DAG.getNode(ISD::FSUB, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 681 return DAG.getNode(ISD::FSUB, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 695 return DAG.getNode(ISD::FSUB, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 705 return DAG.getNode(Op.getOpcode(), SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 711 return DAG.getNode(Op.getOpcode(), SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 718 return DAG.getNode(Op.getOpcode(), SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 722 return DAG.getNode(ISD::FP_ROUND, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 65 assert(isLegalInHWReg(N->getValueType(ResNo)) && in SoftenFloatResult() 127 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_BITCAST() 142 N->getValueType(0)), in SoftenFloatRes_BUILD_PAIR() 149 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_ConstantFP() 160 CN->getValueType(0).getSimpleVT() == llvm::MVT::ppcf128) { in SoftenFloatRes_ConstantFP() 166 CN->getValueType(0))); in SoftenFloatRes_ConstantFP() 170 CN->getValueType(0))); in SoftenFloatRes_ConstantFP() 176 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_EXTRACT_VECTOR_ELT() 180 NewOp.getValueType().getVectorElementType(), in SoftenFloatRes_EXTRACT_VECTOR_ELT() 186 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_FABS() [all …]
|
D | LegalizeVectorTypes.cpp | 153 LHS.getValueType(), LHS, RHS, N->getFlags()); in ScalarizeVecRes_BinOp() 161 Op0.getValueType(), Op0, Op1, Op2); in ScalarizeVecRes_TernaryOp() 172 if (Op.getValueType().isVector() in ScalarizeVecRes_BITCAST() 173 && Op.getValueType().getVectorNumElements() == 1 in ScalarizeVecRes_BITCAST() 174 && !isSimpleLegalType(Op.getValueType())) in ScalarizeVecRes_BITCAST() 176 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST() 182 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR() 193 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR() 198 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND() 207 Op.getValueType(), Op, N->getOperand(1)); in ScalarizeVecRes_FPOWI() [all …]
|
D | LegalizeIntegerTypes.cpp | 44 if (CustomLowerNode(N, N->getValueType(ResNo), true)) { in PromoteIntegerResult() 182 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertSext() 189 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertZext() 193 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0() 220 EVT SVT = getSetCCResultType(N->getOperand(2).getValueType()); in PromoteIntRes_AtomicCmpSwap() 221 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(1)); in PromoteIntRes_AtomicCmpSwap() 228 SDVTList VTs = DAG.getVTList(N->getValueType(0), SVT, MVT::Other); in PromoteIntRes_AtomicCmpSwap() 241 DAG.getVTList(Op2.getValueType(), N->getValueType(1), MVT::Other); in PromoteIntRes_AtomicCmpSwap() 253 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST() 255 EVT OutVT = N->getValueType(0); in PromoteIntRes_BITCAST() [all …]
|
D | LegalizeTypesGeneric.cpp | 42 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST() 45 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 60 if (isLegalInHWReg(SoftenedOp.getValueType())) in ExpandRes_BITCAST() 179 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST() 181 StackPtr.getValueType())); in ExpandRes_BITCAST() 206 assert(Part.getValueType() == N->getValueType(0) && in ExpandRes_EXTRACT_ELEMENT() 215 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT() 216 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT() 221 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT() 241 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, Idx); in ExpandRes_EXTRACT_VECTOR_ELT() [all …]
|
D | LegalizeTypes.cpp | 85 EVT VT = Res.getValueType(); in PerformExpensiveChecks() 240 EVT ResultVT = N->getValueType(i); in run() 304 EVT OpVT = Op.getValueType(); in run() 450 if (!isTypeLegal(Node.getValueType(i)) && in run() 451 !TLI.isTypeLegal(Node.getValueType(i))) { in run() 460 !isTypeLegal(Node.getOperand(i).getValueType()) && in run() 461 !TLI.isTypeLegal(Node.getOperand(i).getValueType())) { in run() 703 assert(Result.getValueType() == in SetPromotedInteger() 704 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetPromotedInteger() 718 assert((Result.getValueType() == in SetSoftenedFloat() [all …]
|
D | LegalizeDAG.cpp | 285 EVT VT = CFP->getValueType(0); in ExpandConstantFP() 334 EVT VT = CP->getValueType(0); in ExpandConstant() 362 EVT VT = Tmp1.getValueType(); in PerformInsertVectorEltInMemory() 389 EVT EltVT = Vec.getValueType().getVectorElementType(); in ExpandINSERT_VECTOR_ELT() 390 if (Val.getValueType() == EltVT || in ExpandINSERT_VECTOR_ELT() 391 (EltVT.isInteger() && Val.getValueType().bitsGE(EltVT))) { in ExpandINSERT_VECTOR_ELT() 393 Vec.getValueType(), Val); in ExpandINSERT_VECTOR_ELT() 395 unsigned NumElts = Vec.getValueType().getVectorNumElements(); in ExpandINSERT_VECTOR_ELT() 403 return DAG.getVectorShuffle(Vec.getValueType(), dl, Vec, ScVec, ShufOps); in ExpandINSERT_VECTOR_ELT() 425 if (CFP->getValueType(0) == MVT::f32 && in OptimizeFloatStore() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 407 EVT ResTy = Op->getValueType(0); in lowerSELECT() 599 EVT Ty = N->getValueType(0); in performORCombine() 824 EVT VT = N->getValueType(0); in performMULCombine() 864 EVT Ty = N->getValueType(0); in performSHLCombine() 887 EVT Ty = N->getValueType(0); in performSRACombine() 933 EVT Ty = N->getValueType(0); in performSRLCombine() 960 EVT Ty = N->getValueType(0); in performSETCCCombine() 973 EVT Ty = N->getValueType(0); in performVSELECTCombine() 991 EVT Ty = N->getValueType(0); in performXORCombine() 1174 EVT PtrVT = Ptr.getValueType(); in lowerLOAD() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 535 N->getValueType(0) == MVT::i32 && selectMADD(N, &DAG)) in performADDECombine() 669 EVT Ty = N->getValueType(0); in performORCombine() 789 if (Subtarget.hasMips32() && N->getValueType(0) == MVT::i32 && in performSUBECombine() 837 EVT VT = N->getValueType(0); in performMULCombine() 876 EVT Ty = N->getValueType(0); in performSHLCombine() 899 EVT Ty = N->getValueType(0); in performSRACombine() 945 EVT Ty = N->getValueType(0); in performSRLCombine() 972 EVT Ty = N->getValueType(0); in performSETCCCombine() 985 EVT Ty = N->getValueType(0); in performVSELECTCombine() 1042 EVT Ty = N->getValueType(0); in performXORCombine() [all …]
|