Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DResourcePriorityQueue.cpp94 if (TLI->isTypeLegal(VT) in numberRCValPredInSU()
131 if (TLI->isTypeLegal(VT) in numberRCValSuccInSU()
327 if (TLI->isTypeLegal(VT) in rawRegPressureDelta()
339 if (TLI->isTypeLegal(VT) && TLI->getRegClassFor(VT) in rawRegPressureDelta()
475 if (TLI->isTypeLegal(VT)) { in scheduledNode()
486 if (TLI->isTypeLegal(VT)) { in scheduledNode()
DLegalizeTypes.cpp139 } else if (isTypeLegal(VT) || IgnoreNodeResults(&Node)) { in PerformExpensiveChecks()
450 if (!isTypeLegal(Node.getValueType(i)) && in run()
451 !TLI.isTypeLegal(Node.getValueType(i))) { in run()
460 !isTypeLegal(Node.getOperand(i).getValueType()) && in run()
461 !TLI.isTypeLegal(Node.getOperand(i).getValueType())) { in run()
DFastISel.cpp371 if (!TLI.isTypeLegal(VT)) { in getRegForValue()
584 if (!TLI.isTypeLegal(VT)) { in selectBinaryOp()
1473 if (!TLI.isTypeLegal(DstVT)) in selectCast()
1477 if (!TLI.isTypeLegal(SrcVT)) in selectCast()
1510 !TLI.isTypeLegal(SrcEVT) || !TLI.isTypeLegal(DstEVT)) in selectBitCast()
1702 if (!TLI.isTypeLegal(IntVT)) in selectFNeg()
1736 if (!TLI.isTypeLegal(VT) && VT != MVT::i1) in selectExtractValue()
2249 if (VT == MVT::Other || !TLI.isTypeLegal(VT)) { in handlePHINodesInSuccessorBlocks()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp705 assert(isTypeLegal(VT)); in canOpTrap()
875 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { in getVectorTypeBreakdownMVT()
883 if (!TLI->isTypeLegal(NewVT)) in getVectorTypeBreakdownMVT()
908 if (isTypeLegal(*I)) in isLegalRC()
1095 if (isTypeLegal(IVT)) { in computeRegisterProperties()
1105 if (!isTypeLegal(MVT::ppcf128)) { in computeRegisterProperties()
1106 if (isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1121 if (!isTypeLegal(MVT::f128)) { in computeRegisterProperties()
1130 if (!isTypeLegal(MVT::f64)) { in computeRegisterProperties()
1139 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()
/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/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FastISel.cpp138 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false);
148 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { in isTypeLegal() function in X86FastISel
168 return (AllowI1 && VT == MVT::i1) || TLI.isTypeLegal(VT); in isTypeLegal()
678 if (!isTypeLegal(I->getOperand(0)->getType(), VT, /*AllowI1=*/true)) in X86SelectStore()
804 if (!isTypeLegal(I->getType(), VT, /*AllowI1=*/true)) in X86SelectLoad()
893 if (!isTypeLegal(I->getOperand(0)->getType(), VT)) in X86SelectCmp()
973 if (!TLI.isTypeLegal(DstVT)) in X86SelectZExt()
1081 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) { in X86SelectBranch()
1170 if (!isTypeLegal(I->getType(), VT)) in X86SelectShift()
1197 if (!isTypeLegal(I->getType(), VT)) in X86SelectSelect()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMFastISel.cpp174 bool isTypeLegal(Type *Ty, MVT &VT);
685 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in ARMFastISel
694 return TLI.isTypeLegal(VT); in isTypeLegal()
698 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1107 && isTypeLegal(Ty, SourceVT)) { in SelectBranch()
1222 if (!isTypeLegal(Ty, VT)) in SelectCmp()
1330 if (!isTypeLegal(Ty, DstVT)) in SelectSIToFP()
1364 if (!isTypeLegal(RetTy, DstVT)) in SelectFPToSI()
1393 if (!isTypeLegal(I->getType(), VT)) in SelectSelect()
1422 if (!isTypeLegal(Ty, VT)) in SelectSDiv()
[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/lib/CodeGen/SelectionDAG/
DFastISel.cpp118 if (!TLI.isTypeLegal(VT)) { in getRegForValue()
331 if (!TLI.isTypeLegal(VT)) { in SelectBinaryOp()
674 if (!TLI.isTypeLegal(DstVT)) in SelectCast()
678 if (!TLI.isTypeLegal(SrcVT)) in SelectCast()
715 !TLI.isTypeLegal(SrcVT) || !TLI.isTypeLegal(DstVT)) in SelectBitCast()
814 if (!TLI.isTypeLegal(IntVT)) in SelectFNeg()
850 if (!TLI.isTypeLegal(VT) && VT != MVT::i1) in SelectExtractValue()
1356 if (VT == MVT::Other || !TLI.isTypeLegal(VT)) { in HandlePHINodesInSuccessorBlocks()
DTargetLowering.cpp639 assert(isTypeLegal(VT)); in canOpTrap()
673 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { in getVectorTypeBreakdownMVT()
681 if (!TLI->isTypeLegal(NewVT)) in getVectorTypeBreakdownMVT()
706 if (isTypeLegal(*I)) in isLegalRC()
785 if (isTypeLegal(IVT)) { in computeRegisterProperties()
795 if (!isTypeLegal(MVT::ppcf128)) { in computeRegisterProperties()
804 if (!isTypeLegal(MVT::f64)) { in computeRegisterProperties()
813 if (!isTypeLegal(MVT::f32)) { in computeRegisterProperties()
814 if (isTypeLegal(MVT::f64)) { in computeRegisterProperties()
831 if (isTypeLegal(VT)) continue; in computeRegisterProperties()
[all …]
DLegalizeTypesGeneric.cpp102 if (isTypeLegal(NVT)) { in ExpandRes_BITCAST()
282 if (isTypeLegal(NVT)) { in ExpandOp_BITCAST()
415 assert(isTypeLegal(Ptr.getValueType()) && "Pointers must be legal!"); in ExpandOp_NormalStore()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h484 return isTypeLegal(VT) ? VT : MVT::INVALID_SIMPLE_VALUE_TYPE; in hasFastEqualityCompare()
634 bool isTypeLegal(EVT VT) const { in isTypeLegal() function
830 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrCustom()
839 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrPromote()
848 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrCustomOrPromote()
932 return (!isTypeLegal(VT) || getOperationAction(Op, VT) == Expand); in isOperationExpand()
937 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegal()
982 return isTypeLegal(ValVT) && getTruncStoreAction(ValVT, MemVT) == Legal; in isTruncStoreLegal()
988 return isTypeLegal(ValVT) && in isTruncStoreLegalOrCustom()
1077 } while (!isTypeLegal(NVT) || in getTypeToPromoteTo()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLowering.h230 bool isTypeLegal(EVT VT) const { in isTypeLegal() function
381 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegalOrCustom()
389 return (VT == MVT::Other || isTypeLegal(VT)) && in isOperationLegal()
425 return isTypeLegal(ValVT) && MemVT.isSimple() && in isTruncStoreLegal()
513 } while (!isTypeLegal(NVT) || in getTypeToPromoteTo()
938 return isTypeLegal(VT); in isTypeDesirableForOp()
/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/swiftshader/third_party/llvm-7.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()
1141 if (!isTypeLegal(Val->getType(), VT, /*AllowI1=*/true)) in X86SelectStore()
1327 if (!isTypeLegal(LI->getType(), VT, /*AllowI1=*/true)) in X86SelectLoad()
1441 if (!isTypeLegal(I->getOperand(0)->getType(), VT)) in X86SelectCmp()
1533 if (!TLI.isTypeLegal(DstVT)) in X86SelectZExt()
1592 if (!TLI.isTypeLegal(DstVT)) in X86SelectSExt()
1726 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) { in X86SelectBranch()
[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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMFastISel.cpp192 bool isTypeLegal(Type *Ty, MVT &VT);
692 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in ARMFastISel
701 return TLI.isTypeLegal(VT); in isTypeLegal()
705 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1554 if (!isTypeLegal(Ty, DstVT)) in SelectIToFP()
1599 if (!isTypeLegal(RetTy, DstVT)) in SelectFPToI()
1628 if (!isTypeLegal(I->getType(), VT)) in SelectSelect()
1705 if (!isTypeLegal(Ty, VT)) in SelectDiv()
1734 if (!isTypeLegal(Ty, VT)) in SelectRem()
2221 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-7.0/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp146 bool isTypeLegal(Type *Ty, MVT &VT);
285 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in PPCFastISel
294 return TLI.isTypeLegal(VT); in isTypeLegal()
300 if (isTypeLegal(Ty, VT)) return true; in isLoadTypeLegal()
1061 if (!isTypeLegal(DstTy, DstVT)) in SelectIToFP()
1186 if (!isTypeLegal(DstTy, DstVT)) in SelectFPToI()
1199 if (!isTypeLegal(SrcTy, SrcVT)) in SelectFPToI()
1570 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in fastLowerCall()
1616 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8) in fastLowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsFastISel.cpp170 bool isTypeLegal(Type *Ty, MVT &VT);
594 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal() function in MipsFastISel
603 return TLI.isTypeLegal(VT); in isTypeLegal()
610 if (isTypeLegal(Ty, VT)) in isTypeSupported()
622 if (isTypeLegal(Ty, VT)) in isLoadTypeLegal()
1092 if (!isTypeLegal(DstTy, DstVT)) in selectFPToInt()
1100 if (!isTypeLegal(SrcTy, SrcVT)) in selectFPToInt()
1510 if (!isTypeLegal(Val->getType(), VT) && in fastLowerCall()

1234