Home
last modified time | relevance | path

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

12345

/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()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
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()
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()
DFastISel.cpp386 if (!TLI.isTypeLegal(VT)) { in getRegForValue()
608 if (!TLI.isTypeLegal(VT)) { in selectBinaryOp()
1547 if (!TLI.isTypeLegal(DstVT)) in selectCast()
1551 if (!TLI.isTypeLegal(SrcVT)) in selectCast()
1584 !TLI.isTypeLegal(SrcEVT) || !TLI.isTypeLegal(DstEVT)) in selectBitCast()
1626 if (ETy == MVT::Other || !TLI.isTypeLegal(ETy)) in selectFreeze()
1797 if (!TLI.isTypeLegal(IntVT)) in selectFNeg()
1831 if (!TLI.isTypeLegal(VT) && VT != MVT::i1) in selectExtractValue()
2355 if (VT == MVT::Other || !TLI.isTypeLegal(VT)) { in handlePHINodesInSuccessorBlocks()
/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()
/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/
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-project/llvm/lib/CodeGen/
DTargetLoweringBase.cpp908 assert(isTypeLegal(VT)); in canOpTrap()
1096 !TLI->isTypeLegal(MVT::getVectorVT(EltTy, EC))) { in getVectorTypeBreakdownMVT()
1104 if (!TLI->isTypeLegal(NewVT)) in getVectorTypeBreakdownMVT()
1129 if (isTypeLegal(*I)) in isLegalRC()
1322 if (isTypeLegal(IVT)) { in computeRegisterProperties()
1332 if (!isTypeLegal(MVT::ppcf128)) { in computeRegisterProperties()
1333 if (isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1348 if (!isTypeLegal(MVT::f128)) { in computeRegisterProperties()
1357 if (!isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1366 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/llvm-project/llvm/lib/Target/X86/
DX86FastISel.cpp164 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false);
251 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic()
291 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { in isTypeLegal() function in X86FastISel
311 return (AllowI1 && VT == MVT::i1) || TLI.isTypeLegal(VT); in isTypeLegal()
1149 if (!isTypeLegal(Val->getType(), VT, /*AllowI1=*/true)) in X86SelectStore()
1337 if (!isTypeLegal(LI->getType(), VT, /*AllowI1=*/true)) in X86SelectLoad()
1446 if (!isTypeLegal(I->getOperand(0)->getType(), VT)) in X86SelectCmp()
1538 if (!TLI.isTypeLegal(DstVT)) in X86SelectZExt()
1597 if (!TLI.isTypeLegal(DstVT)) in X86SelectSExt()
1729 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) { in X86SelectBranch()
[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-project/llvm/include/llvm/CodeGen/
DTargetLowering.h661 return isTypeLegal(VT) ? VT : MVT::INVALID_SIMPLE_VALUE_TYPE; in hasFastEqualityCompare()
885 bool isTypeLegal(EVT VT) const { in isTypeLegal() function
1109 return (VT == MVT::Other || isTypeLegal(VT)) &&
1123 return (VT == MVT::Other || isTypeLegal(VT)) &&
1137 return (VT == MVT::Other || isTypeLegal(VT)) &&
1204 return (!isTypeLegal(VT) || getOperationAction(Op, VT) == Expand); in isOperationExpand()
1209 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegal()
1254 return isTypeLegal(ValVT) && getTruncStoreAction(ValVT, MemVT) == Legal; in isTruncStoreLegal()
1260 return isTypeLegal(ValVT) && in isTruncStoreLegalOrCustom()
1373 } while (!isTypeLegal(NVT) || in getTypeToPromoteTo()
[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-project/llvm/lib/Target/ARM/
DARMFastISel.cpp190 bool isTypeLegal(Type *Ty, MVT &VT);
676 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in ARMFastISel
685 return TLI.isTypeLegal(VT); in isTypeLegal()
689 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()
2209 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/llvm-project/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp146 bool isTypeLegal(Type *Ty, MVT &VT);
275 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in PPCFastISel
284 return TLI.isTypeLegal(VT); in isTypeLegal()
290 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1069 if (!isTypeLegal(DstTy, DstVT)) in SelectIToFP()
1194 if (!isTypeLegal(DstTy, DstVT)) in SelectFPToI()
1207 if (!isTypeLegal(SrcTy, SrcVT)) in SelectFPToI()
1580 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in fastLowerCall()
1626 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8) 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()

12345