Home
last modified time | relevance | path

Searched refs:LegalTypes (Results 1 – 8 of 8) 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/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/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()