| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | ResourcePriorityQueue.cpp | 94 if (TLI->isTypeLegal(VT) in numberRCValPredInSU() 132 if (TLI->isTypeLegal(VT) in numberRCValSuccInSU() 327 if (TLI->isTypeLegal(VT) in rawRegPressureDelta() 339 if (TLI->isTypeLegal(VT) && TLI->getRegClassFor(VT) in rawRegPressureDelta() 476 if (TLI->isTypeLegal(VT)) { in scheduledNode() 487 if (TLI->isTypeLegal(VT)) { in scheduledNode()
|
| H A D | LegalizeTypesGeneric.cpp | 110 while (!isTypeLegal(NVT)) { in ExpandRes_BITCAST() 120 if (isTypeLegal(NVT)) { in ExpandRes_BITCAST() 350 if (!isTypeLegal(NVT)) { in ExpandOp_BITCAST() 531 isTypeLegal(CondLHSVT) && in SplitRes_Select()
|
| H A D | FastISel.cpp | 248 if (!TLI.isTypeLegal(VT)) { in getRegForValue() 454 if (!TLI.isTypeLegal(VT)) { in selectBinaryOp() 1466 if (!TLI.isTypeLegal(DstVT)) in selectCast() 1470 if (!TLI.isTypeLegal(SrcVT)) in selectCast() 1491 !TLI.isTypeLegal(SrcEVT) || !TLI.isTypeLegal(DstEVT)) in selectBitCast() 1523 if (ETy == MVT::Other || !TLI.isTypeLegal(ETy)) in selectFreeze() 1698 if (!TLI.isTypeLegal(IntVT)) in selectFNeg() 1732 if (!TLI.isTypeLegal(VT) && VT != MVT::i1) in selectExtractValue() 2245 if (VT == MVT::Other || !TLI.isTypeLegal(VT)) { in handlePHINodesInSuccessorBlocks()
|
| H A D | LegalizeTypes.cpp | 139 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(&Node)) { in PerformExpensiveChecks() 458 if (!isTypeLegal(Node.getValueType(i))) { in run() 467 !isTypeLegal(Node.getOperand(i).getValueType())) { in run()
|
| H A D | DAGCombiner.cpp | 5820 if (!TLI.isTypeLegal(XVT)) in hoistLogicOpWithSameOpcodeHands() 19484 if (DC->isTypeLegal(VT)) in ShrinkLoadReplaceStoreWithStore() 20393 if (TLI.isTypeLegal(Ty) && TLI.isTypeLegal(MemVT) && in tryStoreMergeOfConstants() 22164 !(TLI.isTypeLegal(NewScalarVT) && TLI.isTypeLegal(NewVecVT))) in refineExtractVectorEltIntoMultipleNarrowExtractVectorElts() 22625 if (!isTypeLegal(VecVT) || in reduceBuildVecExtToExtBuildVec() 22802 !TLI.isTypeLegal(InVT1) || !TLI.isTypeLegal(InVT2)) in createBuildVecShuffle() 22958 if (!isTypeLegal(VT)) in reduceBuildVecToShuffle() 23347 if (!TLI.isTypeLegal(NewScalarIntVT) || !TLI.isTypeLegal(NewIntVT) || in convertBuildVecZextToBuildVecWithZeros() 23880 if (!TLI.isTypeLegal(NVT) || !TLI.isTypeLegal(Scalar.getValueType())) in visitCONCAT_VECTORS() 24962 if (LegalTypes && !TLI.isTypeLegal(PrescaledVT) && TLI.isTypeLegal(VT)) in combineShuffleToZeroExtendVectorInReg() [all …]
|
| H A D | LegalizeVectorTypes.cpp | 2410 if (TLI.isTypeLegal(SrcVT) && !TLI.isTypeLegal(SplitSrcVT) && in SplitVecRes_ExtendOp() 2411 TLI.isTypeLegal(NewSrcVT) && TLI.isTypeLegal(SplitLoVT)) { in SplitVecRes_ExtendOp() 3848 if (isTypeLegal(LoOutVT) || in SplitVecOp_TruncateHelper() 4003 if (!isTypeLegal(LHSLoVT) || !isTypeLegal(LHSHiVT)) in SplitVecOp_FPOpDifferentTypes() 4787 if (TLI.isTypeLegal(InWidenVT)) { in WidenVecRes_Convert() 5110 if (TLI.isTypeLegal(NewInVT)) { in WidenVecRes_BITCAST() 5368 TLI.isTypeLegal(WideMaskVT)) { in WidenVecRes_LOAD() 6318 if (TLI.isTypeLegal(WideDstVT)) { in WidenVecOp_FP_TO_XINT_SAT() 6344 if (TLI.isTypeLegal(NewVT)) { in WidenVecOp_BITCAST() 6363 if (TLI.isTypeLegal(NewVT)) { in WidenVecOp_BITCAST() [all …]
|
| H A D | InstrEmitter.cpp | 106 if (TLI->isTypeLegal(VT)) in EmitCopyFromReg() 211 if (i < NumResults && TLI->isTypeLegal(Node->getSimpleValueType(i))) { in CreateVirtualRegisters() 391 TLI->isTypeLegal(OpVT) in AddOperand()
|
| H A D | LegalizeIntegerTypes.cpp | 370 if (!TLI.isTypeLegal(SVT)) in PromoteIntRes_AtomicCmpSwap() 500 if (isTypeLegal(WideOutVT)) { in PromoteIntRes_BITCAST() 607 if (!OVT.isVector() && TLI.isTypeLegal(NVT) && in PromoteIntRes_CTLZ() 668 if (!OVT.isVector() && TLI.isTypeLegal(NVT) && in PromoteIntRes_CTTZ() 1143 if (TLI.isTypeLegal(PromotedType)) { in PromoteIntRes_DIVFIX() 4897 if (isTypeLegal(NVT)) { in ExpandIntRes_UDIV() 4940 if (isTypeLegal(NVT)) { in ExpandIntRes_UREM() 5209 if (TLI.isTypeLegal(LHSLo.getValueType()) && in IntegerExpandSetCCOperands() 5210 TLI.isTypeLegal(RHSLo.getValueType())) in IntegerExpandSetCCOperands() 5216 if (TLI.isTypeLegal(LHSHi.getValueType()) && in IntegerExpandSetCCOperands() [all …]
|
| H A D | LegalizeDAG.cpp | 456 TLI.isTypeLegal(MVT::i32)) { in OptimizeFloatStore() 467 if (TLI.isTypeLegal(MVT::i64)) { in OptimizeFloatStore() 474 if (TLI.isTypeLegal(MVT::i32) && !ST->isVolatile()) { in OptimizeFloatStore() 655 if (TLI.isTypeLegal(StVT)) { in LegalizeStoreOps() 896 (TLI.isTypeLegal(SrcVT) || // Same as SrcVT == LoadVT? in LegalizeLoadOps() 1564 if (TLI.isTypeLegal(IVT)) { in getSignAsIntValue() 2632 if (SrcVT == MVT::i32 && TLI.isTypeLegal(MVT::f64) && in ExpandLegalINT_TO_FP() 3413 if (!TLI.isTypeLegal(EltVT)) { in ExpandNode() 3742 assert(TLI.isTypeLegal(HalfType)); in ExpandNode() 4205 assert(TLI.isTypeLegal(VT.getScalarType())&& "Element type must be legal"); in ExpandNode() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 982 assert(isTypeLegal(VT)); in canOpTrap() 1181 if (!TLI->isTypeLegal(NewVT)) in getVectorTypeBreakdownMVT() 1205 if (isTypeLegal(*I)) in isLegalRC() 1368 if (isTypeLegal(IVT)) { in computeRegisterProperties() 1403 if (!isTypeLegal(MVT::f80)) { in computeRegisterProperties() 1412 if (!isTypeLegal(MVT::f64)) { in computeRegisterProperties() 1421 if (!isTypeLegal(MVT::f32)) { in computeRegisterProperties() 1431 if (!isTypeLegal(MVT::f16)) { in computeRegisterProperties() 1460 if (isTypeLegal(VT)) in computeRegisterProperties() 1518 if (isTypeLegal(NVT)) { in computeRegisterProperties() [all …]
|
| H A D | Analysis.cpp | 318 TLI.isTypeLegal(EVT::getEVT(T1)) && TLI.isTypeLegal(EVT::getEVT(T2))); in isNoopBitcast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 239 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic() 1534 if (!TLI.isTypeLegal(DstVT)) in X86SelectZExt() 1592 if (!TLI.isTypeLegal(DstVT)) in X86SelectSExt() 1832 if (!isTypeLegal(I->getType(), VT)) in X86SelectShift() 1919 if (!isTypeLegal(I->getType(), VT)) in X86SelectDivRem() 2519 if (!TLI.isTypeLegal(SrcVT)) in X86SelectTrunc() 2663 if (!isTypeLegal(RetTy, VT)) in fastLowerIntrinsicCall() 2794 if (!isTypeLegal(RetTy, VT)) in fastLowerIntrinsicCall() 2858 if (!isTypeLegal(RetTy, VT)) in fastLowerIntrinsicCall() 2983 if (!isTypeLegal(RetTy, VT)) in fastLowerIntrinsicCall() [all …]
|
| H A D | X86ISelLowering.cpp | 741 if (isTypeLegal(MVT::f16)) in X86TargetLowering() 3181 isTypeLegal(LoadVT) && isTypeLegal(BitcastVT)) in isLoadBitCastBeneficial() 3391 return isTypeLegal(VT); in shouldSplatInsEltVarIndex() 3396 if (isTypeLegal(VT)) in hasFastEqualityCompare() 18090 if (!isTypeLegal(IdxSVT) || !isTypeLegal(IdxVT)) in LowerINSERT_VECTOR_ELT() 20520 if (!TLI.isTypeLegal(VT) || !TLI.isTypeLegal(InVT)) { in LowerTRUNCATE() 47918 if (TLI.isTypeLegal(VT)) in combineAndShuffleNot() 53858 if (TLI.isTypeLegal(VecVT) && TLI.isTypeLegal(BCVT)) { in combineCMP() 55252 if (Subtarget.hasAVX() && TLI.isTypeLegal(VT) && TLI.isTypeLegal(SrcVT)) { in combineCONCAT_VECTORS() 55879 if (TLI.isTypeLegal(VT) && TLI.isTypeLegal(In.getValueType())) in combineEXTEND_VECTOR_INREG() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 720 return isTypeLegal(VT) ? VT : MVT::INVALID_SIMPLE_VALUE_TYPE; in hasFastEqualityCompare() 1031 bool isTypeLegal(EVT VT) const { in isTypeLegal() function 1281 return (VT == MVT::Other || isTypeLegal(VT)) && 1295 return (VT == MVT::Other || isTypeLegal(VT)) && 1309 return (VT == MVT::Other || isTypeLegal(VT)) && 1380 return (!isTypeLegal(VT) || getOperationAction(Op, VT) == Expand); in isOperationExpand() 1385 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegal() 1436 return isTypeLegal(ValVT) && in isTruncStoreLegalOrCustom() 1575 } while (!isTypeLegal(NVT) || in getTypeToPromoteTo() 2907 if (!Load->hasOneUse() && (isTypeLegal(LoadVT) || !isTypeLegal(VT)) && in isExtLoad() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMFastISel.cpp | 186 bool isTypeLegal(Type *Ty, MVT &VT); 671 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in ARMFastISel 680 return TLI.isTypeLegal(VT); in isTypeLegal() 684 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal() 1530 if (!isTypeLegal(Ty, DstVT)) in SelectIToFP() 1575 if (!isTypeLegal(RetTy, DstVT)) in SelectFPToI() 1604 if (!isTypeLegal(I->getType(), VT)) in SelectSelect() 1681 if (!isTypeLegal(Ty, VT)) in SelectDiv() 1710 if (!isTypeLegal(Ty, VT)) in SelectRem() 2210 else if (!isTypeLegal(RetTy, RetVT)) in ARMEmitLibcall() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCFastISel.cpp | 140 bool isTypeLegal(Type *Ty, MVT &VT); 269 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in PPCFastISel 278 return TLI.isTypeLegal(VT); in isTypeLegal() 284 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal() 1065 if (!isTypeLegal(DstTy, DstVT)) in SelectIToFP() 1190 if (!isTypeLegal(DstTy, DstVT)) in SelectFPToI() 1203 if (!isTypeLegal(SrcTy, SrcVT)) in SelectFPToI() 1576 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in fastLowerCall() 1622 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8) in fastLowerCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsFastISel.cpp | 172 bool isTypeLegal(Type *Ty, MVT &VT); 591 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in MipsFastISel 600 return TLI.isTypeLegal(VT); in isTypeLegal() 607 if (isTypeLegal(Ty, VT)) in isTypeSupported() 619 if (isTypeLegal(Ty, VT)) in isLoadTypeLegal() 1098 if (!isTypeLegal(DstTy, DstVT)) in selectFPToInt() 1106 if (!isTypeLegal(SrcTy, SrcVT)) in selectFPToInt() 1522 if (!isTypeLegal(Val->getType(), VT) && in fastLowerCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 184 bool isTypeLegal(Type *Ty, MVT &VT); 565 if (!isTypeLegal(CFP->getType(), VT)) in fastMaterializeFloatZero() 1002 return TLI.isTypeLegal(VT); in isTypeLegal() 1013 if (isTypeLegal(Ty, VT)) in isTypeSupported() 3357 if (!isTypeLegal(RetTy, RetVT)) in foldXALUIntrinsic() 3583 if (!isTypeLegal(II->getType(), VT)) in fastLowerIntrinsicCall() 3619 if (!isTypeLegal(RetTy, VT)) in fastLowerIntrinsicCall() 3645 if (!isTypeLegal(RetTy, VT)) in fastLowerIntrinsicCall() 4801 if (!isTypeLegal(I->getType(), RetVT)) in selectBitCast() 4876 if (!isTypeLegal(I->getType(), VT)) in selectSDiv() [all …]
|
| H A D | AArch64ISelLowering.cpp | 4411 if (isTypeLegal(OpVT) && !isTypeLegal(ArgVT)) { in LowerBITCAST() 13412 isTypeLegal(Op.getValueType()) && in LowerCONCAT_VECTORS() 13589 if (!isTypeLegal(VT)) in LowerINSERT_SUBVECTOR() 19844 TLI.isTypeLegal(Op.getValueType()) && in getPTest() 23137 if (!TLI.isTypeLegal(Base.getValueType())) in performScatterStoreCombine() 23147 if (!TLI.isTypeLegal(Offset.getValueType())) in performScatterStoreCombine() 23245 if (!TLI.isTypeLegal(Base.getValueType())) in performGatherLoadCombine() 24396 if (VT.isScalableVector() && !isTypeLegal(VT) && isTypeLegal(SrcVT)) { in ReplaceBITCASTResults() 26121 assert(isTypeLegal(V.getValueType()) && in LowerToPredicatedOp() 26172 isTypeLegal(V.getValueType()) && in LowerToScalableOp() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 846 if (!isTypeLegal(Src) || !isTypeLegal(Dst)) in getCastInstrCost() 1193 if (!isTypeLegal(Val)) in getVectorInstrCost()
|
| H A D | RISCVISelLowering.cpp | 718 if (!isTypeLegal(VT)) in RISCVTargetLowering() 785 if (!isTypeLegal(VT)) in RISCVTargetLowering() 1021 if (!isTypeLegal(VT)) in RISCVTargetLowering() 1027 if (!isTypeLegal(VT)) in RISCVTargetLowering() 1061 if (!isTypeLegal(VT)) in RISCVTargetLowering() 1070 if (!isTypeLegal(VT)) in RISCVTargetLowering() 5099 if (!isTypeLegal(VT)) in isShuffleMaskLegal() 5920 if (isTypeLegal(VT) && isTypeLegal(Op0VT)) in LowerOperation() 9229 if (!isTypeLegal(VecEVT)) in lowerVECREDUCE() 15891 if (!isTypeLegal(VT)) in PerformDAGCombine() [all …]
|
| H A D | RISCVGatherScatterLowering.cpp | 479 if (!TLI->isTypeLegal(DataTypeVT)) in tryCreateStridedLoadStore()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 843 bool isTypeLegal(Type *Ty) const; 1866 virtual bool isTypeLegal(Type *Ty) = 0; 2375 bool isTypeLegal(Type *Ty) override { return Impl.isTypeLegal(Ty); } in isTypeLegal() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 565 !TTI->isTypeLegal(I.getOperand(0)->getType())) in computeMinimumValueSizes() 574 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType())) in computeMinimumValueSizes()
|
| H A D | TargetTransformInfo.cpp | 543 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { in isTypeLegal() function in TargetTransformInfo 544 return TTIImpl->isTypeLegal(Ty); in isTypeLegal()
|