Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp92 bool LegalTypes; member in __anonbfbf49f20111::DAGCombiner
408 OptLevel(OL), LegalOperations(false), LegalTypes(false), AA(A) { in DAGCombiner()
425 return LegalTypes ? TLI.getScalarShiftAmountTy(LHSTy) in getShiftAmountTy()
432 if (!LegalTypes) return true; in isTypeLegal()
868 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits()
1194 LegalTypes = Level >= AfterLegalizeTypes; in Run()
1812 bool LegalOperations, bool LegalTypes) { in tryFoldToZero() argument
1838 return tryFoldToZero(SDLoc(N), TLI, VT, DAG, LegalOperations, LegalTypes); in visitSUB()
2568 (!LegalTypes || TLI.isTypeDesirableForOp(N->getOpcode(), Op0VT))) || in SimplifyBinOpWithSameOpcodeHands()
2653 if (!LegalTypes) in SimplifyBinOpWithSameOpcodeHands()
[all …]
DTargetLowering.cpp811 if (TLO.LegalTypes() && !ShiftAmtTy.isVector()) in SimplifyDemandedBits()
985 if (TLO.LegalTypes() && in SimplifyDemandedBits()
994 if (TLO.LegalTypes()) { in SimplifyDemandedBits()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp81 ArrayRef<MVT::SimpleValueType> LegalTypes = in FillWithPossibleTypes() local
87 for (unsigned i = 0, e = LegalTypes.size(); i != e; ++i) in FillWithPossibleTypes()
88 if (!Pred || Pred(LegalTypes[i])) in FillWithPossibleTypes()
89 TypeVec.push_back(LegalTypes[i]); in FillWithPossibleTypes()
/external/llvm/include/llvm/Target/
DTargetLowering.h2059 bool LegalTypes() const { return LegalTys; } in LegalTypes() function