Home
last modified time | relevance | path

Searched refs:getValueType (Results 1 - 25 of 167) sorted by relevance

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp145 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_Unary()
152 EVT OpVT = N->getOperand(0 + Offset).getValueType(); in SoftenFloatRes_Unary()
153 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true); in SoftenFloatRes_Unary()
164 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_Binary()
172 EVT OpsVT[2] = { N->getOperand(0 + Offset).getValueType(), in SoftenFloatRes_Binary()
173 N->getOperand(1 + Offset).getValueType() }; in SoftenFloatRes_Binary()
174 CallOptions.setTypeListBeforeSoften(OpsVT, N->getValueType(0), true); in SoftenFloatRes_Binary()
197 N->getValueType(0)), in SoftenFloatRes_BUILD_PAIR()
212 CN->getValueType(0).getSimpleVT() == llvm::MVT::ppcf128) { in SoftenFloatRes_ConstantFP()
218 CN->getValueType( in SoftenFloatRes_ConstantFP()
[all...]
H A DLegalizeVectorTypes.cpp183 LHS.getValueType(), LHS, RHS, N->getFlags()); in ScalarizeVecRes_BinOp()
191 Op0.getValueType(), Op0, Op1, Op2); in ScalarizeVecRes_TernaryOp()
198 return DAG.getNode(N->getOpcode(), SDLoc(N), Op0.getValueType(), Op0, Op1, in ScalarizeVecRes_FIX()
203 EVT VT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_StrictFPOp()
218 if (Oper.getValueType().isVector()) in ScalarizeVecRes_StrictFPOp()
235 EVT ResVT = N->getValueType(0); in ScalarizeVecRes_OverflowOp()
236 EVT OvVT = N->getValueType(1); in ScalarizeVecRes_OverflowOp()
257 EVT OtherVT = N->getValueType(OtherNo); in ScalarizeVecRes_OverflowOp()
277 if (Op.getValueType().isVector() in ScalarizeVecRes_BITCAST()
278 && Op.getValueType() in ScalarizeVecRes_BITCAST()
[all...]
H A DLegalizeTypesGeneric.cpp41 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST()
44 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST()
197 assert(Part.getValueType() == N->getValueType(0) && in ExpandRes_EXTRACT_ELEMENT()
206 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT()
207 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT()
212 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT()
232 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, Idx); in ExpandRes_EXTRACT_VECTOR_ELT()
235 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, in ExpandRes_EXTRACT_VECTOR_ELT()
236 DAG.getConstant(1, dl, Idx.getValueType())); in ExpandRes_EXTRACT_VECTOR_ELT()
[all...]
H A DLegalizeTypes.cpp137 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(&Node)) { in PerformExpensiveChecks()
235 EVT ResultVT = N->getValueType(i); in run()
295 EVT OpVT = Op.getValueType(); in run()
436 if (!isTypeLegal(Node.getValueType(i))) { in run()
445 !isTypeLegal(Node.getOperand(i).getValueType())) { in run()
687 assert(Result.getValueType() == in SetPromotedInteger()
688 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetPromotedInteger()
701 assert(Result.getValueType() == in SetSoftenedFloat()
702 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetSoftenedFloat()
712 assert(Result.getValueType() in SetPromotedFloat()
[all...]
H A DLegalizeIntegerTypes.cpp43 if (CustomLowerNode(N, N->getValueType(ResNo), true)) { in PromoteIntegerResult()
218 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertSext()
225 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertZext()
229 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0()
256 EVT SVT = getSetCCResultType(N->getOperand(2).getValueType()); in PromoteIntRes_AtomicCmpSwap()
257 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(1)); in PromoteIntRes_AtomicCmpSwap()
264 SDVTList VTs = DAG.getVTList(N->getValueType(0), SVT, MVT::Other); in PromoteIntRes_AtomicCmpSwap()
277 DAG.getVTList(Op2.getValueType(), N->getValueType(1), MVT::Other); in PromoteIntRes_AtomicCmpSwap()
289 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST()
[all...]
H A DLegalizeDAG.cpp299 EVT VT = CFP->getValueType(0); in ExpandConstantFP()
348 EVT VT = CP->getValueType(0); in ExpandConstant()
376 EVT VT = Tmp1.getValueType(); in PerformInsertVectorEltInMemory()
403 EVT EltVT = Vec.getValueType().getVectorElementType(); in ExpandINSERT_VECTOR_ELT()
404 if (Val.getValueType() == EltVT || in ExpandINSERT_VECTOR_ELT()
405 (EltVT.isInteger() && Val.getValueType().bitsGE(EltVT))) { in ExpandINSERT_VECTOR_ELT()
407 Vec.getValueType(), Val); in ExpandINSERT_VECTOR_ELT()
409 unsigned NumElts = Vec.getValueType().getVectorNumElements(); in ExpandINSERT_VECTOR_ELT()
417 return DAG.getVectorShuffle(Vec.getValueType(), dl, Vec, ScVec, ShufOps); in ExpandINSERT_VECTOR_ELT()
442 if (CFP->getValueType( in OptimizeFloatStore()
[all...]
H A DLegalizeVectorOps.cpp264 switch (TLI.getLoadExtAction(LD->getExtensionType(), LD->getValueType(0), in LegalizeOp()
325 HasVectorValueOrOp |= Oper.getValueType().isVector(); in LegalizeOp()
336 Action = TLI.getOperationAction(Node->getOpcode(), Node->getValueType(0)); in LegalizeOp()
345 ValVT = Node->getValueType(0); in LegalizeOp()
348 ValVT = Node->getOperand(1).getValueType(); in LegalizeOp()
459 Action = TLI.getOperationAction(Node->getOpcode(), Node->getValueType(0)); in LegalizeOp()
469 Node->getValueType(0), Scale); in LegalizeOp()
488 Node->getOperand(0).getValueType()); in LegalizeOp()
593 if (Node->getOperand(j).getValueType().isVector()) in Promote()
595 .getValueType() in Promote()
[all...]
H A DSelectionDAG.cpp147 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); in isConstantSplatVector()
181 unsigned EltSize = N->getValueType(0).getScalarSizeInBits(); in isBuildVectorAllOnes()
220 unsigned EltSize = N->getValueType(0).getScalarSizeInBits(); in isBuildVectorAllZeros()
283 EVT SVT = Op.getValueType().getScalarType();
292 if (!Cst || Cst->getValueType(0) != SVT || !Match(Cst))
302 if (!AllowTypeMismatch && LHS.getValueType() != RHS.getValueType())
315 EVT SVT = LHS.getValueType().getScalarType();
325 if (!AllowTypeMismatch && (LHSOp.getValueType() != SVT ||
326 LHSOp.getValueType() !
[all...]
H A DDAGCombiner.cpp310 EVT VT = Op.getValueType(); in SimplifyDemandedBits()
320 unsigned NumElts = Op.getValueType().getVectorNumElements(); in SimplifyDemandedVectorElts()
830 if (TLI.getBooleanContents(N.getValueType()) == in isSetCCEquivalent()
949 EVT VT = N0.getValueType(); in reassociateOpsCommutative()
986 if (N0.getValueType().isFloatingPoint() || in reassociateOps()
987 N1.getValueType().isFloatingPoint()) in reassociateOps()
1007 N->getValueType(i) == To[i].getValueType()) && in CombineTo()
1096 EVT VT = Load->getValueType(0); in ReplaceLoadWithPromotedLoad()
1135 Op.getValueType() in PromoteOperand()
[all...]
H A DTargetLowering.cpp141 Entry.Ty = Entry.Node.getValueType().getTypeForEVT(*DAG.getContext()); in makeLibCall()
142 Entry.IsSExt = shouldSignExtendTypeInLibCall(NewOp.getValueType(), in makeLibCall()
399 EVT OpsVT[2] = { OldLHS.getValueType(), in softenSetCCOperands()
400 OldRHS.getValueType() }; in softenSetCCOperands()
428 Tmp.getValueType(), Tmp, NewLHS); in softenSetCCOperands()
520 EVT VT = Op.getValueType(); in ShrinkDemandedConstant()
548 if (Op.getValueType().isVector()) in ShrinkDemandedOp()
565 if (TLI.isTruncateFree(Op.getValueType(), SmallVT) && in ShrinkDemandedOp()
566 TLI.isZExtFree(SmallVT, Op.getValueType())) { in ShrinkDemandedOp()
573 SDValue Z = DAG.getNode(ISD::ANY_EXTEND, dl, Op.getValueType(), in ShrinkDemandedOp()
[all...]
H A DSelectionDAGBuilder.cpp290 EVT PartEVT = Val.getValueType(); in getCopyFromParts()
315 DAG.getValueType(ValueVT)); in getCopyFromParts()
323 if (ValueVT.bitsLT(Val.getValueType())) in getCopyFromParts()
428 EVT PartEVT = Val.getValueType(); in getCopyFromPartsVector()
507 EVT ValueVT = Val.getValueType(); in getCopyToParts()
566 ValueVT = Val.getValueType(); in getCopyToParts()
639 EVT ValueVT = Val.getValueType(); in widenVectorToPartType()
666 EVT ValueVT = Val.getValueType(); in getCopyToPartsVector()
702 assert(Val.getValueType() == PartVT && "Unexpected vector part value type"); in getCopyToPartsVector()
878 RegisterVT, P, DAG.getValueType(FromV in getCopyFromRegs()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp413 EVT ResTy = Op->getValueType(0); in lowerSELECT()
603 EVT Ty = N->getValueType(0); in performORCombine()
833 EVT VT = N->getValueType(0); in performMULCombine()
873 EVT Ty = N->getValueType(0); in performSHLCombine()
896 EVT Ty = N->getValueType(0); in performSRACombine()
942 EVT Ty = N->getValueType(0); in performSRLCombine()
969 EVT Ty = N->getValueType(0); in performSETCCCombine()
982 EVT Ty = N->getValueType(0); in performVSELECTCombine()
1000 EVT Ty = N->getValueType(0); in performXORCombine()
1183 EVT PtrVT = Ptr.getValueType(); in lowerLOAD()
[all...]
H A DMipsSEISelDAGToDAG.cpp210 EVT VT = LHS.getValueType(); in selectAddE()
271 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex()
287 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset()
365 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), Addr.getValueType()); in selectAddrDefault()
554 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatCommon()
630 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmPow2()
661 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskL()
695 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskR()
717 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmInvPow2()
771 if (Node->getValueType( in trySelect()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp1624 if (N->getValueType(0) != MVT::v16i8) in isVMerge()
1734 if (N->getValueType(0) != MVT::v16i8) in isVMerge()
1792 if (N->getValueType(0) != MVT::v16i8) in isVSLDOIShuffleMask()
1835 assert(N->getValueType(0) == MVT::v16i8 && isPowerOf2_32(EltSize) && in isSplatShuffleMask()
1979 assert(N->getValueType(0) == MVT::v16i8 && "Shuffle vector expects v16i8"); in isXXSLDWIShuffleMask()
2040 assert(N->getValueType(0) == MVT::v16i8 && "Shuffle vector expects v16i8");
2078 assert(N->getValueType(0) == MVT::v16i8 && "Shuffle vector expects v16i8"); in isXXPERMDIShuffleMask()
2220 assert(CN->getValueType(0) == MVT::f32 && "Only one legal FP vector type!"); in get_VSPLTI_elt()
2249 EVT VT = N->getValueType(0); in isQVALIGNIShuffleMask()
2289 if (N->getValueType( in isIntS16Immediate()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp1038 EVT VT = Op.getValueType(); in optimizeLogicalImm()
1068 EVT VT = Op.getValueType(); in targetShrinkDemandedConstant()
1153 MVT VT = Op.getOperand(1).getValueType().getSimpleVT(); in computeKnownBitsForTargetNode()
1698 EVT VT = LHS.getValueType(); in emitStrictFPComparison()
1708 EVT VT = LHS.getValueType(); in emitComparison()
1813 if (LHS.getValueType().isFloatingPoint()) { in emitConditionalComparison()
1814 assert(LHS.getValueType() != MVT::f128); in emitConditionalComparison()
1815 if (LHS.getValueType() == MVT::f16 && !FullFP16) { in emitConditionalComparison()
1859 if (Val->getOperand(0).getValueType() == MVT::f128) in canEmitConjunction()
1923 bool isInteger = LHS.getValueType() in emitConjunctionRec()
[all...]
H A DAArch64ISelDAGToDAG.cpp321 dl, Op.getValueType(), in SelectInlineAsmMemoryOperand()
381 if (N.getValueType() == MVT::i32) in SelectNegArithImmed()
494 SrcVT = N.getOperand(0).getValueType(); in getExtendTypeForNode()
507 EVT SrcVT = N.getOperand(0).getValueType(); in getExtendTypeForNode()
618 ReplaceNode(N, CurDAG->getMachineNode(MLAOpc, dl, N->getValueType(0), Ops)); in tryMLAV64LaneV128()
663 ReplaceNode(N, CurDAG->getMachineNode(SMULLOpc, dl, N->getValueType(0), Ops)); in tryMULLV64LaneV128()
672 if (N.getValueType() == MVT::i32) in narrowIfNeeded()
712 Reg->getValueType(0).getSizeInBits() == 32 && isDef32(*Reg.getNode())) in SelectArithExtendedRegister()
838 Type *Ty = GV->getValueType(); in SelectAddrModeIndexed()
1167 EVT VT = N->getValueType( in SelectTable()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp149 EVT ValueVT = LD->getValueType(0); in SelectIndexedLoad()
165 if (LD->getValueType(0) == MVT::i64) in SelectIndexedLoad()
178 if (LD->getValueType(0) == MVT::i64) in SelectIndexedLoad()
472 EVT ValueVT = Value.getValueType(); in SelectIndexedStore()
576 if (N->getValueType(0) != MVT::i32 || Shl_1.getOpcode() != ISD::Constant) in SelectSHL()
687 SDValue R = CurDAG->getNode(N->getOpcode(), SDLoc(N), N->getValueType(0), in SelectIntrinsicWOChain()
703 if (N->getValueType(0) == MVT::f32) { in SelectConstantFP()
708 if (N->getValueType(0) == MVT::f64) { in SelectConstantFP()
721 if (N->getValueType(0) == MVT::i1) { in SelectConstant()
772 MVT ResTy = N->getValueType( in SelectVAlign()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp64 I->getValueType(),
77 Function::Create(cast<FunctionType>(I.getValueType()), I.getLinkage(),
92 if (I->getValueType()->isFunctionTy())
93 GV = Function::Create(cast<FunctionType>(I->getValueType()),
98 *New, I->getValueType(), false, GlobalValue::ExternalLinkage,
107 auto *GA = GlobalAlias::create(I->getValueType(),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp109 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrSls()
131 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrRiSpls()
132 Base = CurDAG->getRegister(Lanai::R0, CN->getValueType(0)); in selectAddrRiSpls()
144 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrRiSpls()
145 Base = CurDAG->getRegister(Lanai::R0, CN->getValueType(0)); in selectAddrRiSpls()
283 EVT VT = Node->getValueType(0); in Select()
319 EVT VT = Node->getValueType(0); in selectFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp28 EVT PtrVT = Src.getValueType(); in emitMemMem()
79 EVT PtrVT = Dst.getValueType(); in EmitTargetCodeForMemset()
148 EVT PtrVT = Src1.getValueType(); in emitCLC()
198 EVT PtrVT = Src.getValueType(); in EmitTargetCodeForMemchr()
224 SDVTList VTs = DAG.getVTList(Dest.getValueType(), MVT::Other); in EmitTargetCodeForStrcpy()
234 SDVTList VTs = DAG.getVTList(Src1.getValueType(), MVT::i32, MVT::Other); in EmitTargetCodeForStrcmp()
252 EVT PtrVT = Src.getValueType(); in getBoundedStrlen()
264 EVT PtrVT = Src.getValueType(); in EmitTargetCodeForStrlen()
271 EVT PtrVT = Src.getValueType(); in EmitTargetCodeForStrnlen()
H A DSystemZISelDAGToDAG.cpp139 return CurDAG->getTargetConstant(Imm, SDLoc(Node), Node->getValueType(0)); in getImm()
637 } else if (Base.getValueType() != VT) { in getAddressOperands()
639 assert(VT == MVT::i32 && Base.getValueType() == MVT::i64 && in getAddressOperands()
670 getAddressOperands(AM, Addr.getValueType(), Base, Disp); in selectBDAddr()
681 getAddressOperands(AM, Addr.getValueType(), Base, Disp); in selectMVIAddr()
693 getAddressOperands(AM, Addr.getValueType(), Base, Disp, Index); in selectBDXAddr()
834 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG()
945 if (N.getValueType() == MVT::i32 && VT == MVT::i64) in convertTo()
948 if (N.getValueType() == MVT::i64 && VT == MVT::i32) in convertTo()
950 assert(N.getValueType() in convertTo()
[all...]
H A DSystemZISelLowering.cpp1193 Op.getValueType())); in LowerAsmOperandForConstraint()
1200 Op.getValueType())); in LowerAsmOperandForConstraint()
1207 Op.getValueType())); in LowerAsmOperandForConstraint()
1214 Op.getValueType())); in LowerAsmOperandForConstraint()
1221 Op.getValueType())); in LowerAsmOperandForConstraint()
1278 DAG.getValueType(VA.getValVT())); in convertLocVTToValVT()
1281 DAG.getValueType(VA.getValVT())); in convertLocVTToValVT()
1600 Callee = DAG.getRegister(SystemZ::R1D, Callee.getValueType()); in LowerCall()
1619 RegsToPass[I].second.getValueType())); in LowerCall()
2006 C.Op1 = DAG.getConstant(0, DL, C.Op1.getValueType()); in adjustZeroCmp()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp455 DAG.getValueType(VA.getLocVT())); in LowerFormalArguments_32()
614 DAG.getValueType(VA.getValVT())); in LowerFormalArguments_64()
618 DAG.getValueType(VA.getValVT())); in LowerFormalArguments_64()
959 RegsToPass[i].second.getValueType())); in LowerCall_32()
1259 RegsToPass[i].second.getValueType()));
1330 DAG.getValueType(VA.getValVT()));
1334 DAG.getValueType(VA.getValVT()));
1905 GA->getValueType(0), in withTargetFlags()
1910 CP->getValueType(0), in withTargetFlags()
1916 Op.getValueType(), in withTargetFlags()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp2583 EVT ValVT = ValArg.getValueType(); in lowerMasksToReg()
2618 assert(Arg.getValueType() == MVT::i64 && "Expecting 64 bit value"); in Passv64i1ArgInRegs()
2677 EVT ValVT = ValToCopy.getValueType(); in LowerReturn()
2762 RetOps.push_back(DAG.getRegister(Reg.first, Reg.second.getValueType())); in LowerReturn()
2849 if (Copy->getOperand(Copy->getNumOperands()-1).getValueType() == MVT::Glue) in isUsedByReturnOnly()
2865 UI->getOperand(UI->getNumOperands()-1).getValueType() != MVT::Glue) in isUsedByReturnOnly()
3458 DAG.getValueType(VA.getValVT()));
3461 DAG.getValueType(VA.getValVT()));
3951 if (Arg.getValueType().isVector() &&
3952 Arg.getValueType()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp519 return DAG.getNode(AMDGPUISD::R600_EXPORT, DL, Op.getValueType(), Args); in LowerOperation()
531 EVT VT = Op.getValueType(); in LowerOperation()
660 if (N->getValueType(0) == MVT::i1) { in ReplaceNodeResults()
669 if (N->getValueType(0) == MVT::i1) { in ReplaceNodeResults()
697 EVT VecVT = Vector.getValueType(); in vectorToVerticalVector()
721 return DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, Op.getValueType(), in LowerEXTRACT_VECTOR_ELT()
737 SDValue Insert = DAG.getNode(ISD::INSERT_VECTOR_ELT, DL, Op.getValueType(), in LowerINSERT_VECTOR_ELT()
760 EVT VT = Op.getValueType(); in LowerTrig()
793 EVT VT = Op.getValueType(); in LowerSHLParts()
829 EVT VT = Op.getValueType(); in LowerSRXParts()
[all...]

Completed in 91 milliseconds

1234567