Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DResourcePriorityQueue.cpp98 if (TLI->isTypeLegal(VT) in numberRCValPredInSU()
136 if (TLI->isTypeLegal(VT) in numberRCValSuccInSU()
332 if (TLI->isTypeLegal(VT) in rawRegPressureDelta()
344 if (TLI->isTypeLegal(VT) && TLI->getRegClassFor(VT) in rawRegPressureDelta()
481 if (TLI->isTypeLegal(VT)) { in scheduledNode()
492 if (TLI->isTypeLegal(VT)) { in scheduledNode()
H A DLegalizeTypesGeneric.cpp110 while (!isTypeLegal(NVT)) { in ExpandRes_BITCAST()
120 if (isTypeLegal(NVT)) { in ExpandRes_BITCAST()
352 if (!isTypeLegal(NVT)) { in ExpandOp_BITCAST()
533 isTypeLegal(CondLHSVT) && in SplitRes_SELECT()
H A DFastISel.cpp251 if (!TLI.isTypeLegal(VT)) { in getRegForValue()
462 if (!TLI.isTypeLegal(VT)) { in selectBinaryOp()
1367 if (!TLI.isTypeLegal(DstVT)) in selectCast()
1371 if (!TLI.isTypeLegal(SrcVT)) in selectCast()
1402 !TLI.isTypeLegal(SrcEVT) || !TLI.isTypeLegal(DstEVT)) in selectBitCast()
1443 if (ETy == MVT::Other || !TLI.isTypeLegal(ETy)) in selectFreeze()
1618 if (!TLI.isTypeLegal(IntVT)) in selectFNeg()
1652 if (!TLI.isTypeLegal(VT) && VT != MVT::i1) in selectExtractValue()
2160 if (VT == MVT::Other || !TLI.isTypeLegal(VT)) { in handlePHINodesInSuccessorBlocks()
H A DLegalizeTypes.cpp139 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(&Node)) { in PerformExpensiveChecks()
453 if (!isTypeLegal(Node.getValueType(i))) { in run()
462 !isTypeLegal(Node.getOperand(i).getValueType())) { in run()
H A DLegalizeVectorTypes.cpp1963 if (TLI.isTypeLegal(SrcVT) && !TLI.isTypeLegal(SplitSrcVT) && in SplitVecRes_ExtendOp()
1964 TLI.isTypeLegal(NewSrcVT) && TLI.isTypeLegal(SplitLoVT)) { in SplitVecRes_ExtendOp()
2811 if (isTypeLegal(LoOutVT) || in SplitVecOp_TruncateHelper()
3226 } while (!TLI.isTypeLegal(NextVT)); in CollectOpsToWiden()
3283 while (!TLI.isTypeLegal(VT) && NumElts != 1) { in WidenVecRes_BinaryCanTrap()
3327 } while (!TLI.isTypeLegal(VT) && NumElts != 1); in WidenVecRes_BinaryCanTrap()
3369 while (!TLI.isTypeLegal(VT) && NumElts != 1) { in WidenVecRes_StrictFP()
3433 } while (!TLI.isTypeLegal(VT) && NumElts != 1); in WidenVecRes_StrictFP()
3570 if (TLI.isTypeLegal(InWidenVT)) { in WidenVecRes_Convert()
3840 if (TLI.isTypeLegal(NewInVT)) { in WidenVecRes_BITCAST()
[all …]
H A DDAGCombiner.cpp251 TLI.isTypeLegal(EVT(VT)) && in DAGCombiner()
783 bool isTypeLegal(const EVT &VT) { in isTypeLegal() function in __anon58e6a55b0111::DAGCombiner
785 return TLI.isTypeLegal(VT); in isTypeLegal()
4010 if (!TLI.isTypeLegal(VT) && !TLI.isOperationCustom(DivRemOpc, VT)) in useDivRem()
4844 if (!TLI.isTypeLegal(XVT)) in hoistLogicOpWithSameOpcodeHands()
4882 !(VT.isVector() && TLI.isTypeLegal(VT) && in hoistLogicOpWithSameOpcodeHands()
4883 !XVT.isVector() && !TLI.isTypeLegal(XVT))) { in hoistLogicOpWithSameOpcodeHands()
5536 if (!TLI.isTypeLegal(VT)) in combineShiftAnd1ToBitTest()
6379 TLI.isTypeLegal(VT)) { in visitOR()
6900 if (!TLI.isTypeLegal(VT)) in MatchRotate()
[all …]
H A DInstrEmitter.cpp110 if (TLI->isTypeLegal(VT)) in EmitCopyFromReg()
217 if (i < NumResults && TLI->isTypeLegal(Node->getSimpleValueType(i))) { in CreateVirtualRegisters()
390 TLI->isTypeLegal(OpVT) in AddOperand()
H A DLegalizeDAG.cpp446 TLI.isTypeLegal(MVT::i32)) { in OptimizeFloatStore()
456 if (TLI.isTypeLegal(MVT::i64)) { in OptimizeFloatStore()
463 if (TLI.isTypeLegal(MVT::i32) && !ST->isVolatile()) { in OptimizeFloatStore()
643 if (TLI.isTypeLegal(StVT)) { in LegalizeStoreOps()
881 if (TLI.isTypeLegal(SrcVT) || // Same as SrcVT == LoadVT? in LegalizeLoadOps()
1493 if (TLI.isTypeLegal(IVT)) { in getSignAsIntValue()
2306 if (SrcVT == MVT::i32 && TLI.isTypeLegal(MVT::f64) && in ExpandLegalINT_TO_FP()
3006 if (!TLI.isTypeLegal(EltVT)) { in ExpandNode()
3298 assert(TLI.isTypeLegal(HalfType)); in ExpandNode()
3747 assert(TLI.isTypeLegal(VT.getScalarType())&& "Element type must be legal"); in ExpandNode()
[all …]
H A DLegalizeIntegerTypes.cpp293 if (!TLI.isTypeLegal(SVT)) in PromoteIntRes_AtomicCmpSwap()
424 if (isTypeLegal(WideOutVT)) { in PromoteIntRes_BITCAST()
972 if (TLI.isTypeLegal(PromotedType)) { in PromoteIntRes_DIVFIX()
1697 assert(!((NumElts & 1) && (!TLI.isTypeLegal(VecVT))) && in PromoteIntOp_BUILD_VECTOR()
3760 (Action == TargetLowering::Legal && TLI.isTypeLegal(NVT)) || in ExpandIntRes_Shift()
4298 if (TLI.isTypeLegal(LHSLo.getValueType()) && in IntegerExpandSetCCOperands()
4299 TLI.isTypeLegal(RHSLo.getValueType())) in IntegerExpandSetCCOperands()
4305 if (TLI.isTypeLegal(LHSHi.getValueType()) && in IntegerExpandSetCCOperands()
4306 TLI.isTypeLegal(RHSHi.getValueType())) in IntegerExpandSetCCOperands()
H A DLegalizeTypes.h67 bool isTypeLegal(EVT VT) const { in isTypeLegal() function
73 return VT.isSimple() && TLI.isTypeLegal(VT); in isSimpleLegalType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp906 assert(isTypeLegal(VT)); in canOpTrap()
1097 !TLI->isTypeLegal(MVT::getVectorVT(EltTy, EC))) { in getVectorTypeBreakdownMVT()
1105 if (!TLI->isTypeLegal(NewVT)) in getVectorTypeBreakdownMVT()
1130 if (isTypeLegal(*I)) in isLegalRC()
1293 if (isTypeLegal(IVT)) { in computeRegisterProperties()
1303 if (!isTypeLegal(MVT::ppcf128)) { in computeRegisterProperties()
1304 if (isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1319 if (!isTypeLegal(MVT::f128)) { in computeRegisterProperties()
1328 if (!isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1337 if (!isTypeLegal(MVT::f32)) { in computeRegisterProperties()
[all …]
H A DAnalysis.cpp248 TLI.isTypeLegal(EVT::getEVT(T1)) && TLI.isTypeLegal(EVT::getEVT(T2))); in isNoopBitcast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86FastISel.cpp163 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false);
248 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic()
296 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { in isTypeLegal() function in X86FastISel
316 return (AllowI1 && VT == MVT::i1) || TLI.isTypeLegal(VT); in isTypeLegal()
1151 if (!isTypeLegal(Val->getType(), VT, /*AllowI1=*/true)) in X86SelectStore()
1340 if (!isTypeLegal(LI->getType(), VT, /*AllowI1=*/true)) in X86SelectLoad()
1449 if (!isTypeLegal(I->getOperand(0)->getType(), VT)) in X86SelectCmp()
1544 if (!TLI.isTypeLegal(DstVT)) in X86SelectZExt()
1602 if (!TLI.isTypeLegal(DstVT)) in X86SelectSExt()
1732 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) { in X86SelectBranch()
[all …]
H A DX86ISelLowering.cpp641 if (isTypeLegal(MVT::f32)) { in X86TargetLowering()
651 if (isTypeLegal(MVT::f64)) { in X86TargetLowering()
763 if (isTypeLegal(MVT::f32)) { in X86TargetLowering()
767 if (isTypeLegal(MVT::f64)) { in X86TargetLowering()
771 if (isTypeLegal(MVT::f80)) { in X86TargetLowering()
5392 isTypeLegal(LoadVT) && isTypeLegal(BitcastVT)) in isLoadBitCastBeneficial()
5529 return isTypeLegal(VT); in shouldSplatInsEltVarIndex()
5534 if (isTypeLegal(VT)) in hasFastEqualityCompare()
5538 if (NumBits == 128 && isTypeLegal(MVT::v16i8)) in hasFastEqualityCompare()
5542 if (NumBits == 256 && isTypeLegal(MVT::v32i8)) in hasFastEqualityCompare()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetLowering.h665 return isTypeLegal(VT) ? VT : MVT::INVALID_SIMPLE_VALUE_TYPE; in hasFastEqualityCompare()
889 bool isTypeLegal(EVT VT) const { in isTypeLegal() function
1113 return (VT == MVT::Other || isTypeLegal(VT)) &&
1127 return (VT == MVT::Other || isTypeLegal(VT)) &&
1141 return (VT == MVT::Other || isTypeLegal(VT)) &&
1208 return (!isTypeLegal(VT) || getOperationAction(Op, VT) == Expand); in isOperationExpand()
1213 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegal()
1258 return isTypeLegal(ValVT) && getTruncStoreAction(ValVT, MemVT) == Legal; in isTruncStoreLegal()
1264 return isTypeLegal(ValVT) && in isTruncStoreLegalOrCustom()
1381 } while (!isTypeLegal(NVT) || in getTypeToPromoteTo()
[all …]
H A DBasicTTIImpl.h354 bool isTypeLegal(Type *Ty) { in isTypeLegal() function
356 return getTLI()->isTypeLegal(VT); in isTypeLegal()
463 return TLI->isTypeLegal(VT) && in haveFastSqrt()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMFastISel.cpp187 bool isTypeLegal(Type *Ty, MVT &VT);
673 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in ARMFastISel
682 return TLI.isTypeLegal(VT); in isTypeLegal()
686 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1527 if (!isTypeLegal(Ty, DstVT)) in SelectIToFP()
1572 if (!isTypeLegal(RetTy, DstVT)) in SelectFPToI()
1601 if (!isTypeLegal(I->getType(), VT)) in SelectSelect()
1678 if (!isTypeLegal(Ty, VT)) in SelectDiv()
1707 if (!isTypeLegal(Ty, VT)) in SelectRem()
2205 else if (!isTypeLegal(RetTy, RetVT)) in ARMEmitLibcall()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp141 bool isTypeLegal(Type *Ty, MVT &VT);
270 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in PPCFastISel
279 return TLI.isTypeLegal(VT); in isTypeLegal()
285 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1064 if (!isTypeLegal(DstTy, DstVT)) in SelectIToFP()
1189 if (!isTypeLegal(DstTy, DstVT)) in SelectFPToI()
1202 if (!isTypeLegal(SrcTy, SrcVT)) in SelectFPToI()
1575 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in fastLowerCall()
1621 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8) in fastLowerCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp172 bool isTypeLegal(Type *Ty, MVT &VT);
595 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in MipsFastISel
604 return TLI.isTypeLegal(VT); in isTypeLegal()
611 if (isTypeLegal(Ty, VT)) in isTypeSupported()
623 if (isTypeLegal(Ty, VT)) in isLoadTypeLegal()
1104 if (!isTypeLegal(DstTy, DstVT)) in selectFPToInt()
1112 if (!isTypeLegal(SrcTy, SrcVT)) in selectFPToInt()
1528 if (!isTypeLegal(Val->getType(), VT) && in fastLowerCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp182 bool isTypeLegal(Type *Ty, MVT &VT);
538 if (!isTypeLegal(CFP->getType(), VT)) in fastMaterializeFloatZero()
958 bool AArch64FastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in AArch64FastISel
975 return TLI.isTypeLegal(VT); in isTypeLegal()
986 if (isTypeLegal(Ty, VT)) in isTypeSupported()
2805 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector()) in selectFPToInt()
2838 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector()) in selectIntToFP()
3156 else if (!isTypeLegal(CLI.RetTy, RetVT)) in fastLowerCall()
3170 if (!isTypeLegal(Val->getType(), VT) && in fastLowerCall()
3333 if (!isTypeLegal(RetTy, RetVT)) in foldXALUIntrinsic()
[all …]
H A DAArch64ISelLowering.cpp192 assert(VT.isVector() && DAG.getTargetLoweringInfo().isTypeLegal(VT) && in isPackedVectorType()
3048 if (!DAG.getTargetLoweringInfo().isTypeLegal(Sel->getValueType(0))) in LowerXOR()
3118 if (!DAG.getTargetLoweringInfo().isTypeLegal(VT)) in LowerADDC_ADDE_SUBC_SUBE()
3152 if (!DAG.getTargetLoweringInfo().isTypeLegal(Op.getValueType())) in LowerXALUO()
3797 } else if (Ty.isVector() && Ty.isInteger() && isTypeLegal(Ty)) { in LowerINTRINSIC_WO_CHAIN()
6619 if (!DAG.getTargetLoweringInfo().isTypeLegal(LHS->getValueType(0))) in LowerBR_CC()
7207 if (!DAG.getTargetLoweringInfo().isTypeLegal(CCVal->getValueType(0))) in LowerSELECT()
9228 if (!isTypeLegal(VT) || !VT.isScalableVector()) in LowerDUPQLane()
10039 isTypeLegal(Op.getValueType()) && in LowerCONCAT_VECTORS()
10042 if (isTypeLegal(Op.getOperand(0).getValueType()) && Op.getNumOperands() == 2) in LowerCONCAT_VECTORS()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h709 bool isTypeLegal(Type *Ty) const;
1530 virtual bool isTypeLegal(Type *Ty) = 0;
1924 bool isTypeLegal(Type *Ty) override { return Impl.isTypeLegal(Ty); } in isTypeLegal() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DVectorUtils.cpp505 !TTI->isTypeLegal(I.getOperand(0)->getType())) in computeMinimumValueSizes()
514 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType())) in computeMinimumValueSizes()
H A DTargetTransformInfo.cpp448 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { in isTypeLegal() function in TargetTransformInfo
449 return TTIImpl->isTypeLegal(Ty); in isTypeLegal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2345 && (!hasHardQuad || !TLI.isTypeLegal(VT))) { in LowerFP_TO_SINT()
2353 if (!TLI.isTypeLegal(VT)) in LowerFP_TO_SINT()
2376 && (!hasHardQuad || !TLI.isTypeLegal(OpVT))) { in LowerSINT_TO_FP()
2384 if (!TLI.isTypeLegal(OpVT)) in LowerSINT_TO_FP()
2402 (hasHardQuad && TLI.isTypeLegal(VT))) in LowerFP_TO_UINT()
2423 if (Op.getValueType() != MVT::f128 || (hasHardQuad && TLI.isTypeLegal(OpVT))) in LowerUINT_TO_FP()

12