Home
last modified time | relevance | path

Searched refs:LegalTypes (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp93 bool LegalTypes; member in __anonbfbf49f20111::DAGCombiner
481 OptLevel(OL), LegalOperations(false), LegalTypes(false), AA(A) { in DAGCombiner()
497 return LegalTypes ? TLI.getScalarShiftAmountTy(DL, LHSTy) in getShiftAmountTy()
504 if (!LegalTypes) return true; in isTypeLegal()
917 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits()
1247 LegalTypes = Level >= AfterLegalizeTypes; in Run()
1844 bool LegalTypes) { in tryFoldToZero() argument
1870 return tryFoldToZero(SDLoc(N), TLI, VT, DAG, LegalOperations, LegalTypes); in visitSUB()
2726 (!LegalTypes || TLI.isTypeDesirableForOp(N->getOpcode(), Op0VT))) || in SimplifyBinOpWithSameOpcodeHands()
2811 if (!LegalTypes) in SimplifyBinOpWithSameOpcodeHands()
[all …]
DTargetLowering.cpp880 if (TLO.LegalTypes() && !ShiftAmtTy.isVector()) in SimplifyDemandedBits()
1055 if (TLO.LegalTypes() && in SimplifyDemandedBits()
1064 if (TLO.LegalTypes()) { in SimplifyDemandedBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp136 bool LegalTypes = false; member in __anoned4f2b140111::DAGCombiner
702 return TLI.getShiftAmountTy(LHSTy, DAG.getDataLayout(), LegalTypes); in getShiftAmountTy()
708 if (!LegalTypes) return true; in isTypeLegal()
1051 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits()
1075 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedVectorElts()
1406 LegalTypes = Level >= AfterLegalizeTypes; in Run()
4397 if (HandOpcode == ISD::ANY_EXTEND && LegalTypes && in hoistLogicOpWithSameOpcodeHands()
5355 if (LegalTypes) { in visitAND()
7311 if (!LegalTypes) in visitShiftByConstant()
7814 if (!LegalTypes && N0.getOpcode() == ISD::ADD && N0.hasOneUse() && N1C && in visitSRA()
[all …]
DTargetLowering.cpp1613 if (TLO.LegalTypes() && !ShiftAmtTy.isVector()) in SimplifyDemandedBits()
1808 if (TLO.LegalTypes() && !isTypeDesirableForOp(ISD::SRL, VT)) in SimplifyDemandedBits()
1827 if (TLO.LegalTypes()) in SimplifyDemandedBits()
DSelectionDAG.cpp1334 const SDLoc &DL, bool LegalTypes) { in getShiftAmountConstant() argument
1335 EVT ShiftVT = TLI->getShiftAmountTy(VT, getDataLayout(), LegalTypes); in getShiftAmountConstant()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp150 bool LegalTypes = false; member in __anonb487e2000111::DAGCombiner
327 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits()
778 return TLI.getShiftAmountTy(LHSTy, DAG.getDataLayout(), LegalTypes); in getShiftAmountTy()
784 if (!LegalTypes) return true; in isTypeLegal()
1171 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits()
1190 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedVectorElts()
1518 LegalTypes = Level >= AfterLegalizeTypes; in Run()
4670 if (HandOpcode == ISD::ANY_EXTEND && LegalTypes && in hoistLogicOpWithSameOpcodeHands()
5689 if (LegalTypes) { in visitAND()
7869 if (!LegalTypes) in visitShiftByConstant()
[all …]
DTargetLowering.cpp1785 if (TLO.LegalTypes() && !ShiftAmtTy.isVector()) in SimplifyDemandedBits()
1994 if (TLO.LegalTypes() && !isTypeDesirableForOp(ISD::SRL, VT)) in SimplifyDemandedBits()
2013 if (TLO.LegalTypes()) in SimplifyDemandedBits()
DSelectionDAG.cpp1391 const SDLoc &DL, bool LegalTypes) { in getShiftAmountConstant() argument
1393 EVT ShiftVT = TLI->getShiftAmountTy(VT, getDataLayout(), LegalTypes); in getShiftAmountConstant()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp776 bool LegalTypes) const { in getShiftAmountTy()
780 return LegalTypes ? getScalarShiftAmountTy(DL, LHSTy) in getShiftAmountTy()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp758 const TypeSetByHwMode::SetType &LegalTypes = Legal.get(DefaultMode); in expandOverloads() local
761 expandOverloads(I.second, LegalTypes); in expandOverloads()
821 TypeSetByHwMode::SetType &LegalTypes = LegalCache.getOrCreate(DefaultMode); in getLegalTypes() local
825 LegalTypes.insert(I.second); in getLegalTypes()
/external/llvm-project/llvm/lib/CodeGen/
DTargetLoweringBase.cpp899 bool LegalTypes) const { in getShiftAmountTy()
903 return LegalTypes ? getScalarShiftAmountTy(DL, LHSTy) in getShiftAmountTy()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h278 bool LegalTypes = true) const;
3077 bool LegalTypes() const { return LegalTys; } in LegalTypes() function
DSelectionDAG.h602 bool LegalTypes = true);
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLowering.h376 bool LegalTypes = true) const;
3257 bool LegalTypes() const { return LegalTys; } in LegalTypes() function
DSelectionDAG.h640 bool LegalTypes = true);
/external/llvm/include/llvm/Target/
DTargetLowering.h2265 bool LegalTypes() const { return LegalTys; } in LegalTypes() function
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp82 ArrayRef<MVT::SimpleValueType> LegalTypes = in FillWithPossibleTypes() local
88 for (MVT::SimpleValueType VT : LegalTypes) in FillWithPossibleTypes()