Home
last modified time | relevance | path

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

1234

/external/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()
/external/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 …]
/external/llvm/lib/CodeGen/SelectionDAG/
DResourcePriorityQueue.cpp97 if (TLI->isTypeLegal(VT) in numberRCValPredInSU()
135 if (TLI->isTypeLegal(VT) in numberRCValSuccInSU()
335 if (TLI->isTypeLegal(VT) in rawRegPressureDelta()
347 if (TLI->isTypeLegal(VT) && TLI->getRegClassFor(VT) in rawRegPressureDelta()
488 if (TLI->isTypeLegal(VT)) { in scheduledNode()
499 if (TLI->isTypeLegal(VT)) { in scheduledNode()
DLegalizeTypes.cpp130 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(&Node)) { in PerformExpensiveChecks()
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()
1135 TLI.isTypeLegal(ValVT) && in WidenTargetBoolean()
DFastISel.cpp180 if (!TLI.isTypeLegal(VT)) { in getRegForValue()
395 if (!TLI.isTypeLegal(VT)) { in selectBinaryOp()
1255 if (!TLI.isTypeLegal(DstVT)) in selectCast()
1259 if (!TLI.isTypeLegal(SrcVT)) in selectCast()
1292 !TLI.isTypeLegal(SrcEVT) || !TLI.isTypeLegal(DstEVT)) in selectBitCast()
1497 if (!TLI.isTypeLegal(IntVT)) in selectFNeg()
1531 if (!TLI.isTypeLegal(VT) && VT != MVT::i1) in selectExtractValue()
2058 if (VT == MVT::Other || !TLI.isTypeLegal(VT)) { in handlePHINodesInSuccessorBlocks()
DLegalizeTypesGeneric.cpp114 while (!isTypeLegal(NVT)) { in ExpandRes_BITCAST()
124 if (isTypeLegal(NVT)) { in ExpandRes_BITCAST()
361 if (!isTypeLegal(NVT)) { in ExpandOp_BITCAST()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp962 assert(isTypeLegal(VT)); in canOpTrap()
1134 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { in getVectorTypeBreakdownMVT()
1142 if (!TLI->isTypeLegal(NewVT)) in getVectorTypeBreakdownMVT()
1167 if (isTypeLegal(*I)) in isLegalRC()
1325 if (isTypeLegal(IVT)) { in computeRegisterProperties()
1335 if (!isTypeLegal(MVT::ppcf128)) { in computeRegisterProperties()
1336 if (isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1351 if (!isTypeLegal(MVT::f128)) { in computeRegisterProperties()
1360 if (!isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1369 if (!isTypeLegal(MVT::f32)) { in computeRegisterProperties()
[all …]
/external/llvm/include/llvm/Target/
DTargetLowering.h457 bool isTypeLegal(EVT VT) const { in isTypeLegal() function
610 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrCustom()
619 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrPromote()
628 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrCustomOrPromote()
638 return (!isTypeLegal(VT) && getOperationAction(Op, VT) == Custom); in isOperationCustom()
645 return (!isTypeLegal(VT) || getOperationAction(Op, VT) == Expand); in isOperationExpand()
650 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegal()
695 return isTypeLegal(ValVT) && getTruncStoreAction(ValVT, MemVT) == Legal; in isTruncStoreLegal()
701 return isTypeLegal(ValVT) && in isTruncStoreLegalOrCustom()
786 } while (!isTypeLegal(NVT) || in getTypeToPromoteTo()
[all …]
/external/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 …]
/external/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 …]
/external/llvm/lib/Target/X86/
DX86FastISel.cpp161 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false);
280 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic()
320 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { in isTypeLegal() function in X86FastISel
340 return (AllowI1 && VT == MVT::i1) || TLI.isTypeLegal(VT); in isTypeLegal()
1117 if (!isTypeLegal(Val->getType(), VT, /*AllowI1=*/true)) in X86SelectStore()
1305 if (!isTypeLegal(LI->getType(), VT, /*AllowI1=*/true)) in X86SelectLoad()
1412 if (!isTypeLegal(I->getOperand(0)->getType(), VT)) in X86SelectCmp()
1507 if (!TLI.isTypeLegal(DstVT)) in X86SelectZExt()
1644 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) { in X86SelectBranch()
1745 if (!isTypeLegal(I->getType(), VT)) in X86SelectShift()
[all …]
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h364 bool isTypeLegal(Type *Ty) const;
664 virtual bool isTypeLegal(Type *Ty) = 0;
829 bool isTypeLegal(Type *Ty) override { return Impl.isTypeLegal(Ty); } in isTypeLegal() function
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp146 bool isTypeLegal(Type *Ty, MVT &VT);
282 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in PPCFastISel
291 return TLI.isTypeLegal(VT); in isTypeLegal()
297 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1002 if (!isTypeLegal(DstTy, DstVT)) in SelectIToFP()
1111 if (!isTypeLegal(DstTy, DstVT)) in SelectFPToI()
1123 if (!isTypeLegal(SrcTy, SrcVT)) in SelectFPToI()
1483 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in fastLowerCall()
1529 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8) in fastLowerCall()
/external/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 …]
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp161 bool isTypeLegal(Type *Ty, MVT &VT);
693 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in ARMFastISel
702 return TLI.isTypeLegal(VT); in isTypeLegal()
706 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1540 if (!isTypeLegal(Ty, DstVT)) in SelectIToFP()
1584 if (!isTypeLegal(RetTy, DstVT)) in SelectFPToI()
1612 if (!isTypeLegal(I->getType(), VT)) in SelectSelect()
1689 if (!isTypeLegal(Ty, VT)) in SelectDiv()
1717 if (!isTypeLegal(Ty, VT)) in SelectRem()
2195 else if (!isTypeLegal(RetTy, RetVT)) in ARMEmitLibcall()
[all …]
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp124 bool isTypeLegal(Type *Ty, MVT &VT);
554 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in MipsFastISel
563 return TLI.isTypeLegal(VT); in isTypeLegal()
570 if (isTypeLegal(Ty, VT)) in isTypeSupported()
582 if (isTypeLegal(Ty, VT)) in isLoadTypeLegal()
1054 if (!isTypeLegal(DstTy, DstVT)) in selectFPToInt()
1062 if (!isTypeLegal(SrcTy, SrcVT)) in selectFPToInt()
1291 if (!isTypeLegal(Val->getType(), VT) && in fastLowerCall()
/external/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()
/external/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()
/external/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 …]
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp161 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { in isTypeLegal() function in TargetTransformInfo
162 return TTIImpl->isTypeLegal(Ty); in isTypeLegal()
DVectorUtils.cpp331 !TTI->isTypeLegal(I.getOperand(0)->getType())) in computeMinimumValueSizes()
340 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType())) in computeMinimumValueSizes()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp139 bool isTypeLegal(Type *Ty, MVT &VT);
479 if (!isTypeLegal(CFP->getType(), VT)) in fastMaterializeFloatZero()
904 bool AArch64FastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in AArch64FastISel
918 return TLI.isTypeLegal(VT); in isTypeLegal()
929 if (isTypeLegal(Ty, VT)) in isTypeSupported()
2743 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector()) in selectFPToInt()
2776 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector()) in selectIntToFP()
3091 else if (!isTypeLegal(CLI.RetTy, RetVT)) in fastLowerCall()
3105 if (!isTypeLegal(Val->getType(), VT) && in fastLowerCall()
3256 if (!isTypeLegal(RetTy, RetVT)) in foldXALUIntrinsic()
[all …]
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h155 bool isTypeLegal(Type *Ty) { in isTypeLegal() function
157 return getTLI()->isTypeLegal(VT); in isTypeLegal()
200 return TLI->isTypeLegal(VT) && in haveFastSqrt()

1234