Home
last modified time | relevance | path

Searched refs:isTypeLegal (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DResourcePriorityQueue.cpp94 if (TLI->isTypeLegal(VT) in numberRCValPredInSU()
132 if (TLI->isTypeLegal(VT) in numberRCValSuccInSU()
328 if (TLI->isTypeLegal(VT) in rawRegPressureDelta()
340 if (TLI->isTypeLegal(VT) && TLI->getRegClassFor(VT) in rawRegPressureDelta()
477 if (TLI->isTypeLegal(VT)) { in scheduledNode()
488 if (TLI->isTypeLegal(VT)) { in scheduledNode()
DLegalizeTypesGeneric.cpp107 while (!isTypeLegal(NVT)) { in ExpandRes_BITCAST()
117 if (isTypeLegal(NVT)) { in ExpandRes_BITCAST()
347 if (!isTypeLegal(NVT)) { in ExpandOp_BITCAST()
529 isTypeLegal(CondLHSVT) && in SplitRes_SELECT()
DFastISel.cpp372 if (!TLI.isTypeLegal(VT)) { in getRegForValue()
594 if (!TLI.isTypeLegal(VT)) { in selectBinaryOp()
1501 if (!TLI.isTypeLegal(DstVT)) in selectCast()
1505 if (!TLI.isTypeLegal(SrcVT)) in selectCast()
1538 !TLI.isTypeLegal(SrcEVT) || !TLI.isTypeLegal(DstEVT)) in selectBitCast()
1730 if (!TLI.isTypeLegal(IntVT)) in selectFNeg()
1764 if (!TLI.isTypeLegal(VT) && VT != MVT::i1) in selectExtractValue()
2290 if (VT == MVT::Other || !TLI.isTypeLegal(VT)) { in handlePHINodesInSuccessorBlocks()
DLegalizeTypes.cpp137 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(&Node)) { in PerformExpensiveChecks()
436 if (!isTypeLegal(Node.getValueType(i))) { in run()
445 !isTypeLegal(Node.getOperand(i).getValueType())) { in run()
DLegalizeVectorTypes.cpp1749 if (TLI.isTypeLegal(SrcVT) && !TLI.isTypeLegal(SplitSrcVT) && in SplitVecRes_ExtendOp()
1750 TLI.isTypeLegal(NewSrcVT) && TLI.isTypeLegal(SplitLoVT)) { in SplitVecRes_ExtendOp()
2539 if (isTypeLegal(LoOutVT) || in SplitVecOp_TruncateHelper()
2920 } while (!TLI.isTypeLegal(NextVT)); in CollectOpsToWiden()
2978 while (!TLI.isTypeLegal(VT) && NumElts != 1) { in WidenVecRes_BinaryCanTrap()
3024 } while (!TLI.isTypeLegal(VT) && NumElts != 1); in WidenVecRes_BinaryCanTrap()
3068 while (!TLI.isTypeLegal(VT) && NumElts != 1) { in WidenVecRes_StrictFP()
3133 } while (!TLI.isTypeLegal(VT) && NumElts != 1); in WidenVecRes_StrictFP()
3259 if (TLI.isTypeLegal(InWidenVT)) { in WidenVecRes_Convert()
3528 if (TLI.isTypeLegal(NewInVT)) { in WidenVecRes_BITCAST()
[all …]
DInstrEmitter.cpp107 if (TLI->isTypeLegal(VT)) in EmitCopyFromReg()
209 if (i < NumResults && TLI->isTypeLegal(Node->getSimpleValueType(i))) { in CreateVirtualRegisters()
382 TLI->isTypeLegal(OpVT) in AddOperand()
DDAGCombiner.cpp234 TLI.isTypeLegal(EVT(VT)) && in DAGCombiner()
707 bool isTypeLegal(const EVT &VT) { in isTypeLegal() function in __anon0eaaf1da0111::DAGCombiner
709 return TLI.isTypeLegal(VT); in isTypeLegal()
3632 if (!TLI.isTypeLegal(VT) && !TLI.isOperationCustom(DivRemOpc, VT)) in useDivRem()
4421 if (!TLI.isTypeLegal(XVT)) in hoistLogicOpWithSameOpcodeHands()
4459 !(VT.isVector() && TLI.isTypeLegal(VT) && in hoistLogicOpWithSameOpcodeHands()
4460 !XVT.isVector() && !TLI.isTypeLegal(XVT))) { in hoistLogicOpWithSameOpcodeHands()
5101 if (!TLI.isTypeLegal(VT)) in combineShiftAnd1ToBitTest()
5818 TLI.isTypeLegal(VT)) { in visitOR()
6255 if (!TLI.isTypeLegal(VT)) in MatchRotate()
[all …]
DLegalizeDAG.cpp443 TLI.isTypeLegal(MVT::i32)) { in OptimizeFloatStore()
453 if (TLI.isTypeLegal(MVT::i64)) { in OptimizeFloatStore()
460 if (TLI.isTypeLegal(MVT::i32) && !ST->isVolatile()) { in OptimizeFloatStore()
643 if (TLI.isTypeLegal(StVT)) { in LegalizeStoreOps()
882 if (TLI.isTypeLegal(SrcVT) || // Same as SrcVT == LoadVT? in LegalizeLoadOps()
1451 if (TLI.isTypeLegal(IVT)) { in getSignAsIntValue()
2356 if (SrcVT == MVT::i32 && TLI.isTypeLegal(MVT::f64)) { in ExpandLegalINT_TO_FP()
3041 if (!TLI.isTypeLegal(EltVT)) { in ExpandNode()
3337 assert(TLI.isTypeLegal(HalfType)); in ExpandNode()
3778 assert(TLI.isTypeLegal(VT.getScalarType())&& "Element type must be legal"); in ExpandNode()
[all …]
DLegalizeIntegerTypes.cpp261 if (!TLI.isTypeLegal(SVT)) in PromoteIntRes_AtomicCmpSwap()
371 if (isTypeLegal(WideOutVT)) { in PromoteIntRes_BITCAST()
833 if (TLI.isTypeLegal(PromotedType)) { in PromoteIntRes_DIVFIX()
1458 assert(!((NumElts & 1) && (!TLI.isTypeLegal(VecVT))) && in PromoteIntOp_BUILD_VECTOR()
3342 (Action == TargetLowering::Legal && TLI.isTypeLegal(NVT)) || in ExpandIntRes_Shift()
3864 if (TLI.isTypeLegal(LHSLo.getValueType()) && in IntegerExpandSetCCOperands()
3865 TLI.isTypeLegal(RHSLo.getValueType())) in IntegerExpandSetCCOperands()
3871 if (TLI.isTypeLegal(LHSHi.getValueType()) && in IntegerExpandSetCCOperands()
3872 TLI.isTypeLegal(RHSHi.getValueType())) in IntegerExpandSetCCOperands()
DLegalizeTypes.h67 bool isTypeLegal(EVT VT) const { in isTypeLegal() function
73 return VT.isSimple() && TLI.isTypeLegal(VT); in isSimpleLegalType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp785 assert(isTypeLegal(VT)); in canOpTrap()
956 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { in getVectorTypeBreakdownMVT()
964 if (!TLI->isTypeLegal(NewVT)) in getVectorTypeBreakdownMVT()
989 if (isTypeLegal(*I)) in isLegalRC()
1176 if (isTypeLegal(IVT)) { in computeRegisterProperties()
1186 if (!isTypeLegal(MVT::ppcf128)) { in computeRegisterProperties()
1187 if (isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1202 if (!isTypeLegal(MVT::f128)) { in computeRegisterProperties()
1211 if (!isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1220 if (!isTypeLegal(MVT::f32)) { in computeRegisterProperties()
[all …]
DAnalysis.cpp259 TLI.isTypeLegal(EVT::getEVT(T1)) && TLI.isTypeLegal(EVT::getEVT(T2))); in isNoopBitcast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FastISel.cpp165 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false);
252 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic()
292 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { in isTypeLegal() function in X86FastISel
312 return (AllowI1 && VT == MVT::i1) || TLI.isTypeLegal(VT); in isTypeLegal()
1128 if (!isTypeLegal(Val->getType(), VT, /*AllowI1=*/true)) in X86SelectStore()
1316 if (!isTypeLegal(LI->getType(), VT, /*AllowI1=*/true)) in X86SelectLoad()
1430 if (!isTypeLegal(I->getOperand(0)->getType(), VT)) in X86SelectCmp()
1522 if (!TLI.isTypeLegal(DstVT)) in X86SelectZExt()
1581 if (!TLI.isTypeLegal(DstVT)) in X86SelectSExt()
1713 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) { in X86SelectBranch()
[all …]
DX86ISelLowering.cpp595 if (isTypeLegal(MVT::f32)) { in X86TargetLowering()
605 if (isTypeLegal(MVT::f64)) { in X86TargetLowering()
717 if (isTypeLegal(MVT::f32)) { in X86TargetLowering()
721 if (isTypeLegal(MVT::f64)) { in X86TargetLowering()
725 if (isTypeLegal(MVT::f80)) { in X86TargetLowering()
5178 isTypeLegal(LoadVT) && isTypeLegal(BitcastVT)) in isLoadBitCastBeneficial()
5314 return isTypeLegal(VT); in shouldSplatInsEltVarIndex()
5319 if (isTypeLegal(VT)) in hasFastEqualityCompare()
5323 if (NumBits == 128 && isTypeLegal(MVT::v16i8)) in hasFastEqualityCompare()
5327 if (NumBits == 256 && isTypeLegal(MVT::v32i8)) in hasFastEqualityCompare()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h526 return isTypeLegal(VT) ? VT : MVT::INVALID_SIMPLE_VALUE_TYPE; in hasFastEqualityCompare()
750 bool isTypeLegal(EVT VT) const { in isTypeLegal() function
967 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrCustom()
976 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrPromote()
985 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrCustomOrPromote()
1052 return (!isTypeLegal(VT) || getOperationAction(Op, VT) == Expand); in isOperationExpand()
1057 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegal()
1102 return isTypeLegal(ValVT) && getTruncStoreAction(ValVT, MemVT) == Legal; in isTruncStoreLegal()
1108 return isTypeLegal(ValVT) && in isTruncStoreLegalOrCustom()
1217 } while (!isTypeLegal(NVT) || in getTypeToPromoteTo()
[all …]
DBasicTTIImpl.h284 bool isTypeLegal(Type *Ty) { in isTypeLegal() function
286 return getTLI()->isTypeLegal(VT); in isTypeLegal()
396 return TLI->isTypeLegal(VT) && in haveFastSqrt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFastISel.cpp191 bool isTypeLegal(Type *Ty, MVT &VT);
689 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in ARMFastISel
698 return TLI.isTypeLegal(VT); in isTypeLegal()
702 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1543 if (!isTypeLegal(Ty, DstVT)) in SelectIToFP()
1588 if (!isTypeLegal(RetTy, DstVT)) in SelectFPToI()
1617 if (!isTypeLegal(I->getType(), VT)) in SelectSelect()
1694 if (!isTypeLegal(Ty, VT)) in SelectDiv()
1723 if (!isTypeLegal(Ty, VT)) in SelectRem()
2212 else if (!isTypeLegal(RetTy, RetVT)) in ARMEmitLibcall()
[all …]
DARMISelLowering.cpp4468 if (!DAG.getTargetLoweringInfo().isTypeLegal(Op.getValueType())) in LowerSignedALUO()
4515 if (!DAG.getTargetLoweringInfo().isTypeLegal(Op.getValueType())) in LowerUnsignedALUO()
4588 if (!DAG.getTargetLoweringInfo().isTypeLegal(Cond->getValueType(0))) in LowerSELECT()
5224 if (!DAG.getTargetLoweringInfo().isTypeLegal(Cond->getValueType(0))) in LowerBRCOND()
5276 if (!DAG.getTargetLoweringInfo().isTypeLegal(LHS->getValueType(0))) in LowerBR_CC()
5796 if (SrcVT == MVT::i64 && TLI.isTypeLegal(DstVT)) { in ExpandBITCAST()
5811 if (DstVT == MVT::i64 && TLI.isTypeLegal(SrcVT)) { in ExpandBITCAST()
12183 if(!DAG.getTargetLoweringInfo().isTypeLegal(VT)) in PerformANDCombine()
12490 if(!DAG.getTargetLoweringInfo().isTypeLegal(VT)) in PerformORCombine()
12526 DAG.getTargetLoweringInfo().isTypeLegal(VT)) { in PerformORCombine()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp145 bool isTypeLegal(Type *Ty, MVT &VT);
274 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in PPCFastISel
283 return TLI.isTypeLegal(VT); in isTypeLegal()
289 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1067 if (!isTypeLegal(DstTy, DstVT)) in SelectIToFP()
1192 if (!isTypeLegal(DstTy, DstVT)) in SelectFPToI()
1205 if (!isTypeLegal(SrcTy, SrcVT)) in SelectFPToI()
1573 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in fastLowerCall()
1619 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8) in fastLowerCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsFastISel.cpp172 bool isTypeLegal(Type *Ty, MVT &VT);
596 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in MipsFastISel
605 return TLI.isTypeLegal(VT); in isTypeLegal()
612 if (isTypeLegal(Ty, VT)) in isTypeSupported()
624 if (isTypeLegal(Ty, VT)) in isLoadTypeLegal()
1107 if (!isTypeLegal(DstTy, DstVT)) in selectFPToInt()
1115 if (!isTypeLegal(SrcTy, SrcVT)) in selectFPToInt()
1531 if (!isTypeLegal(Val->getType(), VT) && in fastLowerCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp182 bool isTypeLegal(Type *Ty, MVT &VT);
553 if (!isTypeLegal(CFP->getType(), VT)) in fastMaterializeFloatZero()
977 bool AArch64FastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in AArch64FastISel
994 return TLI.isTypeLegal(VT); in isTypeLegal()
1005 if (isTypeLegal(Ty, VT)) in isTypeSupported()
2874 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector()) in selectFPToInt()
2907 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector()) in selectIntToFP()
3227 else if (!isTypeLegal(CLI.RetTy, RetVT)) in fastLowerCall()
3241 if (!isTypeLegal(Val->getType(), VT) && in fastLowerCall()
3403 if (!isTypeLegal(RetTy, RetVT)) in foldXALUIntrinsic()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h654 bool isTypeLegal(Type *Ty) const;
1254 virtual bool isTypeLegal(Type *Ty) = 0;
1577 bool isTypeLegal(Type *Ty) override { return Impl.isTypeLegal(Ty); } in isTypeLegal() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVectorUtils.cpp390 !TTI->isTypeLegal(I.getOperand(0)->getType())) in computeMinimumValueSizes()
399 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType())) in computeMinimumValueSizes()
DTargetTransformInfo.cpp374 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { in isTypeLegal() function in TargetTransformInfo
375 return TTIImpl->isTypeLegal(Ty); in isTypeLegal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp2339 && (!hasHardQuad || !TLI.isTypeLegal(VT))) { in LowerFP_TO_SINT()
2347 if (!TLI.isTypeLegal(VT)) in LowerFP_TO_SINT()
2370 && (!hasHardQuad || !TLI.isTypeLegal(OpVT))) { in LowerSINT_TO_FP()
2378 if (!TLI.isTypeLegal(OpVT)) in LowerSINT_TO_FP()
2396 (hasHardQuad && TLI.isTypeLegal(VT))) in LowerFP_TO_UINT()
2417 if (Op.getValueType() != MVT::f128 || (hasHardQuad && TLI.isTypeLegal(OpVT))) in LowerUINT_TO_FP()

12