Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp121 bool LegalTypes = false; member in __anon3082002a0111::DAGCombiner
591 return TLI.getShiftAmountTy(LHSTy, DAG.getDataLayout(), LegalTypes); in getShiftAmountTy()
597 if (!LegalTypes) return true; in isTypeLegal()
1043 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits()
1066 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedVectorElts()
1397 LegalTypes = Level >= AfterLegalizeTypes; in Run()
2543 bool LegalTypes) { in tryFoldToZero() argument
2570 return tryFoldToZero(DL, TLI, VT, DAG, LegalOperations, LegalTypes); in visitSUB()
3692 (!LegalTypes || TLI.isTypeDesirableForOp(N->getOpcode(), Op0VT))) || in SimplifyBinOpWithSameOpcodeHands()
3777 if (!LegalTypes) in SimplifyBinOpWithSameOpcodeHands()
[all …]
DTargetLowering.cpp998 if (TLO.LegalTypes() && !ShiftAmtTy.isVector()) in SimplifyDemandedBits()
1132 if (TLO.LegalTypes() && !isTypeDesirableForOp(ISD::SRL, VT)) in SimplifyDemandedBits()
1140 if (TLO.LegalTypes()) { in SimplifyDemandedBits()
/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/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp64 bool LegalTypes; member in __anond4371d1e0111::DAGCombiner
283 OptLevel(OL), LegalOperations(false), LegalTypes(false), AA(A) {} in DAGCombiner()
293 return LegalTypes ? TLI.getShiftAmountTy(LHSTy) : TLI.getPointerTy(); in getShiftAmountTy()
299 if (!LegalTypes) return true; in isTypeLegal()
644 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits()
948 LegalTypes = Level >= NoIllegalTypes; in Run()
1129 DagCombineInfo(DAG, !LegalTypes, !LegalOperations, false, this); in combine()
2223 (!LegalTypes || TLI.isTypeDesirableForOp(N->getOpcode(), Op0VT))) || in SimplifyBinOpWithSameOpcodeHands()
3585 if (!LegalTypes || TLI.isTypeDesirableForOp(ISD::SRL, SmallVT)) { in visitSRL()
4888 if (!LegalTypes || TLI.isTypeDesirableForOp(N0.getOpcode(), VT)) { in visitTRUNCATE()
[all …]
DTargetLowering.cpp1732 if (TLO.LegalTypes() && in SimplifyDemandedBits()
1741 if (TLO.LegalTypes()) { in SimplifyDemandedBits()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenDAGPatterns.cpp76 const std::vector<MVT::SimpleValueType> &LegalTypes = in FillWithPossibleTypes() local
79 for (unsigned i = 0, e = LegalTypes.size(); i != e; ++i) in FillWithPossibleTypes()
80 if (Pred == 0 || Pred(LegalTypes[i])) in FillWithPossibleTypes()
81 TypeVec.push_back(LegalTypes[i]); in FillWithPossibleTypes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp696 bool LegalTypes) const { in getShiftAmountTy()
700 return LegalTypes ? getScalarShiftAmountTy(DL, LHSTy) in getShiftAmountTy()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h258 bool LegalTypes = true) const;
2746 bool LegalTypes() const { return LegalTys; } in LegalTypes() function
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLowering.h829 bool LegalTypes() const { return LegalTys; } in LegalTypes() function
/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()